gcloud compute backend-services add-service-bindings

NAME
gcloud compute backend-services add-service-bindings - add service bindings to a backend service
SYNOPSIS
gcloud compute backend-services add-service-bindingsBACKEND_SERVICE_NAME--service-bindings=SERVICE_BINDING,[…][--global    |--region=REGION][GCLOUD_WIDE_FLAG]
DESCRIPTION
Add service bindings to a backend service.
EXAMPLES
To add a service binding to a backend service, run:
gcloudcomputebackend-servicesadd-service-bindingsNAME--service-bindings=SERVICE_BINDING1--global
POSITIONAL ARGUMENTS
BACKEND_SERVICE_NAME
Name of the backend service to operate on.
REQUIRED FLAGS
--service-bindings=SERVICE_BINDING,[…]
List of service binding names to be added to the 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 defaultcompute/region property 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 help for details.

NOTES
These variants are also available:
gcloudalphacomputebackend-servicesadd-service-bindings
gcloudbetacomputebackend-servicesadd-service-bindings

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.