gcloud alpha access-context-manager authorized-orgs update - update the organizations for an existing authorized organizations description
gcloud alpha access-context-manager authorized-orgs update (AUTHORIZED_ORGS_DESC : --policy=POLICY) [--add-orgs=[ORGS,...] | --clear-orgs | --remove-orgs=[ORGS,...] | --set-orgs=[ORGS,...]] [GCLOUD_WIDE_FLAG ...]
(ALPHA) This command updates an authorized organizations description.
To update the organizations for an authorized organizations description:
$ gcloud alpha access-context-manager authorized-orgs update \ my-authorized-orgs \ --add-orgs="organizations/123,organizations/456"
- Authorized orgs desc resource - The authorized orgs desc to update. The
arguments in this group can be used to specify the attributes of this resource.
This must be specified.
- AUTHORIZED_ORGS_DESC
ID of the authorized_orgs_desc or fully qualified identifier for the authorized_orgs_desc. To set the authorized_orgs_desc attribute:
provide the argument authorized_orgs_desc on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --policy=POLICY
The ID of the access policy. To set the policy attribute:
provide the argument authorized_orgs_desc on the command line with a fully specified name;
provide the argument --policy on the command line;
set the property access_context_manager/policy.
- These flags modify the member orgs of this authorized_orgs_desc. Orgs must be
organizations, in the form organizations/<organizationsnumber>.
At most one of these can be specified:
- --add-orgs=[ORGS,...]
Append the given values to the current orgs.
- --clear-orgs
Empty the current orgs.
- --remove-orgs=[ORGS,...]
Remove the given values from the current orgs.
- --set-orgs=[ORGS,...]
Completely replace the current orgs with the given values.
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.
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 authorized-orgs update