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

Inherits:
Object
  • Object
show all
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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdatePhotosRequest

Returns a new instance of BatchUpdatePhotosRequest.



94
95
96
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 94

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



92
93
94
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 92

def update_photo_requests
  @update_photo_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



99
100
101
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 99

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