Class: Google::Apis::StreetviewpublishV1::BatchDeletePhotosRequest
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::BatchDeletePhotosRequest
- 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 delete multiple Photos.
Instance Attribute Summary collapse
-
#photo_ids ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeletePhotosRequest
constructor
A new instance of BatchDeletePhotosRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchDeletePhotosRequest
Returns a new instance of BatchDeletePhotosRequest.
35 36 37 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#photo_ids ⇒ Array<String>
Required. IDs of the Photos. HTTP GET requests require the following syntax
for the URL query parameter: photoIds=&photoIds=&...
.
Corresponds to the JSON property photoIds
33 34 35 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 33 def photo_ids @photo_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 40 def update!(**args) @photo_ids = args[:photo_ids] if args.key?(:photo_ids) end |