Class: Google::Apis::VisionV1::ProductSetPurgeConfig
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1::ProductSetPurgeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1/classes.rb,
generated/google/apis/vision_v1/representations.rb,
generated/google/apis/vision_v1/representations.rb
Overview
Config to control which ProductSet contains the Products to be deleted.
Instance Attribute Summary collapse
-
#product_set_id ⇒ String
The ProductSet that contains the Products to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductSetPurgeConfig
constructor
A new instance of ProductSetPurgeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductSetPurgeConfig
Returns a new instance of ProductSetPurgeConfig
12360 12361 12362 |
# File 'generated/google/apis/vision_v1/classes.rb', line 12360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_set_id ⇒ String
The ProductSet that contains the Products to delete. If a Product is a
member of product_set_id in addition to other ProductSets, the Product will
still be deleted.
Corresponds to the JSON property productSetId
12358 12359 12360 |
# File 'generated/google/apis/vision_v1/classes.rb', line 12358 def product_set_id @product_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12365 12366 12367 |
# File 'generated/google/apis/vision_v1/classes.rb', line 12365 def update!(**args) @product_set_id = args[:product_set_id] if args.key?(:product_set_id) end |