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

#include <alias_ip_range.h>

Inheritance diagram for google_compute_api::AliasIpRange:

Public Member Functions

 AliasIpRange (const Json::Value &storage)
 
 AliasIpRange (Json::Value *storage)
 
virtual ~AliasIpRange ()
 
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_subnetwork_range_name () const
 
void clear_subnetwork_range_name ()
 
const StringPiece get_subnetwork_range_name () const
 
void set_subnetwork_range_name (const StringPiece &value)
 

Static Public Member Functions

static AliasIpRangeNew ()
 

Detailed Description

An alias IP range attached to an instance's network interface.

Constructor & Destructor Documentation

◆ AliasIpRange() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AliasIpRange() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AliasIpRange()

google_compute_api::AliasIpRange::~AliasIpRange ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ip_cidr_range()

void google_compute_api::AliasIpRange::clear_ip_cidr_range ( )
inline

Clears the 'ipCidrRange' attribute.

◆ clear_subnetwork_range_name()

void google_compute_api::AliasIpRange::clear_subnetwork_range_name ( )
inline

Clears the 'subnetworkRangeName' attribute.

◆ get_ip_cidr_range()

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

Get the value of the 'ipCidrRange' attribute.

◆ get_subnetwork_range_name()

const StringPiece google_compute_api::AliasIpRange::get_subnetwork_range_name ( ) const
inline

Get the value of the 'subnetworkRangeName' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::AliasIpRange

◆ has_ip_cidr_range()

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

Determine if the 'ipCidrRange' attribute was set.

Returns
true if the 'ipCidrRange' attribute was set.

◆ has_subnetwork_range_name()

bool google_compute_api::AliasIpRange::has_subnetwork_range_name ( ) const
inline

Determine if the 'subnetworkRangeName' attribute was set.

Returns
true if the 'subnetworkRangeName' attribute was set.

◆ New()

AliasIpRange * google_compute_api::AliasIpRange::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ip_cidr_range()

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

Change the 'ipCidrRange' attribute.

The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24).

Parameters
[in]valueThe new value.

◆ set_subnetwork_range_name()

void google_compute_api::AliasIpRange::set_subnetwork_range_name ( const StringPiece &  value)
inline

Change the 'subnetworkRangeName' attribute.

Optional subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.

Parameters
[in]valueThe new value.

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