Class: Google::Apis::StreetviewpublishV1::ListPhotosResponse
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::ListPhotosResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/streetviewpublish_v1/classes.rb,
lib/google/apis/streetviewpublish_v1/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ ListPhotosResponse
Returns a new instance of ListPhotosResponse.
329 330 331 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 329 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
321 322 323 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 321 def next_page_token @next_page_token end |
#photos ⇒ Array<Google::Apis::StreetviewpublishV1::Photo>
List of photos. The pageSize field in the request determines the number of
items returned.
Corresponds to the JSON property photos
327 328 329 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 327 def photos @photos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
334 335 336 337 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 334 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @photos = args[:photos] if args.key?(:photos) end |