#include <quota.h>
◆ Quota() [1/2]
google_compute_api::Quota::Quota |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ Quota() [2/2]
google_compute_api::Quota::Quota |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~Quota()
google_compute_api::Quota::~Quota |
( |
| ) |
|
|
virtual |
◆ clear_limit()
void google_compute_api::Quota::clear_limit |
( |
| ) |
|
|
inline |
Clears the 'limit
' attribute.
◆ clear_metric()
void google_compute_api::Quota::clear_metric |
( |
| ) |
|
|
inline |
Clears the 'metric
' attribute.
◆ clear_owner()
void google_compute_api::Quota::clear_owner |
( |
| ) |
|
|
inline |
Clears the 'owner
' attribute.
◆ clear_usage()
void google_compute_api::Quota::clear_usage |
( |
| ) |
|
|
inline |
Clears the 'usage
' attribute.
◆ get_limit()
double google_compute_api::Quota::get_limit |
( |
| ) |
const |
|
inline |
Get the value of the 'limit
' attribute.
◆ get_metric()
const StringPiece google_compute_api::Quota::get_metric |
( |
| ) |
const |
|
inline |
Get the value of the 'metric
' attribute.
◆ get_owner()
const StringPiece google_compute_api::Quota::get_owner |
( |
| ) |
const |
|
inline |
Get the value of the 'owner
' attribute.
◆ get_usage()
double google_compute_api::Quota::get_usage |
( |
| ) |
const |
|
inline |
Get the value of the 'usage
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::Quota::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_limit()
bool google_compute_api::Quota::has_limit |
( |
| ) |
const |
|
inline |
Determine if the 'limit
' attribute was set.
- Returns
- true if the '
limit
' attribute was set.
◆ has_metric()
bool google_compute_api::Quota::has_metric |
( |
| ) |
const |
|
inline |
Determine if the 'metric
' attribute was set.
- Returns
- true if the '
metric
' attribute was set.
◆ has_owner()
bool google_compute_api::Quota::has_owner |
( |
| ) |
const |
|
inline |
Determine if the 'owner
' attribute was set.
- Returns
- true if the '
owner
' attribute was set.
◆ has_usage()
bool google_compute_api::Quota::has_usage |
( |
| ) |
const |
|
inline |
Determine if the 'usage
' attribute was set.
- Returns
- true if the '
usage
' attribute was set.
◆ New()
Quota * google_compute_api::Quota::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_limit()
void google_compute_api::Quota::set_limit |
( |
double |
value | ) |
|
|
inline |
Change the 'limit
' attribute.
[Output Only] Quota limit for this metric.
- Parameters
-
◆ set_metric()
void google_compute_api::Quota::set_metric |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'metric
' attribute.
[Output Only] Name of the quota metric.
- Parameters
-
◆ set_owner()
void google_compute_api::Quota::set_owner |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'owner
' attribute.
[Output Only] Owning resource. This is the resource on which this quota is applied.
- Parameters
-
◆ set_usage()
void google_compute_api::Quota::set_usage |
( |
double |
value | ) |
|
|
inline |
Change the 'usage
' attribute.
[Output Only] Current usage of this metric.
- Parameters
-
The documentation for this class was generated from the following files:
- google/compute_api/quota.h
- google/compute_api/quota.cc