Class PurgeProductsRequest (2.8.0)

PurgeProductsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the PurgeProducts method.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
product_set_purge_config google.cloud.vision_v1p4beta1.types.ProductSetPurgeConfig
Specify which ProductSet contains the Products to be deleted. This field is a member of oneof_ target.
delete_orphan_products bool
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted. This field is a member of oneof_ target.
parent str
Required. The project and location in which the Products should be deleted. Format is projects/PROJECT_ID/locations/LOC_ID.
force bool
The default value is false. Override this value to true to actually perform the purge.