Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::BackendService::Protocol.
The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.
Constants
UNDEFINED_PROTOCOL
value: 0
A value indicating that the enum field is not set.
GRPC
value: 2196510
gRPC (available for Traffic Director).
HTTP
value: 2228360
HTTP2
value: 69079210
HTTP/2 with SSL.
HTTPS
value: 69079243
SSL
value: 82412
TCP proxying with SSL.
TCP
value: 82881
TCP proxying or TCP pass-through.
UDP
value: 83873
UDP.
UNSPECIFIED
value: 526786327
If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules.