Class: Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse
- 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 batch get of Photos.
Instance Attribute Summary collapse
-
#results ⇒ Array<Google::Apis::StreetviewpublishV1::PhotoResponse>
List of results for each individual Photo requested, in the same order as the requests in BatchGetPhotos.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetPhotosResponse
constructor
A new instance of BatchGetPhotosResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchGetPhotosResponse
Returns a new instance of BatchGetPhotosResponse.
74 75 76 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 74 def initialize(**args) update!(**args) end |
Instance Attribute Details
#results ⇒ Array<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
72 73 74 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 72 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
79 80 81 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 79 def update!(**args) @results = args[:results] if args.key?(:results) end |