Class: Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse

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 batch get of Photos.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchGetPhotosResponse

Returns a new instance of BatchGetPhotosResponse



79
80
81
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 79

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

Instance Attribute Details

#resultsArray<Google::Apis::StreetviewpublishV1::PhotoResponse>

List of results for each individual Photo requested, in the same order as the requests in BatchGetPhotos. Corresponds to the JSON property results



77
78
79
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 77

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 84

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