#include <region.h>
Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions ==).
◆ Region() [1/2]
google_compute_api::Region::Region |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Region()
google_compute_api::Region::~Region |
( |
| ) |
|
|
virtual |
◆ 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()
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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ set_name()
void google_compute_api::Region::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
[Output Only] Name of the resource.
- Parameters
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/compute_api/region.h
- google/compute_api/region.cc