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

#include <sslh_ealth_check.h>

Inheritance diagram for google_compute_api::SSLHealthCheck:

Public Member Functions

 SSLHealthCheck (const Json::Value &storage)
 
 SSLHealthCheck (Json::Value *storage)
 
virtual ~SSLHealthCheck ()
 
const StringPiece GetTypeName () const
 
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 () const
 
void clear_request ()
 
const StringPiece get_request () const
 
void set_request (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 SSLHealthCheckNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ SSLHealthCheck() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SSLHealthCheck() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SSLHealthCheck()

google_compute_api::SSLHealthCheck::~SSLHealthCheck ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_port()

void google_compute_api::SSLHealthCheck::clear_port ( )
inline

Clears the 'port' attribute.

◆ clear_port_name()

void google_compute_api::SSLHealthCheck::clear_port_name ( )
inline

Clears the 'portName' attribute.

◆ clear_port_specification()

void google_compute_api::SSLHealthCheck::clear_port_specification ( )
inline

Clears the 'portSpecification' attribute.

◆ clear_proxy_header()

void google_compute_api::SSLHealthCheck::clear_proxy_header ( )
inline

Clears the 'proxyHeader' attribute.

◆ clear_request()

void google_compute_api::SSLHealthCheck::clear_request ( )
inline

Clears the 'request' attribute.

◆ clear_response()

void google_compute_api::SSLHealthCheck::clear_response ( )
inline

Clears the 'response' attribute.

◆ get_port()

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

Get the value of the 'port' attribute.

◆ get_port_name()

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

Get the value of the 'portName' attribute.

◆ get_port_specification()

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

Get the value of the 'portSpecification' attribute.

◆ get_proxy_header()

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

Get the value of the 'proxyHeader' attribute.

◆ get_request()

const StringPiece google_compute_api::SSLHealthCheck::get_request ( ) const
inline

Get the value of the 'request' attribute.

◆ get_response()

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

Get the value of the 'response' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::SSLHealthCheck

◆ has_port()

bool google_compute_api::SSLHealthCheck::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::SSLHealthCheck::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::SSLHealthCheck::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::SSLHealthCheck::has_proxy_header ( ) const
inline

Determine if the 'proxyHeader' attribute was set.

Returns
true if the 'proxyHeader' attribute was set.

◆ has_request()

bool google_compute_api::SSLHealthCheck::has_request ( ) const
inline

Determine if the 'request' attribute was set.

Returns
true if the 'request' attribute was set.

◆ has_response()

bool google_compute_api::SSLHealthCheck::has_response ( ) const
inline

Determine if the 'response' attribute was set.

Returns
true if the 'response' attribute was set.

◆ New()

SSLHealthCheck * google_compute_api::SSLHealthCheck::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_port()

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

Parameters
[in]valueThe new value.

◆ set_proxy_header()

void google_compute_api::SSLHealthCheck::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()

void google_compute_api::SSLHealthCheck::set_request ( const StringPiece &  value)
inline

Change the 'request' attribute.

The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.

Parameters
[in]valueThe new value.

◆ set_response()

void google_compute_api::SSLHealthCheck::set_response ( const StringPiece &  value)
inline

Change the 'response' attribute.

The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.

Parameters
[in]valueThe new value.

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