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

#include <vm_endpoint_nat_mappings.h>

Inheritance diagram for google_compute_api::VmEndpointNatMappings:

Public Member Functions

 VmEndpointNatMappings (const Json::Value &storage)
 
 VmEndpointNatMappings (Json::Value *storage)
 
virtual ~VmEndpointNatMappings ()
 
const StringPiece GetTypeName () const
 
bool has_instance_name () const
 
void clear_instance_name ()
 
const StringPiece get_instance_name () const
 
void set_instance_name (const StringPiece &value)
 
bool has_interface_nat_mappings () const
 
void clear_interface_nat_mappings ()
 
const client::JsonCppArray< VmEndpointNatMappingsInterfaceNatMappingsget_interface_nat_mappings () const
 
client::JsonCppArray< VmEndpointNatMappingsInterfaceNatMappingsmutable_interfaceNatMappings ()
 

Static Public Member Functions

static VmEndpointNatMappingsNew ()
 

Detailed Description

Contain information of Nat mapping for a VM endpoint (i.e., NIC).

Constructor & Destructor Documentation

◆ VmEndpointNatMappings() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VmEndpointNatMappings() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VmEndpointNatMappings()

google_compute_api::VmEndpointNatMappings::~VmEndpointNatMappings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_instance_name()

void google_compute_api::VmEndpointNatMappings::clear_instance_name ( )
inline

Clears the 'instanceName' attribute.

◆ clear_interface_nat_mappings()

void google_compute_api::VmEndpointNatMappings::clear_interface_nat_mappings ( )
inline

Clears the 'interfaceNatMappings' attribute.

◆ get_instance_name()

const StringPiece google_compute_api::VmEndpointNatMappings::get_instance_name ( ) const
inline

Get the value of the 'instanceName' attribute.

◆ get_interface_nat_mappings()

const client::JsonCppArray<VmEndpointNatMappingsInterfaceNatMappings > google_compute_api::VmEndpointNatMappings::get_interface_nat_mappings ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::VmEndpointNatMappings

◆ has_instance_name()

bool google_compute_api::VmEndpointNatMappings::has_instance_name ( ) const
inline

Determine if the 'instanceName' attribute was set.

Returns
true if the 'instanceName' attribute was set.

◆ has_interface_nat_mappings()

bool google_compute_api::VmEndpointNatMappings::has_interface_nat_mappings ( ) const
inline

Determine if the 'interfaceNatMappings' attribute was set.

Returns
true if the 'interfaceNatMappings' attribute was set.

◆ mutable_interfaceNatMappings()

client::JsonCppArray<VmEndpointNatMappingsInterfaceNatMappings > google_compute_api::VmEndpointNatMappings::mutable_interfaceNatMappings ( )

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

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

◆ New()

VmEndpointNatMappings * google_compute_api::VmEndpointNatMappings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_instance_name()

void google_compute_api::VmEndpointNatMappings::set_instance_name ( const StringPiece &  value)
inline

Change the 'instanceName' attribute.

Name of the VM instance which the endpoint belongs to.

Parameters
[in]valueThe new value.

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