gcloud compute security-policies GROUP | COMMAND [GCLOUD_WIDE_FLAG …]
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.--help.
Run $ gcloud help for details.
is one of the following:
GROUP
rules is one of the following:
COMMAND
add-layer7-ddos-defense-threshold-configadd-user-defined-fieldcreatedeletedescribeexportimportlistlist-preconfigured-expression-setsremove-layer7-ddos-defense-threshold-configremove-user-defined-fieldupdategcloud alpha compute security-policiesgcloud beta compute security-policiesgcloud preview 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.