- NAME
-
- gcloud artifacts rules - manage Artifact Registry rules
- SYNOPSIS
-
-
gcloud artifacts rulesCOMMAND[GCLOUD_WIDE_FLAG …]
-
- EXAMPLES
- To list all rules in the current project and
artifacts/repositoryandartifacts/locationproperties are set, run:gcloud artifacts rules listTo list rules under repository my-repo in the current project and location, run:
gcloud artifacts rules list --repository = my-repoTo delete rule
my-ruleunder repository my-repo in the current project and location, run:gcloud artifacts rules delete my-rule --repository = my-repo - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND
gcloud artifacts rules
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 2026-05-27 UTC.

