#include <xpn_resource_id.h>
Service resource (a.k.a service project) ID.
◆ XpnResourceId() [1/2]
google_compute_api::XpnResourceId::XpnResourceId |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ XpnResourceId() [2/2]
google_compute_api::XpnResourceId::XpnResourceId |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~XpnResourceId()
google_compute_api::XpnResourceId::~XpnResourceId |
( |
| ) |
|
|
virtual |
◆ clear_id()
void google_compute_api::XpnResourceId::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_type()
void google_compute_api::XpnResourceId::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type
' attribute.
◆ get_id()
const StringPiece google_compute_api::XpnResourceId::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_type()
const StringPiece google_compute_api::XpnResourceId::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::XpnResourceId::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_id()
bool google_compute_api::XpnResourceId::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_type()
bool google_compute_api::XpnResourceId::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type
' attribute was set.
- Returns
- true if the '
type
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_id()
void google_compute_api::XpnResourceId::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).
- Parameters
-
◆ set_type()
void google_compute_api::XpnResourceId::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type
' attribute.
The type of the service resource.
- Parameters
-
The documentation for this class was generated from the following files: