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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchDeletePhotosRequest
Returns a new instance of BatchDeletePhotosRequest
36 37 38 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 36 def initialize(**args) update!(**args) end |
Instance Attribute Details
#photo_ids ⇒ Array<String>
Required. IDs of the Photos. For HTTP
GET requests, the URL query parameter should be
photoIds=<id1>&photoIds=<id2>&...
.
Corresponds to the JSON property photoIds
34 35 36 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 34 def photo_ids @photo_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41 42 43 |
# File 'generated/google/apis/streetviewpublish_v1/classes.rb', line 41 def update!(**args) @photo_ids = args[:photo_ids] if args.key?(:photo_ids) end |