1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/artifacts/versions/help
2022-03-01 04:29:52 +00:00

46 lines
1.3 KiB
Text

NAME
gcloud alpha artifacts versions - manage Artifact Registry package versions
SYNOPSIS
gcloud alpha artifacts versions COMMAND [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To list all versions for a package when the artifacts/repository and
artifacts/location properties are set to a repository in the current
project, run:
$ gcloud alpha artifacts versions list --package=my-pkg
To delete version 1.0.0 under package my-pkg, run:
$ gcloud alpha artifacts versions delete 1.0.0 --package=my-pkg
To delete version 1.0.0 under package my-pkg with its tags, run:
$ gcloud alpha artifacts versions delete 1.0.0 --package=my-pkg \
--delete-tags
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
delete
(ALPHA) Delete an Artifact Registry package version.
list
(ALPHA) List Artifact Registry package versions.
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. These variants are also available:
$ gcloud artifacts versions
$ gcloud beta artifacts versions