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 of the Google.Cloud.Compute.V1 API for BackendService.Types.Protocol is 3.6.0, with multiple prior versions available dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProtocol\u003c/code\u003e enum defines the communication protocols supported by a BackendService, including \u003ccode\u003eGrpc\u003c/code\u003e, \u003ccode\u003eHttp\u003c/code\u003e, \u003ccode\u003eHttp2\u003c/code\u003e, \u003ccode\u003eHttps\u003c/code\u003e, \u003ccode\u003eSsl\u003c/code\u003e, \u003ccode\u003eTcp\u003c/code\u003e, and \u003ccode\u003eUdp\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedProtocol\u003c/code\u003e field indicates when the enum field is not set, and \u003ccode\u003eUnspecified\u003c/code\u003e means the Backend Service can be used with any L3/L4 Forwarding Rules.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGrpc\u003c/code\u003e protocol is available for Traffic Director, while \u003ccode\u003eHttp2\u003c/code\u003e implies HTTP/2 with SSL, and \u003ccode\u003eSsl\u003c/code\u003e represents TCP proxying with SSL.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides reference and code examples for the Compute Engine v1 API enum BackendService.Types.Protocol.\u003c/p\u003e\n"]]],[],null,[]]