- INFORMATION
-
gcloud preview compute network-edge-security-services updateis supported in universe domainuniverse; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution. - NAME
-
- gcloud preview compute network-edge-security-services update - update a network edge security service
- SYNOPSIS
-
-
gcloud preview compute network-edge-security-services updateNAME[--description=DESCRIPTION] [--region=REGION] [--security-policy=SECURITY_POLICY] [--security-policy-region=SECURITY_POLICY_REGION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(PREVIEW)gcloud preview 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 preview 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 preview 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 DEVELOPER PREVIEW and may change without notice. If
this command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
gcloud compute network-edge-security-services updategcloud alpha compute network-edge-security-services updategcloud beta compute network-edge-security-services update
gcloud preview 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-17 UTC."],[],[]]