Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::HTTPHealthCheck::PortSpecification (v1.7.1)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::HTTPHealthCheck::PortSpecification.

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.

Constants

UNDEFINED_PORT_SPECIFICATION

value: 0
A value indicating that the enum field is not set.

USE_FIXED_PORT

value: 190235748
The port number in port is used for health checking.

USE_NAMED_PORT

value: 349300671
The portName is used for health checking.

USE_SERVING_PORT

value: 362637516
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.