class Google::Apis::PeopleV1::PersonMetadata
The metadata about a person.
Attributes
Output only. True if the person resource has been deleted. Populated only for ` people.connections.list` and `otherContacts.list` sync requests. Corresponds to the JSON property `deleted` @return [Boolean]
Output only. True if the person resource has been deleted. Populated only for ` people.connections.list` and `otherContacts.list` sync requests. Corresponds to the JSON property `deleted` @return [Boolean]
Output only. Resource names of people linked to this resource. Corresponds to the JSON property `linkedPeopleResourceNames` @return [Array<String>]
Output only. DEPRECATED (Please use `person.metadata.sources. profileMetadata.objectType` instead) The type of the person object. Corresponds to the JSON property `objectType` @return [String]
Output only. Any former resource names this person has had. Populated only for `people.connections.list` requests that include a sync token. The resource name may change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or profile URL. Corresponds to the JSON property `previousResourceNames` @return [Array<String>]
The sources of data for the person. Corresponds to the JSON property `sources` @return [Array<Google::Apis::PeopleV1::Source>]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 2198 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 2203 def update!(**args) @deleted = args[:deleted] if args.key?(:deleted) @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names) @object_type = args[:object_type] if args.key?(:object_type) @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) @sources = args[:sources] if args.key?(:sources) end