- NAME
-
- gcloud alpha compute network-firewall-policies associations update - update association between a firewall policy and a network
- SYNOPSIS
-
-
gcloud alpha compute network-firewall-policies associations update--firewall-policy=FIREWALL_POLICY--name=NAME--priority=PRIORITY[--firewall-policy-region=FIREWALL_POLICY_REGION|--global-firewall-policy] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)gcloud alpha compute network-firewall-policies associations updateis used to update network firewall policy associations. A network firewall policy is a set of rules that controls access to various resources. - EXAMPLES
-
To update priority of association named
on network firewall policy with namemy-associationin regionmy-policy, run:region-agcloud alpha compute network-firewall-policies associations update --firewall-policy=my-policy --name=my-association --firewall-policy-region=region-a --priority=new-priority - REQUIRED FLAGS
-
--firewall-policy=FIREWALL_POLICY- Firewall policy ID with which to update association.
--name=NAME- Name of the association.
--priority=PRIORITY- Priority of the association.
- OPTIONAL FLAGS
-
-
At most one of these can be specified:
--firewall-policy-region=FIREWALL_POLICY_REGION-
Region of the firewall policy to update. Overrides the default
compute/regionproperty value for this command invocation. --global-firewall-policy- If set, the firewall policy is global.
-
At most one of these can be specified:
- 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. - 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. These variants are also available:
gcloud compute network-firewall-policies associations updategcloud beta compute network-firewall-policies associations updategcloud preview compute network-firewall-policies associations update
gcloud alpha compute network-firewall-policies associations 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-09-29 UTC.