- NAME
-
- gcloud access-context-manager authorized-orgs update - update the organizations for an existing authorized organizations description
- SYNOPSIS
-
-
gcloud 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
- This command updates an authorized organizations description.
- EXAMPLES
-
To update the organizations for an authorized organizations description:
gcloud 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.
-
provide the argument
--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
.
-
provide the argument
-
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.
- 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.
-
These flags modify the member orgs of this authorized_orgs_desc. Orgs must be
organizations, in the form
- 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 variant is also available:
gcloud alpha access-context-manager authorized-orgs update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.