gcloud alpha compute target-grpc-proxies create

NAME
gcloud alpha compute target-grpc-proxies create - create a target gRPC proxy
SYNOPSIS
gcloud alpha 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
(ALPHA)gcloud alpha compute target-grpc-proxiescreate is used to create target gRPC proxies. A target gRPC proxy is acomponent of load balancers intended for load balancing gRPC traffic. Globalforwarding rules reference a target gRPC proxy. The Target gRPC proxy referencesa URL map which specifies how traffic routes 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:
gcloudalphacomputetarget-grpc-proxiescreatePROXY_NAME--url-map=URL_MAP

To create a proxy with a textual description, run:

gcloudalphacomputetarget-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
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputetarget-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.