class Google::Apis::PeopleV1::PersonResponse
The response for a single person
Attributes
[HTTP 1.1 status code](www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). Corresponds to the JSON property `httpStatusCode` @return [Fixnum]
Information about a person merged from various data sources such as the authenticated user's contacts and profile data. Fields other than IDs, metadata, and group memberships are user-edited. Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field with `metadata.primary` set to true. Corresponds to the JSON property `person` @return [Google::Apis::PeopleV1::Person]
The original requested resource name. May be different than the resource name on the returned person. The resource name can change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or a profile URL. Corresponds to the JSON property `requestedResourceName` @return [String]
Public Class Methods
# File generated/google/apis/people_v1/classes.rb, line 1477 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/people_v1/classes.rb, line 1482 def update!(**args) @http_status_code = args[:http_status_code] if args.key?(:http_status_code) @person = args[:person] if args.key?(:person) @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) end