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/access-context-manager/authorized-orgs/update
2023-05-04 10:43:54 +00:00

80 lines
2.9 KiB
Text

NAME
gcloud alpha access-context-manager authorized-orgs update - update the
organizations for an existing authorized organizations description
SYNOPSIS
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 ...]
DESCRIPTION
(ALPHA) This command updates an authorized organizations description.
EXAMPLES
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"
POSITIONAL ARGUMENTS
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.
FLAGS
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.
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.
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 authorized-orgs update