Class: Google::Apis::PhotoslibraryV1::AddEnrichmentToAlbumRequest
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::AddEnrichmentToAlbumRequest
- 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
Request to add an enrichment to a specific album at a specific position.
Instance Attribute Summary collapse
-
#album_position ⇒ Google::Apis::PhotoslibraryV1::AlbumPosition
Specifies a position in an album.
-
#new_enrichment_item ⇒ Google::Apis::PhotoslibraryV1::NewEnrichmentItem
A new enrichment item to be added to an album, used by the AddEnrichmentToAlbum call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddEnrichmentToAlbumRequest
constructor
A new instance of AddEnrichmentToAlbumRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddEnrichmentToAlbumRequest
Returns a new instance of AddEnrichmentToAlbumRequest
40 41 42 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 40 def initialize(**args) update!(**args) end |
Instance Attribute Details
#album_position ⇒ Google::Apis::PhotoslibraryV1::AlbumPosition
Specifies a position in an album.
Corresponds to the JSON property albumPosition
32 33 34 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 32 def album_position @album_position end |
#new_enrichment_item ⇒ Google::Apis::PhotoslibraryV1::NewEnrichmentItem
A new enrichment item to be added to an album, used by the
AddEnrichmentToAlbum call.
Corresponds to the JSON property newEnrichmentItem
38 39 40 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 38 def new_enrichment_item @new_enrichment_item end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45 46 47 48 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 45 def update!(**args) @album_position = args[:album_position] if args.key?(:album_position) @new_enrichment_item = args[:new_enrichment_item] if args.key?(:new_enrichment_item) end |