- NAME
-
- gcloud alpha compute backend-services set-security-policy - set the security policy for a backend service
- SYNOPSIS
-
-
gcloud alpha compute backend-services set-security-policy
BACKEND_SERVICE_NAME
--security-policy
=SECURITY_POLICY
[--global
|--region
=REGION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
(DEPRECATED)
This command is deprecated and will not be promoted to beta. Please use "gcloud beta backend-services update" instead.gcloud alpha compute backend-services set-security-policy
is used to set the security policy for a backend service. Setting an empty string will clear the existing security policy. - POSITIONAL ARGUMENTS
-
BACKEND_SERVICE_NAME
- Name of the backend service to operate on.
- REQUIRED FLAGS
-
--security-policy
=SECURITY_POLICY
- The security policy that will be set for this backend service.
- OPTIONAL FLAGS
-
-
At most one of these can be specified:
--global
- If set, the backend service is global.
--region
=REGION
-
Region of the backend service to operate on. Overrides the default
compute/region
property value for this command invocation.
-
At most one of these can be specified:
- 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 help
for details. - NOTES
- This command is currently in alpha and might 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.
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 2024-05-21 UTC.