NAME

gcloud alpha access-context-manager cloud-bindings update - update a existing cloud access binding under an organization

SYNOPSIS

gcloud alpha access-context-manager cloud-bindings update (--binding=BINDING : --organization=ORGANIZATION) [--dry-run-level=[DRY_RUN_LEVEL,...]] [--level=[LEVEL,...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) Update an existing cloud access binding. You can only update the level and dry run level. For level and dry run level, you can update one of these two or both. They can't be both empty after update.

EXAMPLES

To update an existing cloud access binding, run:

$ gcloud alpha access-context-manager cloud-bindings update \ --binding=my-binding-id \ --level=accessPolicies/123/accessLevels/new-abc

To update level to empty and add dry run level, run:

$ gcloud alpha access-context-manager cloud-bindings update \ --binding=my-binding-id --level= \ --dry-run-level=accessPolicies/123/accessLevels/new-def

REQUIRED FLAGS

Cloud access binding resource - The cloud access binding you want to update.

The arguments in this group can be used to specify the attributes of this resource.

This must be specified.

--binding=BINDING

ID of the cloud-access-binding or fully qualified identifier for the cloud-access-binding. To set the binding attribute:

  • provide the argument --binding on the command line.

This flag argument must be specified if any of the other arguments in this group are specified.

--organization=ORGANIZATION

The ID of the organization.

To set the organization attribute:

  • provide the argument --binding on the command line with a fully specified name;

  • provide the argument --organization on the command line;

  • set the property access_context_manager/organization.

OPTIONAL FLAGS

--dry-run-level=[DRY_RUN_LEVEL,...]

The dry run access level that will replace the dry run existing level for the given binding. The input must be the full identifier for access level, such as accessPolicies/123/accessLevels/new-def.

--level=[LEVEL,...]

The access level that will replace the existing level for the given binding. The input must be the full identifier for the access level, such as accessPolicies/123/accessLevels/new-abc.

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 accesscontextmanager/v1alpha API. The full documentation for this API can be found at: https://cloud.google.com/access-context-manager/docs/reference/rest/

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. This variant is also available:

$ gcloud access-context-manager cloud-bindings update