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

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

Returns:

  • (Array<String>)


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