Class: Google::Apis::PhotoslibraryV1::EnrichmentItem
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PhotoslibraryV1::EnrichmentItem
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
 generated/google/apis/photoslibrary_v1/representations.rb,
 generated/google/apis/photoslibrary_v1/representations.rb
Overview
An enrichment item.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifier of the enrichment item. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EnrichmentItem 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EnrichmentItem. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnrichmentItem
Returns a new instance of EnrichmentItem
| 431 432 433 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 431 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
Identifier of the enrichment item.
Corresponds to the JSON property id
| 429 430 431 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 429 def id @id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 436 437 438 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 436 def update!(**args) @id = args[:id] if args.key?(:id) end |