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

#include <subnetwork_secondary_range.h>

Inheritance diagram for google_compute_api::SubnetworkSecondaryRange:

Public Member Functions

 SubnetworkSecondaryRange (const Json::Value &storage)
 
 SubnetworkSecondaryRange (Json::Value *storage)
 
virtual ~SubnetworkSecondaryRange ()
 
const StringPiece GetTypeName () const
 
bool has_ip_cidr_range () const
 
void clear_ip_cidr_range ()
 
const StringPiece get_ip_cidr_range () const
 
void set_ip_cidr_range (const StringPiece &value)
 
bool has_range_name () const
 
void clear_range_name ()
 
const StringPiece get_range_name () const
 
void set_range_name (const StringPiece &value)
 

Static Public Member Functions

static SubnetworkSecondaryRangeNew ()
 

Detailed Description

Represents a secondary IP range of a subnetwork.

Constructor & Destructor Documentation

◆ SubnetworkSecondaryRange() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SubnetworkSecondaryRange() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SubnetworkSecondaryRange()

google_compute_api::SubnetworkSecondaryRange::~SubnetworkSecondaryRange ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ip_cidr_range()

void google_compute_api::SubnetworkSecondaryRange::clear_ip_cidr_range ( )
inline

Clears the 'ipCidrRange' attribute.

◆ clear_range_name()

void google_compute_api::SubnetworkSecondaryRange::clear_range_name ( )
inline

Clears the 'rangeName' attribute.

◆ get_ip_cidr_range()

const StringPiece google_compute_api::SubnetworkSecondaryRange::get_ip_cidr_range ( ) const
inline

Get the value of the 'ipCidrRange' attribute.

◆ get_range_name()

const StringPiece google_compute_api::SubnetworkSecondaryRange::get_range_name ( ) const
inline

Get the value of the 'rangeName' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::SubnetworkSecondaryRange

◆ has_ip_cidr_range()

bool google_compute_api::SubnetworkSecondaryRange::has_ip_cidr_range ( ) const
inline

Determine if the 'ipCidrRange' attribute was set.

Returns
true if the 'ipCidrRange' attribute was set.

◆ has_range_name()

bool google_compute_api::SubnetworkSecondaryRange::has_range_name ( ) const
inline

Determine if the 'rangeName' attribute was set.

Returns
true if the 'rangeName' attribute was set.

◆ New()

SubnetworkSecondaryRange * google_compute_api::SubnetworkSecondaryRange::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ip_cidr_range()

void google_compute_api::SubnetworkSecondaryRange::set_ip_cidr_range ( const StringPiece &  value)
inline

Change the 'ipCidrRange' attribute.

The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported.

Parameters
[in]valueThe new value.

◆ set_range_name()

void google_compute_api::SubnetworkSecondaryRange::set_range_name ( const StringPiece &  value)
inline

Change the 'rangeName' attribute.

The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.

Parameters
[in]valueThe new value.

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