container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::UsableSubnetwork Class Reference

#include <usable_subnetwork.h>

Inheritance diagram for google_container_api::UsableSubnetwork:

Public Member Functions

 UsableSubnetwork (const Json::Value &storage)
 
 UsableSubnetwork (Json::Value *storage)
 
virtual ~UsableSubnetwork ()
 
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_network () const
 
void clear_network ()
 
const StringPiece get_network () const
 
void set_network (const StringPiece &value)
 
bool has_secondary_ip_ranges () const
 
void clear_secondary_ip_ranges ()
 
const client::JsonCppArray< UsableSubnetworkSecondaryRangeget_secondary_ip_ranges () const
 
client::JsonCppArray< UsableSubnetworkSecondaryRangemutable_secondaryIpRanges ()
 
bool has_status_message () const
 
void clear_status_message ()
 
const StringPiece get_status_message () const
 
void set_status_message (const StringPiece &value)
 
bool has_subnetwork () const
 
void clear_subnetwork ()
 
const StringPiece get_subnetwork () const
 
void set_subnetwork (const StringPiece &value)
 

Static Public Member Functions

static UsableSubnetworkNew ()
 

Detailed Description

UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.

Constructor & Destructor Documentation

◆ UsableSubnetwork() [1/2]

google_container_api::UsableSubnetwork::UsableSubnetwork ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ UsableSubnetwork() [2/2]

google_container_api::UsableSubnetwork::UsableSubnetwork ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~UsableSubnetwork()

google_container_api::UsableSubnetwork::~UsableSubnetwork ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ip_cidr_range()

void google_container_api::UsableSubnetwork::clear_ip_cidr_range ( )
inline

Clears the 'ipCidrRange' attribute.

◆ clear_network()

void google_container_api::UsableSubnetwork::clear_network ( )
inline

Clears the 'network' attribute.

◆ clear_secondary_ip_ranges()

void google_container_api::UsableSubnetwork::clear_secondary_ip_ranges ( )
inline

Clears the 'secondaryIpRanges' attribute.

◆ clear_status_message()

void google_container_api::UsableSubnetwork::clear_status_message ( )
inline

Clears the 'statusMessage' attribute.

◆ clear_subnetwork()

void google_container_api::UsableSubnetwork::clear_subnetwork ( )
inline

Clears the 'subnetwork' attribute.

◆ get_ip_cidr_range()

const StringPiece google_container_api::UsableSubnetwork::get_ip_cidr_range ( ) const
inline

Get the value of the 'ipCidrRange' attribute.

◆ get_network()

const StringPiece google_container_api::UsableSubnetwork::get_network ( ) const
inline

Get the value of the 'network' attribute.

◆ get_secondary_ip_ranges()

const client::JsonCppArray<UsableSubnetworkSecondaryRange > google_container_api::UsableSubnetwork::get_secondary_ip_ranges ( ) const

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

◆ get_status_message()

const StringPiece google_container_api::UsableSubnetwork::get_status_message ( ) const
inline

Get the value of the 'statusMessage' attribute.

◆ get_subnetwork()

const StringPiece google_container_api::UsableSubnetwork::get_subnetwork ( ) const
inline

Get the value of the 'subnetwork' attribute.

◆ GetTypeName()

const StringPiece google_container_api::UsableSubnetwork::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::UsableSubnetwork

◆ has_ip_cidr_range()

bool google_container_api::UsableSubnetwork::has_ip_cidr_range ( ) const
inline

Determine if the 'ipCidrRange' attribute was set.

Returns
true if the 'ipCidrRange' attribute was set.

◆ has_network()

bool google_container_api::UsableSubnetwork::has_network ( ) const
inline

Determine if the 'network' attribute was set.

Returns
true if the 'network' attribute was set.

◆ has_secondary_ip_ranges()

bool google_container_api::UsableSubnetwork::has_secondary_ip_ranges ( ) const
inline

Determine if the 'secondaryIpRanges' attribute was set.

Returns
true if the 'secondaryIpRanges' attribute was set.

◆ has_status_message()

bool google_container_api::UsableSubnetwork::has_status_message ( ) const
inline

Determine if the 'statusMessage' attribute was set.

Returns
true if the 'statusMessage' attribute was set.

◆ has_subnetwork()

bool google_container_api::UsableSubnetwork::has_subnetwork ( ) const
inline

Determine if the 'subnetwork' attribute was set.

Returns
true if the 'subnetwork' attribute was set.

◆ mutable_secondaryIpRanges()

client::JsonCppArray<UsableSubnetworkSecondaryRange > google_container_api::UsableSubnetwork::mutable_secondaryIpRanges ( )

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

Secondary IP ranges.

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

◆ New()

UsableSubnetwork * google_container_api::UsableSubnetwork::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ip_cidr_range()

void google_container_api::UsableSubnetwork::set_ip_cidr_range ( const StringPiece &  value)
inline

Change the 'ipCidrRange' attribute.

The range of internal addresses that are owned by this subnetwork.

Parameters
[in]valueThe new value.

◆ set_network()

void google_container_api::UsableSubnetwork::set_network ( const StringPiece &  value)
inline

Change the 'network' attribute.

Network Name. Example: projects/my-project/global/networks/my-network.

Parameters
[in]valueThe new value.

◆ set_status_message()

void google_container_api::UsableSubnetwork::set_status_message ( const StringPiece &  value)
inline

Change the 'statusMessage' attribute.

A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

Parameters
[in]valueThe new value.

◆ set_subnetwork()

void google_container_api::UsableSubnetwork::set_subnetwork ( const StringPiece &  value)
inline

Change the 'subnetwork' attribute.

Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet.

Parameters
[in]valueThe new value.

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