Class: Google::Apis::PhotoslibraryV1::AddEnrichmentToAlbumResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddEnrichmentToAlbumResponse

Returns a new instance of AddEnrichmentToAlbumResponse



60
61
62
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 60

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enrichment_itemGoogle::Apis::PhotoslibraryV1::EnrichmentItem

An enrichment item. Corresponds to the JSON property enrichmentItem



58
59
60
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 58

def enrichment_item
  @enrichment_item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



65
66
67
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 65

def update!(**args)
  @enrichment_item = args[:enrichment_item] if args.key?(:enrichment_item)
end