Class: Google::Apis::StreetviewpublishV1::BatchUpdatePhotosResponse

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 update of metadata of one or more 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) ⇒ BatchUpdatePhotosResponse

Returns a new instance of BatchUpdatePhotosResponse.


114
115
116
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 114

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

Instance Attribute Details

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

List of results for each individual Photo updated, in the same order as the request. Corresponds to the JSON property results


112
113
114
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 112

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


119
120
121
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 119

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