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: 2_196_510
gRPC (available for Traffic Director).
HTTP
value: 2_228_360
HTTP2
value: 69_079_210
HTTP/2 with SSL.
HTTPS
value: 69_079_243
SSL
value: 82_412
TCP proxying with SSL.
TCP
value: 82_881
TCP proxying or TCP pass-through.
UDP
value: 83_873
UDP.
UNSPECIFIED
value: 526_786_327
If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules.