Class: Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest

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

Request to update the metadata of photos. Updating the pixels of photos is not supported.

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) ⇒ BatchUpdatePhotosRequest

Returns a new instance of BatchUpdatePhotosRequest



100
101
102
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 100

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

Instance Attribute Details

#update_photo_requestsArray<Google::Apis::StreetviewpublishV1::UpdatePhotoRequest>

Required. List of UpdatePhotoRequests. Corresponds to the JSON property updatePhotoRequests



98
99
100
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 98

def update_photo_requests
  @update_photo_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



105
106
107
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 105

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