compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::HTTPSHealthCheck Class Reference

#include <httpsh_ealth_check.h>

Inheritance diagram for google_compute_api::HTTPSHealthCheck:

Public Member Functions

 HTTPSHealthCheck (const Json::Value &storage)
 
 HTTPSHealthCheck (Json::Value *storage)
 
virtual ~HTTPSHealthCheck ()
 
const StringPiece GetTypeName () const
 
bool has_host () const
 
void clear_host ()
 
const StringPiece get_host () const
 
void set_host (const StringPiece &value)
 
bool has_port () const
 
void clear_port ()
 
int32 get_port () const
 
void set_port (int32 value)
 
bool has_port_name () const
 
void clear_port_name ()
 
const StringPiece get_port_name () const
 
void set_port_name (const StringPiece &value)
 
bool has_port_specification () const
 
void clear_port_specification ()
 
const StringPiece get_port_specification () const
 
void set_port_specification (const StringPiece &value)
 
bool has_proxy_header () const
 
void clear_proxy_header ()
 
const StringPiece get_proxy_header () const
 
void set_proxy_header (const StringPiece &value)
 
bool has_request_path () const
 
void clear_request_path ()
 
const StringPiece get_request_path () const
 
void set_request_path (const StringPiece &value)
 
bool has_response () const
 
void clear_response ()
 
const StringPiece get_response () const
 
void set_response (const StringPiece &value)
 

Static Public Member Functions

static HTTPSHealthCheckNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ HTTPSHealthCheck() [1/2]

google_compute_api::HTTPSHealthCheck::HTTPSHealthCheck ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ HTTPSHealthCheck() [2/2]

google_compute_api::HTTPSHealthCheck::HTTPSHealthCheck ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~HTTPSHealthCheck()

google_compute_api::HTTPSHealthCheck::~HTTPSHealthCheck ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_host()

void google_compute_api::HTTPSHealthCheck::clear_host ( )
inline

Clears the 'host' attribute.

◆ clear_port()

void google_compute_api::HTTPSHealthCheck::clear_port ( )
inline

Clears the 'port' attribute.

◆ clear_port_name()

void google_compute_api::HTTPSHealthCheck::clear_port_name ( )
inline

Clears the 'portName' attribute.

◆ clear_port_specification()

void google_compute_api::HTTPSHealthCheck::clear_port_specification ( )
inline

Clears the 'portSpecification' attribute.

◆ clear_proxy_header()

void google_compute_api::HTTPSHealthCheck::clear_proxy_header ( )
inline

Clears the 'proxyHeader' attribute.

◆ clear_request_path()

void google_compute_api::HTTPSHealthCheck::clear_request_path ( )
inline

Clears the 'requestPath' attribute.

◆ clear_response()

void google_compute_api::HTTPSHealthCheck::clear_response ( )
inline

Clears the 'response' attribute.

◆ get_host()

const StringPiece google_compute_api::HTTPSHealthCheck::get_host ( ) const
inline

Get the value of the 'host' attribute.

◆ get_port()

int32 google_compute_api::HTTPSHealthCheck::get_port ( ) const
inline

Get the value of the 'port' attribute.

◆ get_port_name()

const StringPiece google_compute_api::HTTPSHealthCheck::get_port_name ( ) const
inline

Get the value of the 'portName' attribute.

◆ get_port_specification()

const StringPiece google_compute_api::HTTPSHealthCheck::get_port_specification ( ) const
inline

Get the value of the 'portSpecification' attribute.

◆ get_proxy_header()

const StringPiece google_compute_api::HTTPSHealthCheck::get_proxy_header ( ) const
inline

Get the value of the 'proxyHeader' attribute.

◆ get_request_path()

const StringPiece google_compute_api::HTTPSHealthCheck::get_request_path ( ) const
inline

Get the value of the 'requestPath' attribute.

◆ get_response()

const StringPiece google_compute_api::HTTPSHealthCheck::get_response ( ) const
inline

Get the value of the 'response' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::HTTPSHealthCheck::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::HTTPSHealthCheck

◆ has_host()

bool google_compute_api::HTTPSHealthCheck::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::HTTPSHealthCheck::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::HTTPSHealthCheck::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::HTTPSHealthCheck::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::HTTPSHealthCheck::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::HTTPSHealthCheck::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::HTTPSHealthCheck::has_response ( ) const
inline

Determine if the 'response' attribute was set.

Returns
true if the 'response' attribute was set.

◆ New()

HTTPSHealthCheck * google_compute_api::HTTPSHealthCheck::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_host()

void google_compute_api::HTTPSHealthCheck::set_host ( const StringPiece &  value)
inline

Change the 'host' attribute.

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.

Parameters
[in]valueThe new value.

◆ set_port()

void google_compute_api::HTTPSHealthCheck::set_port ( int32  value)
inline

Change the 'port' attribute.

The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.

Parameters
[in]valueThe new value.

◆ set_port_name()

void google_compute_api::HTTPSHealthCheck::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
[in]valueThe new value.

◆ set_port_specification()

void google_compute_api::HTTPSHealthCheck::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, HTTPS health check follows behavior specified in port and portName fields.

Parameters
[in]valueThe new value.

◆ set_proxy_header()

void google_compute_api::HTTPSHealthCheck::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
[in]valueThe new value.

◆ set_request_path()

void google_compute_api::HTTPSHealthCheck::set_request_path ( const StringPiece &  value)
inline

Change the 'requestPath' attribute.

The request path of the HTTPS health check request. The default value is /.

Parameters
[in]valueThe new value.

◆ set_response()

void google_compute_api::HTTPSHealthCheck::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
[in]valueThe new value.

The documentation for this class was generated from the following files: