- NAME
-
- gcloud alpha compute org-security-policies update - update a Compute Engine organization security policy
- SYNOPSIS
-
-
gcloud alpha compute org-security-policies update
SECURITY_POLICY
[--description
=DESCRIPTION
] [--organization
=ORGANIZATION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
gcloud alpha compute org-security-policies update
is used to update organization security policies. An organization security policy is a set of rules that controls access to various resources. - EXAMPLES
-
To update an organization security policy with ID ``123456789" to change the
description to ``New description", run:
gcloud alpha compute org-security-policies update update 123456789 --description='New description'
- POSITIONAL ARGUMENTS
-
SECURITY_POLICY
- Display name or ID of the security policy to update.
- FLAGS
-
--description
=DESCRIPTION
- An optional, textual description for the organization security policy.
--organization
=ORGANIZATION
- Organization in which the organization security policy is to be updated. Must be set if SECURITY_POLICY is display name.
- 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 beta compute org-security-policies 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-04-23 UTC.