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

#include <vm_endpoint_nat_mappings_interface_nat_mappings.h>

Inheritance diagram for google_compute_api::VmEndpointNatMappingsInterfaceNatMappings:

Public Member Functions

 VmEndpointNatMappingsInterfaceNatMappings (const Json::Value &storage)
 
 VmEndpointNatMappingsInterfaceNatMappings (Json::Value *storage)
 
virtual ~VmEndpointNatMappingsInterfaceNatMappings ()
 
const StringPiece GetTypeName () const
 
bool has_nat_ip_port_ranges () const
 
void clear_nat_ip_port_ranges ()
 
const client::JsonCppArray< string > get_nat_ip_port_ranges () const
 
client::JsonCppArray< string > mutable_natIpPortRanges ()
 
bool has_num_total_nat_ports () const
 
void clear_num_total_nat_ports ()
 
int32 get_num_total_nat_ports () const
 
void set_num_total_nat_ports (int32 value)
 
bool has_source_alias_ip_range () const
 
void clear_source_alias_ip_range ()
 
const StringPiece get_source_alias_ip_range () const
 
void set_source_alias_ip_range (const StringPiece &value)
 
bool has_source_virtual_ip () const
 
void clear_source_virtual_ip ()
 
const StringPiece get_source_virtual_ip () const
 
void set_source_virtual_ip (const StringPiece &value)
 

Static Public Member Functions

static VmEndpointNatMappingsInterfaceNatMappingsNew ()
 

Detailed Description

Contain information of Nat mapping for an interface of this endpoint.

Constructor & Destructor Documentation

◆ VmEndpointNatMappingsInterfaceNatMappings() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VmEndpointNatMappingsInterfaceNatMappings() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VmEndpointNatMappingsInterfaceNatMappings()

google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::~VmEndpointNatMappingsInterfaceNatMappings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_nat_ip_port_ranges()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::clear_nat_ip_port_ranges ( )
inline

Clears the 'natIpPortRanges' attribute.

◆ clear_num_total_nat_ports()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::clear_num_total_nat_ports ( )
inline

Clears the 'numTotalNatPorts' attribute.

◆ clear_source_alias_ip_range()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::clear_source_alias_ip_range ( )
inline

Clears the 'sourceAliasIpRange' attribute.

◆ clear_source_virtual_ip()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::clear_source_virtual_ip ( )
inline

Clears the 'sourceVirtualIp' attribute.

◆ get_nat_ip_port_ranges()

const client::JsonCppArray<string > google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::get_nat_ip_port_ranges ( ) const
inline

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

◆ get_num_total_nat_ports()

int32 google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::get_num_total_nat_ports ( ) const
inline

Get the value of the 'numTotalNatPorts' attribute.

◆ get_source_alias_ip_range()

const StringPiece google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::get_source_alias_ip_range ( ) const
inline

Get the value of the 'sourceAliasIpRange' attribute.

◆ get_source_virtual_ip()

const StringPiece google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::get_source_virtual_ip ( ) const
inline

Get the value of the 'sourceVirtualIp' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::VmEndpointNatMappingsInterfaceNatMappings

◆ has_nat_ip_port_ranges()

bool google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::has_nat_ip_port_ranges ( ) const
inline

Determine if the 'natIpPortRanges' attribute was set.

Returns
true if the 'natIpPortRanges' attribute was set.

◆ has_num_total_nat_ports()

bool google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::has_num_total_nat_ports ( ) const
inline

Determine if the 'numTotalNatPorts' attribute was set.

Returns
true if the 'numTotalNatPorts' attribute was set.

◆ has_source_alias_ip_range()

bool google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::has_source_alias_ip_range ( ) const
inline

Determine if the 'sourceAliasIpRange' attribute was set.

Returns
true if the 'sourceAliasIpRange' attribute was set.

◆ has_source_virtual_ip()

bool google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::has_source_virtual_ip ( ) const
inline

Determine if the 'sourceVirtualIp' attribute was set.

Returns
true if the 'sourceVirtualIp' attribute was set.

◆ mutable_natIpPortRanges()

client::JsonCppArray<string > google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::mutable_natIpPortRanges ( )
inline

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

A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].

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

◆ New()

VmEndpointNatMappingsInterfaceNatMappings * google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_num_total_nat_ports()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::set_num_total_nat_ports ( int32  value)
inline

Change the 'numTotalNatPorts' attribute.

Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.

Parameters
[in]valueThe new value.

◆ set_source_alias_ip_range()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::set_source_alias_ip_range ( const StringPiece &  value)
inline

Change the 'sourceAliasIpRange' attribute.

Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".

Parameters
[in]valueThe new value.

◆ set_source_virtual_ip()

void google_compute_api::VmEndpointNatMappingsInterfaceNatMappings::set_source_virtual_ip ( const StringPiece &  value)
inline

Change the 'sourceVirtualIp' attribute.

Primary IP of the VM for this NIC.

Parameters
[in]valueThe new value.

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