1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed May 24 10:23:00 UTC 2023

This commit is contained in:
Automated 2023-05-24 10:23:00 +00:00
parent a56fab68e5
commit d0919dce4f
151 changed files with 3286 additions and 306 deletions

View file

@ -6,8 +6,8 @@ SYNOPSIS
gcloud beta artifacts docker upgrade COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) To print an equivalant Artifact Registry IAM policy for
'gcr.io/my-project' within scope projects/my-project:
(BETA) To print an equivalent Artifact Registry IAM policy for
'gcr.io/my-project':
$ gcloud beta artifacts docker upgrade print-iam-policy gcr.io \
--project=my-project

View file

@ -4,53 +4,30 @@ NAME
SYNOPSIS
gcloud beta artifacts docker upgrade print-iam-policy DOMAIN
[--folder=FOLDER_ID | --organization=ORGANIZATION_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Print an Artifact Registry IAM policy that is equivalent to the IAM
policy applied to the storage bucket for the specified Container Registry
hostname. Apply the returned policy to the Artifact Registry repository
that will replace the specified host. By default, this command only
considers IAM policies within the project-level scope, so policies that are
at the folder or organization level will not be included in the generated
policy. To change the scope, use the --organization or --folder flags.
that will replace the specified host. If the project has an organization,
this command analyzes IAM policies at the organization level. Otherwise,
this command analyzes IAM policies at the project level. See required
permissions at
https://cloud.google.com/policy-intelligence/docs/analyze-iam-policies#required-permissions.
EXAMPLES
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope projects/my-project:
To print an equivalent Artifact Registry IAM policy for
'gcr.io/my-project':
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope folders/123:
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project --folder=123
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope organizations/123:
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project --organization=123
POSITIONAL ARGUMENTS
DOMAIN
A Container Registry domain. Valid values are: [gcr.io, asia.gcr.io,
eu.gcr.io, us.gcr.io]
FLAGS
At most one of these can be specified:
--folder=FOLDER_ID
Folder ID on which to scope IAM analysis. Only policies defined at or
below this folder will be included in the analysis.
--organization=ORGANIZATION_ID
Organization ID on which to scope IAM analysis. Only policies defined
at or below this organization will be included in the analysis.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -7,8 +7,7 @@ SYNOPSIS
(REPOSITORY : --location=LOCATION)
--repository-format=REPOSITORY_FORMAT [--allow-snapshot-overwrites]
[--async] [--description=DESCRIPTION] [--kms-key=KMS_KEY]
[--labels=[KEY=VALUE,...]]
[--version-policy=VERSION_POLICY; default="NONE"]
[--labels=[KEY=VALUE,...]] [--version-policy=VERSION_POLICY]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -112,7 +111,7 @@ OPTIONAL FLAGS
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
--version-policy=VERSION_POLICY; default="NONE"
--version-policy=VERSION_POLICY
(Maven only) The package versions that the repository will store.
VERSION_POLICY must be one of: