Class: Google::Apis::PhotoslibraryV1::JoinSharedAlbumRequest
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::JoinSharedAlbumRequest
- 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 join a shared album on behalf of the user. This uses a shareToken which can be acquired via the shareAlbum or listSharedAlbums calls.
Instance Attribute Summary collapse
-
#share_token ⇒ String
Token indicating the shared album to join on behalf of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JoinSharedAlbumRequest
constructor
A new instance of JoinSharedAlbumRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JoinSharedAlbumRequest
Returns a new instance of JoinSharedAlbumRequest
511 512 513 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 511 def initialize(**args) update!(**args) end |
Instance Attribute Details
#share_token ⇒ String
Token indicating the shared album to join on behalf of the user.
Corresponds to the JSON property shareToken
509 510 511 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 509 def share_token @share_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
516 517 518 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 516 def update!(**args) @share_token = args[:share_token] if args.key?(:share_token) end |