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\u003eThis document provides reference information for the \u003ccode\u003eBackendService.Types.Protocol\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, listing all its available versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.6.0, and the document includes versions from 1.0.0 up to the most recent, with the current version displayed as 2.14.0 at the top.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendService.Types.Protocol\u003c/code\u003e enum defines the communication protocols that a BackendService can use, including options like \u003ccode\u003eGrpc\u003c/code\u003e, \u003ccode\u003eHttp\u003c/code\u003e, \u003ccode\u003eHttps\u003c/code\u003e, \u003ccode\u003eTcp\u003c/code\u003e, \u003ccode\u003eSsl\u003c/code\u003e, and \u003ccode\u003eUdp\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies that if a Backend Service has \u003ccode\u003eUNSPECIFIED\u003c/code\u003e as its protocol, it can be used with any L3/L4 Forwarding Rules.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedProtocol\u003c/code\u003e field of the enum indicates when a protocol field is not set, providing clarity on field status.\u003c/p\u003e\n"]]],[],null,[]]