gcloud compute target-grpc-proxies create

NAME
gcloud compute target-grpc-proxies create - create a target gRPC proxy
SYNOPSIS
gcloud compute target-grpc-proxies createNAME--url-map=URL_MAP[--description=DESCRIPTION][--validate-for-proxyless][--global-url-map    |--url-map-region=URL_MAP_REGION][GCLOUD_WIDE_FLAG]
DESCRIPTION
gcloud compute target-grpc-proxies create is used to create targetgRPC proxies. A target gRPC proxy is a component of load balancers intended forload balancing gRPC traffic. Global forwarding rules reference a target gRPCproxy. The Target gRPC proxy references a URL map which specifies how trafficroutes to gRPC backend services.
EXAMPLES
If there is an already-created URL map with the name URL_MAP, create a globaltarget gRPC proxy pointing to this map by running:
gcloudcomputetarget-grpc-proxiescreatePROXY_NAME--url-map=URL_MAP

To create a proxy with a textual description, run:

gcloudcomputetarget-grpc-proxiescreatePROXY_NAME--url-map=URL_MAP--description="default proxy"
POSITIONAL ARGUMENTS
NAME
Name of the target gRPC proxy to create.
REQUIRED FLAGS
--url-map=URL_MAP
A reference to a URL map resource. A URL map defines the mapping of URLs tobackend services. Before you can refer to a URL map, you must create the URLmap. To delete a URL map that a target proxy is referring to, you must firstdelete the target gRPC proxy.
OPTIONAL FLAGS
--description=DESCRIPTION
An optional, textual description for the target gRPC proxy.
--validate-for-proxyless
If specified, configuration in the associated urlMap and the BackendServices ischecked to allow only the features that are supported in the latest release ofgRPC.

If unspecified, no such configuration checks are performed. This may causeunexpected behavior in gRPC applications if unsupported features are configured.

At most one of these can be specified:
--global-url-map
If set, the URL map is global.
--url-map-region=URL_MAP_REGION
Region of the URL map 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:
gcloudalphacomputetarget-grpc-proxiescreate
gcloudbetacomputetarget-grpc-proxiescreate

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.