Class: Google::Apis::StreetviewpublishV1::ListPhotoSequencesResponse

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 photo sequences that belong to a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPhotoSequencesResponse

Returns a new instance of ListPhotoSequencesResponse.



302
303
304
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 302

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)


289
290
291
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 289

def next_page_token
  @next_page_token
end

#photo_sequencesArray<Google::Apis::StreetviewpublishV1::Operation>

List of photo sequences via Operation interface. The maximum number of items returned is based on the pageSize field in the request. Each item in the list can have three possible states, * Operation.done = false, if the processing of PhotoSequence is not finished yet. * Operation.done = true and Operation. error is populated, if there was an error in processing. * Operation.done = true and Operation.response contains a PhotoSequence message, In each sequence, only Id is populated. Corresponds to the JSON property photoSequences



300
301
302
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 300

def photo_sequences
  @photo_sequences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



307
308
309
310
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 307

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