#include <httph_ealth_check.h>
◆ HTTPHealthCheck() [1/2]
google_compute_api::HTTPHealthCheck::HTTPHealthCheck |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ HTTPHealthCheck() [2/2]
google_compute_api::HTTPHealthCheck::HTTPHealthCheck |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~HTTPHealthCheck()
google_compute_api::HTTPHealthCheck::~HTTPHealthCheck |
( |
| ) |
|
|
virtual |
◆ clear_host()
void google_compute_api::HTTPHealthCheck::clear_host |
( |
| ) |
|
|
inline |
Clears the 'host
' attribute.
◆ clear_port()
void google_compute_api::HTTPHealthCheck::clear_port |
( |
| ) |
|
|
inline |
Clears the 'port
' attribute.
◆ clear_port_name()
void google_compute_api::HTTPHealthCheck::clear_port_name |
( |
| ) |
|
|
inline |
Clears the 'portName
' attribute.
◆ clear_port_specification()
void google_compute_api::HTTPHealthCheck::clear_port_specification |
( |
| ) |
|
|
inline |
Clears the 'portSpecification
' attribute.
◆ clear_proxy_header()
void google_compute_api::HTTPHealthCheck::clear_proxy_header |
( |
| ) |
|
|
inline |
Clears the 'proxyHeader
' attribute.
◆ clear_request_path()
void google_compute_api::HTTPHealthCheck::clear_request_path |
( |
| ) |
|
|
inline |
Clears the 'requestPath
' attribute.
◆ clear_response()
void google_compute_api::HTTPHealthCheck::clear_response |
( |
| ) |
|
|
inline |
Clears the 'response
' attribute.
◆ get_host()
const StringPiece google_compute_api::HTTPHealthCheck::get_host |
( |
| ) |
const |
|
inline |
Get the value of the 'host
' attribute.
◆ get_port()
int32 google_compute_api::HTTPHealthCheck::get_port |
( |
| ) |
const |
|
inline |
Get the value of the 'port
' attribute.
◆ get_port_name()
const StringPiece google_compute_api::HTTPHealthCheck::get_port_name |
( |
| ) |
const |
|
inline |
Get the value of the 'portName
' attribute.
◆ get_port_specification()
const StringPiece google_compute_api::HTTPHealthCheck::get_port_specification |
( |
| ) |
const |
|
inline |
Get the value of the 'portSpecification
' attribute.
◆ get_proxy_header()
const StringPiece google_compute_api::HTTPHealthCheck::get_proxy_header |
( |
| ) |
const |
|
inline |
Get the value of the 'proxyHeader
' attribute.
◆ get_request_path()
const StringPiece google_compute_api::HTTPHealthCheck::get_request_path |
( |
| ) |
const |
|
inline |
Get the value of the 'requestPath
' attribute.
◆ get_response()
const StringPiece google_compute_api::HTTPHealthCheck::get_response |
( |
| ) |
const |
|
inline |
Get the value of the 'response
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::HTTPHealthCheck::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_host()
bool google_compute_api::HTTPHealthCheck::has_host |
( |
| ) |
const |
|
inline |
Determine if the 'host
' attribute was set.
- Returns
- true if the '
host
' attribute was set.
◆ has_port()
bool google_compute_api::HTTPHealthCheck::has_port |
( |
| ) |
const |
|
inline |
Determine if the 'port
' attribute was set.
- Returns
- true if the '
port
' attribute was set.
◆ has_port_name()
bool google_compute_api::HTTPHealthCheck::has_port_name |
( |
| ) |
const |
|
inline |
Determine if the 'portName
' attribute was set.
- Returns
- true if the '
portName
' attribute was set.
◆ has_port_specification()
bool google_compute_api::HTTPHealthCheck::has_port_specification |
( |
| ) |
const |
|
inline |
Determine if the 'portSpecification
' attribute was set.
- Returns
- true if the '
portSpecification
' attribute was set.
◆ has_proxy_header()
bool google_compute_api::HTTPHealthCheck::has_proxy_header |
( |
| ) |
const |
|
inline |
Determine if the 'proxyHeader
' attribute was set.
- Returns
- true if the '
proxyHeader
' attribute was set.
◆ has_request_path()
bool google_compute_api::HTTPHealthCheck::has_request_path |
( |
| ) |
const |
|
inline |
Determine if the 'requestPath
' attribute was set.
- Returns
- true if the '
requestPath
' attribute was set.
◆ has_response()
bool google_compute_api::HTTPHealthCheck::has_response |
( |
| ) |
const |
|
inline |
Determine if the 'response
' attribute was set.
- Returns
- true if the '
response
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_host()
void google_compute_api::HTTPHealthCheck::set_host |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'host
' attribute.
The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
- Parameters
-
◆ set_port()
void google_compute_api::HTTPHealthCheck::set_port |
( |
int32 |
value | ) |
|
|
inline |
Change the 'port
' attribute.
The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
- Parameters
-
◆ set_port_name()
void google_compute_api::HTTPHealthCheck::set_port_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'portName
' attribute.
Port name as defined in InstanceGroup::NamedPort::name. If both port and port_name are defined, port takes precedence.
- Parameters
-
◆ set_port_specification()
void google_compute_api::HTTPHealthCheck::set_port_specification |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'portSpecification
' attribute.
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.
- Parameters
-
◆ set_proxy_header()
void google_compute_api::HTTPHealthCheck::set_proxy_header |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'proxyHeader
' attribute.
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
- Parameters
-
◆ set_request_path()
void google_compute_api::HTTPHealthCheck::set_request_path |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'requestPath
' attribute.
The request path of the HTTP health check request. The default value is /.
- Parameters
-
◆ set_response()
void google_compute_api::HTTPHealthCheck::set_response |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'response
' attribute.
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.
- Parameters
-
The documentation for this class was generated from the following files: