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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPhotosResponse

Returns a new instance of ListPhotosResponse.



400
401
402
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 400

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)


392
393
394
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 392

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



398
399
400
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 398

def photos
  @photos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



405
406
407
408
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 405

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