class Google::Apis::PeopleV1::PersonMetadata

The metadata about a person.

Attributes

deleted[RW]

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]

deleted?[RW]

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]

linked_people_resource_names[RW]

Output only. Resource names of people linked to this resource. Corresponds to the JSON property `linkedPeopleResourceNames` @return [Array<String>]

object_type[RW]

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]

previous_resource_names[RW]

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>]

sources[RW]

The sources of data for the person. Corresponds to the JSON property `sources` @return [Array<Google::Apis::PeopleV1::Source>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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