Class: Google::Apis::StreetviewpublishV1::ListPhotosResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::StreetviewpublishV1::ListPhotosResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/streetviewpublish_v1/classes.rb,
 generated/google/apis/streetviewpublish_v1/representations.rb,
 generated/google/apis/streetviewpublish_v1/representations.rb
Overview
Response to list all photos that belong to a user.
Instance Attribute Summary collapse
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token to retrieve the next page of results, or empty if there are no more results in the list. 
- 
  
    
      #photos  ⇒ Array<Google::Apis::StreetviewpublishV1::Photo> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of photos. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListPhotosResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListPhotosResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListPhotosResponse
Returns a new instance of ListPhotosResponse
| 245 246 247 | # File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 245 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
| 236 237 238 | # File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 236 def next_page_token @next_page_token end | 
#photos ⇒ Array<Google::Apis::StreetviewpublishV1::Photo>
List of photos. The maximum number of items returned is based on the
pageSize field
in the request.
Corresponds to the JSON property photos
| 243 244 245 | # File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 243 def photos @photos end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 250 251 252 253 | # File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 250 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @photos = args[:photos] if args.key?(:photos) end |