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



122
123
124
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 122

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



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

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



127
128
129
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 127

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