Class: Google::Apis::StreetviewpublishV1::ListPhotosResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPhotosResponse

Returns a new instance of ListPhotosResponse.



233
234
235
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 233

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 225

def next_page_token
  @next_page_token
end

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



231
232
233
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 231

def photos
  @photos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



238
239
240
241
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 238

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @photos = args[:photos] if args.key?(:photos)
end