Class: Google::Apis::PhotoslibraryV1::ListSharedAlbumsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PhotoslibraryV1::ListSharedAlbumsResponse
- 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
-
#next_page_token ⇒ String
[Output only] Token to use to get the next set of shared albums.
-
#shared_albums ⇒ Array<Google::Apis::PhotoslibraryV1::Album>
[Output only] List of shared albums that were requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSharedAlbumsResponse
constructor
A new instance of ListSharedAlbumsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListSharedAlbumsResponse
Returns a new instance of ListSharedAlbumsResponse
604 605 606 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
[Output only] Token to use to get the next set of shared albums. Populated
if there are more shared albums to retrieve for this request.
Corresponds to the JSON property nextPageToken
597 598 599 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 597 def next_page_token @next_page_token end |
#shared_albums ⇒ Array<Google::Apis::PhotoslibraryV1::Album>
[Output only] List of shared albums that were requested.
Corresponds to the JSON property sharedAlbums
602 603 604 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 602 def shared_albums @shared_albums end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
609 610 611 612 |
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 609 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @shared_albums = args[:shared_albums] if args.key?(:shared_albums) end |