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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductSetPurgeConfig

Returns a new instance of ProductSetPurgeConfig.



9610
9611
9612
# File 'generated/google/apis/vision_v1/classes.rb', line 9610

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)


9608
9609
9610
# File 'generated/google/apis/vision_v1/classes.rb', line 9608

def product_set_id
  @product_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9615
9616
9617
# File 'generated/google/apis/vision_v1/classes.rb', line 9615

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