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, HTTP 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 document details the \u003ccode\u003ePortSpecification\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, used for configuring how a port is selected during health checks.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this specific component is 3.6.0, although versions all the way down to 1.0.0 can also be accessed via the provided links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePortSpecification\u003c/code\u003e can be set to \u003ccode\u003eUseFixedPort\u003c/code\u003e, \u003ccode\u003eUseNamedPort\u003c/code\u003e, or \u003ccode\u003eUseServingPort\u003c/code\u003e, each corresponding to a different method of port selection during health checks, or \u003ccode\u003eUndefinedPortSpecification\u003c/code\u003e if left unset.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePortSpecification\u003c/code\u003e applies to HTTP health checks and is utilized to specify the method of how the port is chosen during the health check of a target.\u003c/p\u003e\n"],["\u003cp\u003eEach version of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e library has specific documentation detailing the \u003ccode\u003ePortSpecification\u003c/code\u003e enum, enabling developers to refer to version-specific implementation details.\u003c/p\u003e\n"]]],[],null,[]]