Class: Google::Apis::VisionV1::ProductSetPurgeConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vision_v1/classes.rb,
lib/google/apis/vision_v1/representations.rb,
lib/google/apis/vision_v1/representations.rb

Overview

Config to control which ProductSet contains the Products to be deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductSetPurgeConfig

Returns a new instance of ProductSetPurgeConfig.



9675
9676
9677
# File 'lib/google/apis/vision_v1/classes.rb', line 9675

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#product_set_idString

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

Returns:

  • (String)


9673
9674
9675
# File 'lib/google/apis/vision_v1/classes.rb', line 9673

def product_set_id
  @product_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9680
9681
9682
# File 'lib/google/apis/vision_v1/classes.rb', line 9680

def update!(**args)
  @product_set_id = args[:product_set_id] if args.key?(:product_set_id)
end