compute
v1
|
#include <project.h>
Public Member Functions | |
Project (const Json::Value &storage) | |
Project (Json::Value *storage) | |
virtual | ~Project () |
const StringPiece | GetTypeName () const |
bool | has_common_instance_metadata () const |
void | clear_common_instance_metadata () |
const Metadata | get_common_instance_metadata () const |
Metadata | mutable_commonInstanceMetadata () |
bool | has_creation_timestamp () const |
void | clear_creation_timestamp () |
const StringPiece | get_creation_timestamp () const |
void | set_creation_timestamp (const StringPiece &value) |
bool | has_default_network_tier () const |
void | clear_default_network_tier () |
const StringPiece | get_default_network_tier () const |
void | set_default_network_tier (const StringPiece &value) |
bool | has_default_service_account () const |
void | clear_default_service_account () |
const StringPiece | get_default_service_account () const |
void | set_default_service_account (const StringPiece &value) |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_enabled_features () const |
void | clear_enabled_features () |
const client::JsonCppArray< string > | get_enabled_features () const |
client::JsonCppArray< string > | mutable_enabledFeatures () |
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< Quota > | get_quotas () const |
client::JsonCppArray< Quota > | mutable_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_usage_export_location () const |
void | clear_usage_export_location () |
const UsageExportLocation | get_usage_export_location () const |
UsageExportLocation | mutable_usageExportLocation () |
bool | has_xpn_project_status () const |
void | clear_xpn_project_status () |
const StringPiece | get_xpn_project_status () const |
void | set_xpn_project_status (const StringPiece &value) |
Static Public Member Functions | |
static Project * | New () |
A Project resource. For an overview of projects, see Cloud Platform Resource Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==).
|
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 'commonInstanceMetadata
' attribute.
|
inline |
Clears the 'creationTimestamp
' attribute.
|
inline |
Clears the 'defaultNetworkTier
' attribute.
|
inline |
Clears the 'defaultServiceAccount
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'enabledFeatures
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'quotas
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'usageExportLocation
' attribute.
|
inline |
Clears the 'xpnProjectStatus
' attribute.
const Metadata google_compute_api::Project::get_common_instance_metadata | ( | ) | const |
Get a reference to the value of the 'commonInstanceMetadata
' attribute.
|
inline |
Get the value of the 'creationTimestamp
' attribute.
|
inline |
Get the value of the 'defaultNetworkTier
' attribute.
|
inline |
Get the value of the 'defaultServiceAccount
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get a reference to the value of the 'enabledFeatures
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
const client::JsonCppArray<Quota > google_compute_api::Project::get_quotas | ( | ) | const |
Get a reference to the value of the 'quotas
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
const UsageExportLocation google_compute_api::Project::get_usage_export_location | ( | ) | const |
Get a reference to the value of the 'usageExportLocation
' attribute.
|
inline |
Get the value of the 'xpnProjectStatus
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_compute_api::Project
|
inline |
Determine if the 'commonInstanceMetadata
' attribute was set.
commonInstanceMetadata
' attribute was set.
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
creationTimestamp
' attribute was set.
|
inline |
Determine if the 'defaultNetworkTier
' attribute was set.
defaultNetworkTier
' attribute was set.
|
inline |
Determine if the 'defaultServiceAccount
' attribute was set.
defaultServiceAccount
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'enabledFeatures
' attribute was set.
enabledFeatures
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'quotas
' attribute was set.
quotas
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'usageExportLocation
' attribute was set.
usageExportLocation
' attribute was set.
|
inline |
Determine if the 'xpnProjectStatus
' attribute was set.
xpnProjectStatus
' attribute was set. Metadata google_compute_api::Project::mutable_commonInstanceMetadata | ( | ) |
Gets a reference to a mutable value of the 'commonInstanceMetadata
' property.
Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
|
inline |
Gets a reference to a mutable value of the 'enabledFeatures
' property.
Restricted features enabled for use on this project.
client::JsonCppArray<Quota > google_compute_api::Project::mutable_quotas | ( | ) |
Gets a reference to a mutable value of the 'quotas
' property.
[Output Only] Quotas assigned to this project.
UsageExportLocation google_compute_api::Project::mutable_usageExportLocation | ( | ) |
Gets a reference to a mutable value of the 'usageExportLocation
' property.
The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
|
static |
Creates a new default instance.
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'defaultNetworkTier
' attribute.
This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.
[in] | value | The new value. |
|
inline |
Change the 'defaultServiceAccount
' attribute.
[Output Only] Default service account used by VMs running in this project.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
An optional textual description of the resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of the resource. Always compute::project for projects.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'xpnProjectStatus
' attribute.
[Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated.
[in] | value | The new value. |