class Google::Apis::VisionV1::PurgeProductsRequest
Request message for the `PurgeProducts` method.
Attributes
If delete_orphan_products
is true, all Products that are not in any ProductSet
will be deleted. Corresponds to the JSON property `deleteOrphanProducts` @return [Boolean]
If delete_orphan_products
is true, all Products that are not in any ProductSet
will be deleted. Corresponds to the JSON property `deleteOrphanProducts` @return [Boolean]
The default value is false. Override this value to true to actually perform the purge. Corresponds to the JSON property `force` @return [Boolean]
The default value is false. Override this value to true to actually perform the purge. Corresponds to the JSON property `force` @return [Boolean]
Config to control which ProductSet
contains the Products to be deleted. Corresponds to the JSON property `productSetPurgeConfig` @return [Google::Apis::VisionV1::ProductSetPurgeConfig]
Public Class Methods
# File lib/google/apis/vision_v1/classes.rb, line 9680 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 9685 def update!(**args) @delete_orphan_products = args[:delete_orphan_products] if args.key?(:delete_orphan_products) @force = args[:force] if args.key?(:force) @product_set_purge_config = args[:product_set_purge_config] if args.key?(:product_set_purge_config) end