Class: Google::Apis::StreetviewpublishV1::BatchDeletePhotosRequest

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 delete multiple Photos.

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

Returns:

  • (Array<String>)


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