NAME

gcloud beta artifacts repositories - manage Artifact Registry repositories

SYNOPSIS

gcloud beta artifacts repositories COMMAND [GCLOUD_WIDE_FLAG ...]

EXAMPLES

To create a repository with the name my-repo, run:

$ gcloud beta artifacts repositories create my-repo

To delete a repository with the name my-repo, run:

$ gcloud beta artifacts repositories delete my-repo

To describe a repository with the name my-repo, run:

$ gcloud beta artifacts repositories describe my-repo

To list all Artifact Registry repositories, run:

$ gcloud beta artifacts repositories list

To set an IAM policy for repository my-repo, run:

$ gcloud beta artifacts repositories set-iam-policy my-repo \ policy.json

To get an IAM policy for repository my-repo, run:

$ gcloud beta artifacts repositories get-iam-policy my-repo

To add an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on repository my-repo, run:

$ gcloud beta artifacts repositories add-iam-policy-binding \ my-repo --member='user:test-user@gmail.com' \ --role='roles/editor'

To remove an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on repository my-repo, run:

$ gcloud beta artifacts repositories remove-iam-policy-binding \ my-repo --member='user:test-user@gmail.com' \ --role='roles/editor'

GCLOUD WIDE FLAGS

These flags are available to all commands: --help.

Run $ gcloud help for details.

COMMANDS

COMMAND is one of the following:

add-iam-policy-binding

(BETA) Add an IAM policy binding to the IAM policy of an Artifact Registry repository.

create

(BETA) Create an Artifact Registry repository.

delete

(BETA) Delete an Artifact Registry repository.

describe

(BETA) Describe an Artifact Registry repository.

get-iam-policy

(BETA) Get IAM policy for an Artifact Registry repository.

list

(BETA) List repositories in the specified project.

remove-iam-policy-binding

(BETA) Remove an IAM policy binding from the IAM policy of an Artifact Registry repository.

set-iam-policy

(BETA) Set the IAM policy for an Artifact Registry repository.

update

(BETA) Update an Artifact Registry repository.

NOTES

This command is currently in beta and might change without notice. These variants are also available:

$ gcloud artifacts repositories

$ gcloud alpha artifacts repositories