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.
10147 10148 10149 |
# File 'generated/google/apis/vision_v1/classes.rb', line 10147 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
10145 10146 10147 |
# File 'generated/google/apis/vision_v1/classes.rb', line 10145 def product_set_id @product_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10152 10153 10154 |
# File 'generated/google/apis/vision_v1/classes.rb', line 10152 def update!(**args) @product_set_id = args[:product_set_id] if args.key?(:product_set_id) end |