Class: Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest
- 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
-
#initialize(**args) ⇒ BatchUpdatePhotosRequest
constructor
A new instance of BatchUpdatePhotosRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_requests ⇒ Array<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 |