- NAME
-
- gcloud beta compute network-edge-security-services update - update a network edge security service
- SYNOPSIS
-
-
gcloud beta compute network-edge-security-services updateNAME[--description=DESCRIPTION] [--region=REGION] [--security-policy=SECURITY_POLICY] [--security-policy-region=SECURITY_POLICY_REGION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)gcloud beta compute network-edge-security-services updateis used to update network edge security services. - EXAMPLES
-
To attach a new security policy 'my-policy' to a network edge security service
with the name 'my-service' in region 'us-central1', run:
gcloud beta compute network-edge-security-services update my-service --security-policy=my-policy --region=us-central1To remove the security policy attached to a network edge security service with the name 'my-service' in region 'us-central1', run:
gcloud beta compute network-edge-security-services update my-service --security-policy="" --region=us-central1 - POSITIONAL ARGUMENTS
-
NAME- Name of the network edge security service to update.
- FLAGS
-
--description=DESCRIPTION- An optional, textual description for the network edge security service.
--region=REGION-
Region of the network edge security service to update. Overrides the default
compute/regionproperty value for this command invocation. --security-policy=SECURITY_POLICY-
Name or URI of the security policy to attach to this network edge security
service. This value is provided as a simple text string representing the name or
URI of the existing policy. To remove the currently attached policy from the
network edge security service, set the flag value to an empty string
(
""). --security-policy-region=SECURITY_POLICY_REGION-
Google Cloud region of the security policy to operate on, formatted as a
standard geographic region string (for example,
us-central1). This value explicitly overrides the defaultcompute/regionproperty value for this specific command invocation.
- 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. These
variants are also available:
gcloud compute network-edge-security-services updategcloud alpha compute network-edge-security-services updategcloud preview compute network-edge-security-services update
gcloud beta compute network-edge-security-services 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-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]