gcloud beta app firewall-rules update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta app firewall-rules update - updates a firewall rule
- SYNOPSIS
gcloud beta app firewall-rules updatePRIORITY[--action=ACTION][--description=DESCRIPTION][--source-range=SOURCE_RANGE][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Updates a firewall rule.- EXAMPLES
- To update an App Engine firewall rule, run:
gcloudbetaappfirewall-rulesupdate1234--source-range='2001:db8::/32'--action=allow--description='This is an example rule.' - POSITIONAL ARGUMENTS
PRIORITY- An integer between 1 and 2^32-1 which indicates the evaluation order of rules.Lowest priority rules are evaluated first. The handle
defaultmayalso be used to refer to the final rule at priority 2^32-1 which is alwayspresent in a set of rules.
- FLAGS
--action=ACTION- Allow or deny matched traffic.
ACTIONmust be one of:ALLOW,DENY. --description=DESCRIPTION- A text description of the rule.
--source-range=SOURCE_RANGE- An IP address or range in CIDR notation or the
*wildcard to matchall traffic.
- 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 beta and might change without notice. This variantis also available:
gcloudappfirewall-rulesupdate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.