Class: Google::Apis::PeopleV1::Source
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PeopleV1::Source
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
 generated/google/apis/people_v1/representations.rb,
 generated/google/apis/people_v1/representations.rb
Overview
The source of a field.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Only populated in person.metadata.sources. The HTTP entity tag of the source.
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique identifier within the source type generated by the server. 
- 
  
    
      #profile_metadata  ⇒ Google::Apis::PeopleV1::ProfileMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The read-only metadata about a profile. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The source type. 
- 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Only populated in person.metadata.sources. Last update timestamp of this source.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Source 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Source. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source
| 2014 2015 2016 | # File 'generated/google/apis/people_v1/classes.rb', line 2014 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
Only populated in person.metadata.sources.
The HTTP entity tag of the
source. Used for web cache validation.
Corresponds to the JSON property etag
| 1991 1992 1993 | # File 'generated/google/apis/people_v1/classes.rb', line 1991 def etag @etag end | 
#id ⇒ String
The unique identifier within the source type generated by the server.
Corresponds to the JSON property id
| 1996 1997 1998 | # File 'generated/google/apis/people_v1/classes.rb', line 1996 def id @id end | 
#profile_metadata ⇒ Google::Apis::PeopleV1::ProfileMetadata
The read-only metadata about a profile.
Corresponds to the JSON property profileMetadata
| 2001 2002 2003 | # File 'generated/google/apis/people_v1/classes.rb', line 2001 def @profile_metadata end | 
#type ⇒ String
The source type.
Corresponds to the JSON property type
| 2006 2007 2008 | # File 'generated/google/apis/people_v1/classes.rb', line 2006 def type @type end | 
#update_time ⇒ String
Only populated in person.metadata.sources.
Last update timestamp of this source.
Corresponds to the JSON property updateTime
| 2012 2013 2014 | # File 'generated/google/apis/people_v1/classes.rb', line 2012 def update_time @update_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2019 2020 2021 2022 2023 2024 2025 | # File 'generated/google/apis/people_v1/classes.rb', line 2019 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 |