class Google::Apis::PeopleV1::Source
The source of a field.
Attributes
**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]
The unique identifier within the source type generated by the server. Corresponds to the JSON property `id` @return [String]
The metadata about a profile. Corresponds to the JSON property `profileMetadata` @return [Google::Apis::PeopleV1::ProfileMetadata]
The source type. Corresponds to the JSON property `type` @return [String]
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
# File lib/google/apis/people_v1/classes.rb, line 2687 def initialize(**args) update!(**args) end
Public Instance Methods
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