- NAME
-
- gcloud compute network-firewall-policies - manage Compute Engine network firewall policies
- SYNOPSIS
-
-
gcloud compute network-firewall-policiesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Manage Compute Engine network firewall policies. Network firewall policies are used to control incoming/outgoing traffic.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
associations - Read and manipulate Compute Engine network firewall policy associations.
-
mirroring-rules - Read and manipulate Compute Engine packet mirroring rules in network firewall policy.
-
rules - Read and manipulate Compute Engine network firewall policy rules.
-
- COMMANDS
-
is one of the following:COMMAND-
clone-rules - Replace the rules of a Compute Engine network firewall policy with rules from another policy.
-
create - Create a Compute Engine Network firewall policy.
-
delete - Delete a Compute Engine network firewall policy.
-
describe - Describe a Compute Engine network firewall policy.
-
export-rules - Export Compute Engine network firewall policy rules.
-
get-effective-firewalls - Get the effective firewalls for a network.
-
import-rules - Import a Compute Engine network firewall policy rules.
-
list - List Compute Engine network firewall policies.
-
update - Update a Compute Engine network firewall policy.
-
- NOTES
- These variants are also available:
gcloud alpha compute network-firewall-policiesgcloud beta compute network-firewall-policiesgcloud preview compute network-firewall-policies
gcloud compute network-firewall-policies
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.

