Class: Google::Apis::PhotoslibraryV1::ListAlbumsResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PhotoslibraryV1::ListAlbumsResponse
 
- 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
- 
  
    
      #albums  ⇒ Array<Google::Apis::PhotoslibraryV1::Album> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output only] List of albums that were created by the user. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output only] Token to use to get the next set of albums. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListAlbumsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListAlbumsResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAlbumsResponse
Returns a new instance of ListAlbumsResponse
| 578 579 580 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 578 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#albums ⇒ Array<Google::Apis::PhotoslibraryV1::Album>
[Output only] List of albums that were created by the user.
Corresponds to the JSON property albums
| 570 571 572 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 570 def albums @albums end | 
#next_page_token ⇒ String
[Output only] Token to use to get the next set of albums. Populated if
there are more albums to retrieve for this request.
Corresponds to the JSON property nextPageToken
| 576 577 578 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 576 def next_page_token @next_page_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 583 584 585 586 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 583 def update!(**args) @albums = args[:albums] if args.key?(:albums) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |