- NAME
-
- gcloud beta compute security-policies - read and manipulate Cloud Armor security policies
- SYNOPSIS
-
-
gcloud beta compute security-policiesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Read and manipulate Cloud Armor security policies.Security policies are used to control access to Google Cloud HTTP/HTTPS load balancers.
For more information about security policies, see Security policies for HTTPS load balancing .
See also: Security policies API .
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
rules -
(BETA)Read and manipulate Compute Engine security policies rules.
-
- COMMANDS
-
is one of the following:COMMAND-
add-layer7-ddos-defense-threshold-config -
(BETA)Add a layer7 ddos defense threshold config to a Compute Engine security policy. -
add-user-defined-field -
(BETA)Add a user defined field to a Compute Engine security policy. -
create -
(BETA)Create a Compute Engine security policy. -
delete -
(BETA)Delete security policies. -
describe -
(BETA)Describe a Compute Engine security policy. -
export -
(BETA)Export security policy configs into YAML or JSON files. -
import -
(BETA)Import security policy configs into your project. -
list -
(BETA)List security policies. -
list-preconfigured-expression-sets -
(BETA)List all available preconfigured expression sets. -
remove-layer7-ddos-defense-threshold-config -
(BETA)Remove a layer7 ddos defense threshold config from a Compute Engine security policy. -
remove-user-defined-field -
(BETA)Remove a user defined field from a Compute Engine security policy. -
update -
(BETA)Update a Compute Engine security policy.
-
- NOTES
- This command is currently in beta and might change without notice. These
variants are also available:
gcloud compute security-policiesgcloud alpha compute security-policiesgcloud preview compute security-policies
gcloud beta compute security-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.

