Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::PurgeProductsRequest.
Request message for the PurgeProducts method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delete_orphan_products
def delete_orphan_products() -> ::Boolean-
(::Boolean) — If delete_orphan_products is true, all Products that are not in any
ProductSet will be deleted.
Note: The following fields are mutually exclusive:
delete_orphan_products,product_set_purge_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#delete_orphan_products=
def delete_orphan_products=(value) -> ::Boolean-
value (::Boolean) — If delete_orphan_products is true, all Products that are not in any
ProductSet will be deleted.
Note: The following fields are mutually exclusive:
delete_orphan_products,product_set_purge_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — If delete_orphan_products is true, all Products that are not in any
ProductSet will be deleted.
Note: The following fields are mutually exclusive:
delete_orphan_products,product_set_purge_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#force
def force() -> ::Boolean- (::Boolean) — The default value is false. Override this value to true to actually perform the purge.
#force=
def force=(value) -> ::Boolean- value (::Boolean) — The default value is false. Override this value to true to actually perform the purge.
- (::Boolean) — The default value is false. Override this value to true to actually perform the purge.
#parent
def parent() -> ::String-
(::String) — Required. The project and location in which the Products should be deleted.
Format is
projects/PROJECT_ID/locations/LOC_ID.
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The project and location in which the Products should be deleted.
Format is
projects/PROJECT_ID/locations/LOC_ID.
-
(::String) — Required. The project and location in which the Products should be deleted.
Format is
projects/PROJECT_ID/locations/LOC_ID.
#product_set_purge_config
def product_set_purge_config() -> ::Google::Cloud::Vision::V1::ProductSetPurgeConfig-
(::Google::Cloud::Vision::V1::ProductSetPurgeConfig) — Specify which ProductSet contains the Products to be deleted.
Note: The following fields are mutually exclusive:
product_set_purge_config,delete_orphan_products. If a field in that set is populated, all other fields in the set will automatically be cleared.
#product_set_purge_config=
def product_set_purge_config=(value) -> ::Google::Cloud::Vision::V1::ProductSetPurgeConfig-
value (::Google::Cloud::Vision::V1::ProductSetPurgeConfig) — Specify which ProductSet contains the Products to be deleted.
Note: The following fields are mutually exclusive:
product_set_purge_config,delete_orphan_products. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Vision::V1::ProductSetPurgeConfig) — Specify which ProductSet contains the Products to be deleted.
Note: The following fields are mutually exclusive:
product_set_purge_config,delete_orphan_products. If a field in that set is populated, all other fields in the set will automatically be cleared.