class Google::Apis::PlusV1::Person
Attributes
A short biography for this person. Corresponds to the JSON property `aboutMe` @return [String]
The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning. Corresponds to the JSON property `ageRange` @return [Google::Apis::PlusV1::Person::AgeRange]
The person's date of birth, represented as YYYY-MM-DD. Corresponds to the JSON property `birthday` @return [String]
The “bragging rights” line of this person. Corresponds to the JSON property `braggingRights` @return [String]
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]
The cover photo content. Corresponds to the JSON property `cover` @return [Google::Apis::PlusV1::Person::Cover]
(this field is not currently used) Corresponds to the JSON property `currentLocation` @return [String]
The name of this person, which is suitable for display. Corresponds to the JSON property `displayName` @return [String]
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]
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::PlusV1::Person::Email>]
ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
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]
The ID of this person. Corresponds to the JSON property `id` @return [String]
The representation of the person's profile photo. Corresponds to the JSON property `image` @return [Google::Apis::PlusV1::Person::Image]
Whether this user has signed up for Google+. Corresponds to the JSON property `isPlusUser` @return [Boolean]
Whether this user has signed up for Google+. Corresponds to the JSON property `isPlusUser` @return [Boolean]
Identifies this resource as a person. Value: “plus#person”. Corresponds to the JSON property `kind` @return [String]
The user's preferred language for rendering. Corresponds to the JSON property `language` @return [String]
An object representation of the individual components of a person's name. Corresponds to the JSON property `name` @return [Google::Apis::PlusV1::Person::Name]
The nickname of this person. Corresponds to the JSON property `nickname` @return [String]
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]
The occupation of this person. Corresponds to the JSON property `occupation` @return [String]
A list of current or past organizations with which this person is associated. Corresponds to the JSON property `organizations` @return [Array<Google::Apis::PlusV1::Person::Organization>]
A list of places where this person has lived. Corresponds to the JSON property `placesLived` @return [Array<Google::Apis::PlusV1::Person::PlacesLived>]
If a Google+ Page, the number of people who have +1'd this page. Corresponds to the JSON property `plusOneCount` @return [Fixnum]
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]
The person's skills. Corresponds to the JSON property `skills` @return [String]
The brief description (tagline) of this person. Corresponds to the JSON property `tagline` @return [String]
The URL of this person's profile. Corresponds to the JSON property `url` @return [String]
A list of URLs for this person. Corresponds to the JSON property `urls` @return [Array<Google::Apis::PlusV1::Person::Url>]
Whether the person or Google+ Page has been verified. Corresponds to the JSON property `verified` @return [Boolean]
Whether the person or Google+ Page has been verified. Corresponds to the JSON property `verified` @return [Boolean]
Public Class Methods
# File generated/google/apis/plus_v1/classes.rb, line 1562 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/plus_v1/classes.rb, line 1567 def update!(**args) @about_me = args[:about_me] if args.key?(:about_me) @age_range = args[:age_range] if args.key?(:age_range) @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) @language = args[:language] if args.key?(:language) @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