Class Google::Cloud::Compute::V1::HTTPSHealthCheck (v0.5.0)

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#host

def host() -> ::String
Returns
  • (::String) — The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.

#host=

def host=(value) -> ::String
Parameter
  • value (::String) — The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
Returns
  • (::String) — The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.

#port

def port() -> ::Integer
Returns
  • (::Integer) — The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
Returns
  • (::Integer) — The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.

#port_name

def port_name() -> ::String
Returns
  • (::String) — Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

#port_name=

def port_name=(value) -> ::String
Parameter
  • value (::String) — Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
Returns
  • (::String) — Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

#port_specification

def port_specification() -> ::String
Returns
  • (::String) — 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, HTTPS health check follows behavior specified in port and portName fields. Check the PortSpecification enum for the list of possible values.

#port_specification=

def port_specification=(value) -> ::String
Parameter
  • value (::String) — 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, HTTPS health check follows behavior specified in port and portName fields. Check the PortSpecification enum for the list of possible values.
Returns
  • (::String) — 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, HTTPS health check follows behavior specified in port and portName fields. Check the PortSpecification enum for the list of possible values.

#proxy_header

def proxy_header() -> ::String
Returns
  • (::String) — Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.

#proxy_header=

def proxy_header=(value) -> ::String
Parameter
  • value (::String) — Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.
Returns
  • (::String) — Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values.

#request_path

def request_path() -> ::String
Returns
  • (::String) — The request path of the HTTPS health check request. The default value is /.

#request_path=

def request_path=(value) -> ::String
Parameter
  • value (::String) — The request path of the HTTPS health check request. The default value is /.
Returns
  • (::String) — The request path of the HTTPS health check request. The default value is /.

#response

def response() -> ::String
Returns
  • (::String) — The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.

#response=

def response=(value) -> ::String
Parameter
  • value (::String) — The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
Returns
  • (::String) — The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.