Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields.
A value indicating that the enum field is not set.
UseFixedPort
The port number in port is used for health checking.
UseNamedPort
The portName is used for health checking.
UseServingPort
For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
[[["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-08 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003ePortSpecification\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, used for configuring TCP health checks in Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePortSpecification\u003c/code\u003e enum offers options for defining how a port is selected for health checks, including \u003ccode\u003eUSE_FIXED_PORT\u003c/code\u003e, \u003ccode\u003eUSE_NAMED_PORT\u003c/code\u003e, and \u003ccode\u003eUSE_SERVING_PORT\u003c/code\u003e, along with an \u003ccode\u003eUndefinedPortSpecification\u003c/code\u003e value.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e library, ranging from version 1.0.0 to the latest version 3.6.0, providing links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUSE_FIXED_PORT\u003c/code\u003e option uses the specified port number for health checking, while \u003ccode\u003eUSE_NAMED_PORT\u003c/code\u003e uses a named port and \u003ccode\u003eUSE_SERVING_PORT\u003c/code\u003e uses the port defined for network endpoints or backend services.\u003c/p\u003e\n"]]],[],null,[]]