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

#include <ip_configuration.h>

Inheritance diagram for google_sqladmin_api::IpConfiguration:

Public Member Functions

 IpConfiguration (const Json::Value &storage)
 
 IpConfiguration (Json::Value *storage)
 
virtual ~IpConfiguration ()
 
const StringPiece GetTypeName () const
 
bool has_authorized_networks () const
 
void clear_authorized_networks ()
 
const client::JsonCppArray< AclEntryget_authorized_networks () const
 
client::JsonCppArray< AclEntrymutable_authorizedNetworks ()
 
bool has_ipv4_enabled () const
 
void clear_ipv4_enabled ()
 
bool get_ipv4_enabled () const
 
void set_ipv4_enabled (bool value)
 
bool has_private_network () const
 
void clear_private_network ()
 
const StringPiece get_private_network () const
 
void set_private_network (const StringPiece &value)
 
bool has_require_ssl () const
 
void clear_require_ssl ()
 
bool get_require_ssl () const
 
void set_require_ssl (bool value)
 

Static Public Member Functions

static IpConfigurationNew ()
 

Detailed Description

IP Management configuration.

Constructor & Destructor Documentation

◆ IpConfiguration() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ IpConfiguration() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~IpConfiguration()

google_sqladmin_api::IpConfiguration::~IpConfiguration ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_authorized_networks()

void google_sqladmin_api::IpConfiguration::clear_authorized_networks ( )
inline

Clears the 'authorizedNetworks' attribute.

◆ clear_ipv4_enabled()

void google_sqladmin_api::IpConfiguration::clear_ipv4_enabled ( )
inline

Clears the 'ipv4Enabled' attribute.

◆ clear_private_network()

void google_sqladmin_api::IpConfiguration::clear_private_network ( )
inline

Clears the 'privateNetwork' attribute.

◆ clear_require_ssl()

void google_sqladmin_api::IpConfiguration::clear_require_ssl ( )
inline

Clears the 'requireSsl' attribute.

◆ get_authorized_networks()

const client::JsonCppArray<AclEntry > google_sqladmin_api::IpConfiguration::get_authorized_networks ( ) const

Get a reference to the value of the 'authorizedNetworks' attribute.

◆ get_ipv4_enabled()

bool google_sqladmin_api::IpConfiguration::get_ipv4_enabled ( ) const
inline

Get the value of the 'ipv4Enabled' attribute.

◆ get_private_network()

const StringPiece google_sqladmin_api::IpConfiguration::get_private_network ( ) const
inline

Get the value of the 'privateNetwork' attribute.

◆ get_require_ssl()

bool google_sqladmin_api::IpConfiguration::get_require_ssl ( ) const
inline

Get the value of the 'requireSsl' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::IpConfiguration

◆ has_authorized_networks()

bool google_sqladmin_api::IpConfiguration::has_authorized_networks ( ) const
inline

Determine if the 'authorizedNetworks' attribute was set.

Returns
true if the 'authorizedNetworks' attribute was set.

◆ has_ipv4_enabled()

bool google_sqladmin_api::IpConfiguration::has_ipv4_enabled ( ) const
inline

Determine if the 'ipv4Enabled' attribute was set.

Returns
true if the 'ipv4Enabled' attribute was set.

◆ has_private_network()

bool google_sqladmin_api::IpConfiguration::has_private_network ( ) const
inline

Determine if the 'privateNetwork' attribute was set.

Returns
true if the 'privateNetwork' attribute was set.

◆ has_require_ssl()

bool google_sqladmin_api::IpConfiguration::has_require_ssl ( ) const
inline

Determine if the 'requireSsl' attribute was set.

Returns
true if the 'requireSsl' attribute was set.

◆ mutable_authorizedNetworks()

client::JsonCppArray<AclEntry > google_sqladmin_api::IpConfiguration::mutable_authorizedNetworks ( )

Gets a reference to a mutable value of the 'authorizedNetworks' property.

The list of external networks that are allowed to connect to the instance using the IP. In CIDR notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

Returns
The result can be modified to change the attribute value.

◆ New()

IpConfiguration * google_sqladmin_api::IpConfiguration::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ipv4_enabled()

void google_sqladmin_api::IpConfiguration::set_ipv4_enabled ( bool  value)
inline

Change the 'ipv4Enabled' attribute.

Whether the instance should be assigned an IP address or not.

Parameters
[in]valueThe new value.

◆ set_private_network()

void google_sqladmin_api::IpConfiguration::set_private_network ( const StringPiece &  value)
inline

Change the 'privateNetwork' attribute.

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, /projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

Parameters
[in]valueThe new value.

◆ set_require_ssl()

void google_sqladmin_api::IpConfiguration::set_require_ssl ( bool  value)
inline

Change the 'requireSsl' attribute.

Whether SSL connections over IP should be enforced or not.

Parameters
[in]valueThe new value.

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