class Google::Apis::PeopleV1::PersonResponse
The response for a single person
Attributes
DEPRECATED (Please use status instead) [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. 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]
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `status` @return [Google::Apis::PeopleV1::Status]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 2248 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 2253 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) @status = args[:status] if args.key?(:status) end