- NAME
-
- gcloud compute firewall-policies update - update a Compute Engine organization firewall policy
- SYNOPSIS
-
-
gcloud compute firewall-policies updateFIREWALL_POLICY[--description=DESCRIPTION] [--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
gcloud compute firewall-policies updateis used to update organization firewall policies. An organization firewall policy is a set of rules that controls access to various resources. - EXAMPLES
- To update an organization firewall policy with ID ``123456789" to change the
description to ``New description", run:
gcloud compute firewall-policies update 123456789 --description = 'New description' - POSITIONAL ARGUMENTS
-
-
FIREWALL_POLICY - Short name or ID of the firewall policy to update.
-
- FLAGS
-
-
--description=DESCRIPTION - An optional, textual description for the organization security policy.
-
--organization=ORGANIZATION - Organization in which the organization firewall policy is to be updated. Must be set if FIREWALL_POLICY is short 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 helpfor details. - IAM PERMISSIONS
- To update a firewall policy, the user must have the following permission:
compute.firewallPolicies.update.To find predefined roles that contain those permissions, see the Compute Engine IAM roles .
- NOTES
- These variants are also available:
gcloud alpha compute firewall-policies updategcloud beta compute firewall-policies updategcloud preview compute firewall-policies update
gcloud compute firewall-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 2026-05-27 UTC.

