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

#include <router_status_nat_status.h>

Inheritance diagram for google_compute_api::RouterStatusNatStatus:

Public Member Functions

 RouterStatusNatStatus (const Json::Value &storage)
 
 RouterStatusNatStatus (Json::Value *storage)
 
virtual ~RouterStatusNatStatus ()
 
const StringPiece GetTypeName () const
 
bool has_auto_allocated_nat_ips () const
 
void clear_auto_allocated_nat_ips ()
 
const client::JsonCppArray< string > get_auto_allocated_nat_ips () const
 
client::JsonCppArray< string > mutable_autoAllocatedNatIps ()
 
bool has_min_extra_nat_ips_needed () const
 
void clear_min_extra_nat_ips_needed ()
 
int32 get_min_extra_nat_ips_needed () const
 
void set_min_extra_nat_ips_needed (int32 value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_num_vm_endpoints_with_nat_mappings () const
 
void clear_num_vm_endpoints_with_nat_mappings ()
 
int32 get_num_vm_endpoints_with_nat_mappings () const
 
void set_num_vm_endpoints_with_nat_mappings (int32 value)
 
bool has_user_allocated_nat_ip_resources () const
 
void clear_user_allocated_nat_ip_resources ()
 
const client::JsonCppArray< string > get_user_allocated_nat_ip_resources () const
 
client::JsonCppArray< string > mutable_userAllocatedNatIpResources ()
 
bool has_user_allocated_nat_ips () const
 
void clear_user_allocated_nat_ips ()
 
const client::JsonCppArray< string > get_user_allocated_nat_ips () const
 
client::JsonCppArray< string > mutable_userAllocatedNatIps ()
 

Static Public Member Functions

static RouterStatusNatStatusNew ()
 

Detailed Description

Status of a NAT contained in this router. Next tag: 9.

Constructor & Destructor Documentation

◆ RouterStatusNatStatus() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RouterStatusNatStatus() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RouterStatusNatStatus()

google_compute_api::RouterStatusNatStatus::~RouterStatusNatStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_allocated_nat_ips()

void google_compute_api::RouterStatusNatStatus::clear_auto_allocated_nat_ips ( )
inline

Clears the 'autoAllocatedNatIps' attribute.

◆ clear_min_extra_nat_ips_needed()

void google_compute_api::RouterStatusNatStatus::clear_min_extra_nat_ips_needed ( )
inline

Clears the 'minExtraNatIpsNeeded' attribute.

◆ clear_name()

void google_compute_api::RouterStatusNatStatus::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_num_vm_endpoints_with_nat_mappings()

void google_compute_api::RouterStatusNatStatus::clear_num_vm_endpoints_with_nat_mappings ( )
inline

Clears the 'numVmEndpointsWithNatMappings' attribute.

◆ clear_user_allocated_nat_ip_resources()

void google_compute_api::RouterStatusNatStatus::clear_user_allocated_nat_ip_resources ( )
inline

Clears the 'userAllocatedNatIpResources' attribute.

◆ clear_user_allocated_nat_ips()

void google_compute_api::RouterStatusNatStatus::clear_user_allocated_nat_ips ( )
inline

Clears the 'userAllocatedNatIps' attribute.

◆ get_auto_allocated_nat_ips()

const client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::get_auto_allocated_nat_ips ( ) const
inline

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

◆ get_min_extra_nat_ips_needed()

int32 google_compute_api::RouterStatusNatStatus::get_min_extra_nat_ips_needed ( ) const
inline

Get the value of the 'minExtraNatIpsNeeded' attribute.

◆ get_name()

const StringPiece google_compute_api::RouterStatusNatStatus::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_num_vm_endpoints_with_nat_mappings()

int32 google_compute_api::RouterStatusNatStatus::get_num_vm_endpoints_with_nat_mappings ( ) const
inline

Get the value of the 'numVmEndpointsWithNatMappings' attribute.

◆ get_user_allocated_nat_ip_resources()

const client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::get_user_allocated_nat_ip_resources ( ) const
inline

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

◆ get_user_allocated_nat_ips()

const client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::get_user_allocated_nat_ips ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::RouterStatusNatStatus

◆ has_auto_allocated_nat_ips()

bool google_compute_api::RouterStatusNatStatus::has_auto_allocated_nat_ips ( ) const
inline

Determine if the 'autoAllocatedNatIps' attribute was set.

Returns
true if the 'autoAllocatedNatIps' attribute was set.

◆ has_min_extra_nat_ips_needed()

bool google_compute_api::RouterStatusNatStatus::has_min_extra_nat_ips_needed ( ) const
inline

Determine if the 'minExtraNatIpsNeeded' attribute was set.

Returns
true if the 'minExtraNatIpsNeeded' attribute was set.

◆ has_name()

bool google_compute_api::RouterStatusNatStatus::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_num_vm_endpoints_with_nat_mappings()

bool google_compute_api::RouterStatusNatStatus::has_num_vm_endpoints_with_nat_mappings ( ) const
inline

Determine if the 'numVmEndpointsWithNatMappings' attribute was set.

Returns
true if the 'numVmEndpointsWithNatMappings' attribute was set.

◆ has_user_allocated_nat_ip_resources()

bool google_compute_api::RouterStatusNatStatus::has_user_allocated_nat_ip_resources ( ) const
inline

Determine if the 'userAllocatedNatIpResources' attribute was set.

Returns
true if the 'userAllocatedNatIpResources' attribute was set.

◆ has_user_allocated_nat_ips()

bool google_compute_api::RouterStatusNatStatus::has_user_allocated_nat_ips ( ) const
inline

Determine if the 'userAllocatedNatIps' attribute was set.

Returns
true if the 'userAllocatedNatIps' attribute was set.

◆ mutable_autoAllocatedNatIps()

client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::mutable_autoAllocatedNatIps ( )
inline

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

A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"].

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

◆ mutable_userAllocatedNatIpResources()

client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::mutable_userAllocatedNatIpResources ( )
inline

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

A list of fully qualified URLs of reserved IP address resources.

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

◆ mutable_userAllocatedNatIps()

client::JsonCppArray<string > google_compute_api::RouterStatusNatStatus::mutable_userAllocatedNatIps ( )
inline

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

A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".

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

◆ New()

RouterStatusNatStatus * google_compute_api::RouterStatusNatStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_min_extra_nat_ips_needed()

void google_compute_api::RouterStatusNatStatus::set_min_extra_nat_ips_needed ( int32  value)
inline

Change the 'minExtraNatIpsNeeded' attribute.

The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is not used.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::RouterStatusNatStatus::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Unique name of this NAT.

Parameters
[in]valueThe new value.

◆ set_num_vm_endpoints_with_nat_mappings()

void google_compute_api::RouterStatusNatStatus::set_num_vm_endpoints_with_nat_mappings ( int32  value)
inline

Change the 'numVmEndpointsWithNatMappings' attribute.

Number of VM endpoints (i.e., Nics) that can use NAT.

Parameters
[in]valueThe new value.

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