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.



371
372
373
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 371

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)


358
359
360
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 358

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



369
370
371
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 369

def photo_sequences
  @photo_sequences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 376

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