Class: Google::Apis::PhotoslibraryV1::ListSharedAlbumsResponse

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

[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

Returns:

  • (String)


597
598
599
# File 'generated/google/apis/photoslibrary_v1/classes.rb', line 597

def next_page_token
  @next_page_token
end

#shared_albumsArray<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