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

#include <region.h>

Inheritance diagram for google_compute_api::Region:

Public Member Functions

 Region (const Json::Value &storage)
 
 Region (Json::Value *storage)
 
virtual ~Region ()
 
const StringPiece GetTypeName () const
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_deprecated () const
 
void clear_deprecated ()
 
const DeprecationStatus get_deprecated () const
 
DeprecationStatus mutable_deprecated ()
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_quotas () const
 
void clear_quotas ()
 
const client::JsonCppArray< Quotaget_quotas () const
 
client::JsonCppArray< Quotamutable_quotas ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_zones () const
 
void clear_zones ()
 
const client::JsonCppArray< string > get_zones () const
 
client::JsonCppArray< string > mutable_zones ()
 

Static Public Member Functions

static RegionNew ()
 

Detailed Description

Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions ==).

Constructor & Destructor Documentation

◆ Region() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Region() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Region()

google_compute_api::Region::~Region ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::Region::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_deprecated()

void google_compute_api::Region::clear_deprecated ( )
inline

Clears the 'deprecated' attribute.

◆ clear_description()

void google_compute_api::Region::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_compute_api::Region::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::Region::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::Region::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_quotas()

void google_compute_api::Region::clear_quotas ( )
inline

Clears the 'quotas' attribute.

◆ clear_self_link()

void google_compute_api::Region::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_status()

void google_compute_api::Region::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_zones()

void google_compute_api::Region::clear_zones ( )
inline

Clears the 'zones' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::Region::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_deprecated()

const DeprecationStatus google_compute_api::Region::get_deprecated ( ) const

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

◆ get_description()

const StringPiece google_compute_api::Region::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_id()

uint64 google_compute_api::Region::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::Region::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::Region::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_quotas()

const client::JsonCppArray<Quota > google_compute_api::Region::get_quotas ( ) const

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

◆ get_self_link()

const StringPiece google_compute_api::Region::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_status()

const StringPiece google_compute_api::Region::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_zones()

const client::JsonCppArray<string > google_compute_api::Region::get_zones ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::Region

◆ has_creation_timestamp()

bool google_compute_api::Region::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_deprecated()

bool google_compute_api::Region::has_deprecated ( ) const
inline

Determine if the 'deprecated' attribute was set.

Returns
true if the 'deprecated' attribute was set.

◆ has_description()

bool google_compute_api::Region::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_id()

bool google_compute_api::Region::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::Region::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_compute_api::Region::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_quotas()

bool google_compute_api::Region::has_quotas ( ) const
inline

Determine if the 'quotas' attribute was set.

Returns
true if the 'quotas' attribute was set.

◆ has_self_link()

bool google_compute_api::Region::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_status()

bool google_compute_api::Region::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_zones()

bool google_compute_api::Region::has_zones ( ) const
inline

Determine if the 'zones' attribute was set.

Returns
true if the 'zones' attribute was set.

◆ mutable_deprecated()

DeprecationStatus google_compute_api::Region::mutable_deprecated ( )

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

[Output Only] The deprecation status associated with this region.

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

◆ mutable_quotas()

client::JsonCppArray<Quota > google_compute_api::Region::mutable_quotas ( )

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

[Output Only] Quotas assigned to this region.

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

◆ mutable_zones()

client::JsonCppArray<string > google_compute_api::Region::mutable_zones ( )
inline

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

[Output Only] A list of zones available in this region, in the form of resource URLs.

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

◆ New()

Region * google_compute_api::Region::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::Region::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::Region::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

[Output Only] Textual description of the resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::Region::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::Region::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] Type of the resource. Always compute::region for regions.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::Region::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

[Output Only] Name of the resource.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::Region::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_status()

void google_compute_api::Region::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

[Output Only] Status of the region, either UP or DOWN.

Parameters
[in]valueThe new value.

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