|
cloudresourcemanager
v1beta1
|
#include <resource_id.h>
Public Member Functions | |
| ResourceId (const Json::Value &storage) | |
| ResourceId (Json::Value *storage) | |
| virtual | ~ResourceId () |
| const StringPiece | GetTypeName () const |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_type () const |
| void | clear_type () |
| const StringPiece | get_type () const |
| void | set_type (const StringPiece &value) |
Static Public Member Functions | |
| static ResourceId * | New () |
A container to reference an id for any resource type. A resource in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'type' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'type' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'type' attribute was set.
type' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'id' attribute.
Required field for the type-specific id. This should correspond to the id used in the type-specific API's.
| [in] | value | The new value. |
|
inline |
Change the 'type' attribute.
Required field representing the resource type this id is for. At present, the valid types are "project", "folder", and "organization".
| [in] | value | The new value. |