- NAME
-
- gcloud compute network-edge-security-services update - update a network edge security service
- SYNOPSIS
-
-
gcloud compute network-edge-security-services updateNAME[--description=DESCRIPTION] [--region=REGION] [--security-policy=SECURITY_POLICY] [--security-policy-region=SECURITY_POLICY_REGION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
gcloud 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 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 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 - The security policy that will be set for this network edge security service. To remove the policy from this network edge security service set the policy to an empty string.
-
--security-policy-region=SECURITY_POLICY_REGION - Region of the security policy to operate on. Overrides the default
compute/regionproperty value for this 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
- These variants are also available:
gcloud alpha compute network-edge-security-services updategcloud beta compute network-edge-security-services updategcloud preview compute network-edge-security-services update
gcloud 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-05-27 UTC.

