Reference documentation and code samples for the Compute Engine v1 API enum BackendService.Types.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eGoogle.Cloud.Compute.V1.BackendService.Types.Protocol\u003c/code\u003e is 3.6.0, with multiple previous versions accessible, ranging from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendService.Types.Protocol\u003c/code\u003e is an enum that specifies the communication protocol used by a BackendService, supporting protocols such as HTTP, HTTPS, HTTP2, TCP, SSL, UDP, and gRPC.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e protocol allows a Backend Service to be used with any L3/L4 Forwarding Rules.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGrpc\u003c/code\u003e is available for Traffic Director, while \u003ccode\u003eHttp2\u003c/code\u003e uses SSL, and there are also values such as \u003ccode\u003eUndefinedProtocol\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document contains reference information for the \u003ccode\u003eBackendService.Types.Protocol\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]