sqladmin  v1beta4
Public Member Functions | Static Public Member Functions | List of all members
google_sqladmin_api::IpMapping Class Reference

#include <ip_mapping.h>

Inheritance diagram for google_sqladmin_api::IpMapping:

Public Member Functions

 IpMapping (const Json::Value &storage)
 
 IpMapping (Json::Value *storage)
 
virtual ~IpMapping ()
 
const StringPiece GetTypeName () const
 
bool has_ip_address () const
 
void clear_ip_address ()
 
const StringPiece get_ip_address () const
 
void set_ip_address (const StringPiece &value)
 
bool has_time_to_retire () const
 
void clear_time_to_retire ()
 
client::DateTime get_time_to_retire () const
 
void set_time_to_retire (client::DateTime value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static IpMappingNew ()
 

Detailed Description

Database instance IP Mapping.

Constructor & Destructor Documentation

◆ IpMapping() [1/2]

google_sqladmin_api::IpMapping::IpMapping ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ IpMapping() [2/2]

google_sqladmin_api::IpMapping::IpMapping ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~IpMapping()

google_sqladmin_api::IpMapping::~IpMapping ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ip_address()

void google_sqladmin_api::IpMapping::clear_ip_address ( )
inline

Clears the 'ipAddress' attribute.

◆ clear_time_to_retire()

void google_sqladmin_api::IpMapping::clear_time_to_retire ( )
inline

Clears the 'timeToRetire' attribute.

◆ clear_type()

void google_sqladmin_api::IpMapping::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_ip_address()

const StringPiece google_sqladmin_api::IpMapping::get_ip_address ( ) const
inline

Get the value of the 'ipAddress' attribute.

◆ get_time_to_retire()

client::DateTime google_sqladmin_api::IpMapping::get_time_to_retire ( ) const
inline

Get the value of the 'timeToRetire' attribute.

◆ get_type()

const StringPiece google_sqladmin_api::IpMapping::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

const StringPiece google_sqladmin_api::IpMapping::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::IpMapping

◆ has_ip_address()

bool google_sqladmin_api::IpMapping::has_ip_address ( ) const
inline

Determine if the 'ipAddress' attribute was set.

Returns
true if the 'ipAddress' attribute was set.

◆ has_time_to_retire()

bool google_sqladmin_api::IpMapping::has_time_to_retire ( ) const
inline

Determine if the 'timeToRetire' attribute was set.

Returns
true if the 'timeToRetire' attribute was set.

◆ has_type()

bool google_sqladmin_api::IpMapping::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

IpMapping * google_sqladmin_api::IpMapping::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ip_address()

void google_sqladmin_api::IpMapping::set_ip_address ( const StringPiece &  value)
inline

Change the 'ipAddress' attribute.

The IP address assigned.

Parameters
[in]valueThe new value.

◆ set_time_to_retire()

void google_sqladmin_api::IpMapping::set_time_to_retire ( client::DateTime  value)
inline

Change the 'timeToRetire' attribute.

The due time for this IP to be retired in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.

Parameters
[in]valueThe new value.

◆ set_type()

void google_sqladmin_api::IpMapping::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of this IP address. A PRIMARY address is a public address that can accept incoming connections. A PRIVATE address is a private address that can accept incoming connections. An OUTGOING address is the source address of connections originating from the instance, if supported.

Parameters
[in]valueThe new value.

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