class Google::Apis::PeopleV1::Source

The source of a field.

Attributes

etag[RW]

**Only populated in `person.metadata.sources`.** The [HTTP entity tag](https:// en.wikipedia.org/wiki/HTTP_ETag) of the source. Used for web cache validation. Corresponds to the JSON property `etag` @return [String]

id[RW]

The unique identifier within the source type generated by the server. Corresponds to the JSON property `id` @return [String]

profile_metadata[RW]

The metadata about a profile. Corresponds to the JSON property `profileMetadata` @return [Google::Apis::PeopleV1::ProfileMetadata]

type[RW]

The source type. Corresponds to the JSON property `type` @return [String]

update_time[RW]

Output only. **Only populated in `person.metadata.sources`.** Last update timestamp of this source. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 2687
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 2692
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
end