Class: Google::Apis::PhotoslibraryV1::ShareAlbumRequest

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

Overview

Request to make an album shared in Google Photos.

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) ⇒ ShareAlbumRequest

Returns a new instance of ShareAlbumRequest



1085
1086
1087
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1085

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

Instance Attribute Details

#shared_album_optionsGoogle::Apis::PhotoslibraryV1::SharedAlbumOptions

Options that control the sharing of an album. Corresponds to the JSON property sharedAlbumOptions



1083
1084
1085
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1083

def shared_album_options
  @shared_album_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1090
1091
1092
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 1090

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