- NAME
-
- gcloud alpha ml vision product-search products delete-all - deletes all Products in a ProductSet or all Products that are in no ProductSet
- SYNOPSIS
-
-
gcloud alpha ml vision product-search products delete-all
LOCATION
(--orphan-products
|--product-set
=PRODUCT_SET
) [--force
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Deletes all Products in a ProductSet or all Products that are in no ProductSet. - EXAMPLES
-
To delete all products in no product sets in location 'us-east1' and project
'test-project', run:
gcloud alpha ml vision product-search products delete-all --orphan-products us-east1 --project=test-project
- POSITIONAL ARGUMENTS
-
-
Location resource - The location in which to delete the product set. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
project
attribute:-
provide the argument
location
on the command line with a fully specified name; -
provide the argument
--project
on the command line; -
set the property
core/project
.
This must be specified.
LOCATION
-
ID of the location or fully qualified identifier for the location.
To set the
location
attribute:-
provide the argument
location
on the command line.
-
provide the argument
-
provide the argument
-
Location resource - The location in which to delete the product set. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
- REQUIRED FLAGS
-
-
Exactly one of these must be specified:
--orphan-products
- Delete all Products that are in no ProductSet.
--product-set
=PRODUCT_SET
- Delete all Products that are in a ProductSet. Even if the Product is in multiple ProductSets, the Product is still deleted.
-
Exactly one of these must be specified:
- OPTIONAL FLAGS
-
--force
- If specified, user will not be prompted and all the products in specified set will be deleted. If not specified, user will be prompted to continue the delete.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - API REFERENCE
-
This command uses the
vision/v1
API. The full documentation for this API can be found at: https://cloud.google.com/vision/ - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-30 UTC.