class Google::Apis::PlusDomainsV1::Person

Attributes

about_me[RW]

A short biography for this person. Corresponds to the JSON property `aboutMe` @return [String]

birthday[RW]

The person's date of birth, represented as YYYY-MM-DD. Corresponds to the JSON property `birthday` @return [String]

bragging_rights[RW]

The “bragging rights” line of this person. Corresponds to the JSON property `braggingRights` @return [String]

circled_by_count[RW]

For followers who are visible, the number of people who have added this person or page to a circle. Corresponds to the JSON property `circledByCount` @return [Fixnum]

cover[RW]

The cover photo content. Corresponds to the JSON property `cover` @return [Google::Apis::PlusDomainsV1::Person::Cover]

current_location[RW]

(this field is not currently used) Corresponds to the JSON property `currentLocation` @return [String]

display_name[RW]

The name of this person, which is suitable for display. Corresponds to the JSON property `displayName` @return [String]

domain[RW]

The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name. Corresponds to the JSON property `domain` @return [String]

emails[RW]

A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address. Corresponds to the JSON property `emails` @return [Array<Google::Apis::PlusDomainsV1::Person::Email>]

etag[RW]

ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]

gender[RW]

The person's gender. Possible values include, but are not limited to, the following values:

  • “male” - Male gender.

  • “female” - Female gender.

  • “other” - Other.

Corresponds to the JSON property `gender` @return [String]

id[RW]

The ID of this person. Corresponds to the JSON property `id` @return [String]

image[RW]

The representation of the person's profile photo. Corresponds to the JSON property `image` @return [Google::Apis::PlusDomainsV1::Person::Image]

is_plus_user[RW]

Whether this user has signed up for Google+. Corresponds to the JSON property `isPlusUser` @return [Boolean]

is_plus_user?[RW]

Whether this user has signed up for Google+. Corresponds to the JSON property `isPlusUser` @return [Boolean]

kind[RW]

Identifies this resource as a person. Value: “plus#person”. Corresponds to the JSON property `kind` @return [String]

name[RW]

An object representation of the individual components of a person's name. Corresponds to the JSON property `name` @return [Google::Apis::PlusDomainsV1::Person::Name]

nickname[RW]

The nickname of this person. Corresponds to the JSON property `nickname` @return [String]

object_type[RW]

Type of person within Google+. Possible values include, but are not limited to, the following values:

  • “person” - represents an actual person.

  • “page” - represents a page.

Corresponds to the JSON property `objectType` @return [String]

occupation[RW]

The occupation of this person. Corresponds to the JSON property `occupation` @return [String]

organizations[RW]

A list of current or past organizations with which this person is associated. Corresponds to the JSON property `organizations` @return [Array<Google::Apis::PlusDomainsV1::Person::Organization>]

places_lived[RW]

A list of places where this person has lived. Corresponds to the JSON property `placesLived` @return [Array<Google::Apis::PlusDomainsV1::Person::PlacesLived>]

plus_one_count[RW]

If a Google+ Page, the number of people who have +1'd this page. Corresponds to the JSON property `plusOneCount` @return [Fixnum]

relationship_status[RW]

The person's relationship status. Possible values include, but are not limited to, the following values:

  • “single” - Person is single.

  • “in_a_relationship” - Person is in a relationship.

  • “engaged” - Person is engaged.

  • “married” - Person is married.

  • “its_complicated” - The relationship is complicated.

  • “open_relationship” - Person is in an open relationship.

  • “widowed” - Person is widowed.

  • “in_domestic_partnership” - Person is in a domestic partnership.

  • “in_civil_union” - Person is in a civil union.

Corresponds to the JSON property `relationshipStatus` @return [String]

skills[RW]

The person's skills. Corresponds to the JSON property `skills` @return [String]

tagline[RW]

The brief description (tagline) of this person. Corresponds to the JSON property `tagline` @return [String]

url[RW]

The URL of this person's profile. Corresponds to the JSON property `url` @return [String]

urls[RW]

A list of URLs for this person. Corresponds to the JSON property `urls` @return [Array<Google::Apis::PlusDomainsV1::Person::Url>]

verified[RW]

Whether the person or Google+ Page has been verified. Corresponds to the JSON property `verified` @return [Boolean]

verified?[RW]

Whether the person or Google+ Page has been verified. Corresponds to the JSON property `verified` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_domains_v1/classes.rb, line 2075
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_domains_v1/classes.rb, line 2080
def update!(**args)
  @about_me = args[:about_me] if args.key?(:about_me)
  @birthday = args[:birthday] if args.key?(:birthday)
  @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
  @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
  @cover = args[:cover] if args.key?(:cover)
  @current_location = args[:current_location] if args.key?(:current_location)
  @display_name = args[:display_name] if args.key?(:display_name)
  @domain = args[:domain] if args.key?(:domain)
  @emails = args[:emails] if args.key?(:emails)
  @etag = args[:etag] if args.key?(:etag)
  @gender = args[:gender] if args.key?(:gender)
  @id = args[:id] if args.key?(:id)
  @image = args[:image] if args.key?(:image)
  @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @nickname = args[:nickname] if args.key?(:nickname)
  @object_type = args[:object_type] if args.key?(:object_type)
  @occupation = args[:occupation] if args.key?(:occupation)
  @organizations = args[:organizations] if args.key?(:organizations)
  @places_lived = args[:places_lived] if args.key?(:places_lived)
  @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
  @relationship_status = args[:relationship_status] if args.key?(:relationship_status)
  @skills = args[:skills] if args.key?(:skills)
  @tagline = args[:tagline] if args.key?(:tagline)
  @url = args[:url] if args.key?(:url)
  @urls = args[:urls] if args.key?(:urls)
  @verified = args[:verified] if args.key?(:verified)
end