compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::Project Class Reference

#include <project.h>

Inheritance diagram for google_compute_api::Project:

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< Quotaget_quotas () const
 
client::JsonCppArray< Quotamutable_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 ProjectNew ()
 

Detailed Description

A Project resource. For an overview of projects, see Cloud Platform Resource Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==).

Constructor & Destructor Documentation

◆ Project() [1/2]

google_compute_api::Project::Project ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Project() [2/2]

google_compute_api::Project::Project ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Project()

google_compute_api::Project::~Project ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_common_instance_metadata()

void google_compute_api::Project::clear_common_instance_metadata ( )
inline

Clears the 'commonInstanceMetadata' attribute.

◆ clear_creation_timestamp()

void google_compute_api::Project::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_default_network_tier()

void google_compute_api::Project::clear_default_network_tier ( )
inline

Clears the 'defaultNetworkTier' attribute.

◆ clear_default_service_account()

void google_compute_api::Project::clear_default_service_account ( )
inline

Clears the 'defaultServiceAccount' attribute.

◆ clear_description()

void google_compute_api::Project::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_enabled_features()

void google_compute_api::Project::clear_enabled_features ( )
inline

Clears the 'enabledFeatures' attribute.

◆ clear_id()

void google_compute_api::Project::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::Project::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::Project::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_quotas()

void google_compute_api::Project::clear_quotas ( )
inline

Clears the 'quotas' attribute.

◆ clear_self_link()

void google_compute_api::Project::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_usage_export_location()

void google_compute_api::Project::clear_usage_export_location ( )
inline

Clears the 'usageExportLocation' attribute.

◆ clear_xpn_project_status()

void google_compute_api::Project::clear_xpn_project_status ( )
inline

Clears the 'xpnProjectStatus' attribute.

◆ get_common_instance_metadata()

const Metadata google_compute_api::Project::get_common_instance_metadata ( ) const

Get a reference to the value of the 'commonInstanceMetadata' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::Project::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_default_network_tier()

const StringPiece google_compute_api::Project::get_default_network_tier ( ) const
inline

Get the value of the 'defaultNetworkTier' attribute.

◆ get_default_service_account()

const StringPiece google_compute_api::Project::get_default_service_account ( ) const
inline

Get the value of the 'defaultServiceAccount' attribute.

◆ get_description()

const StringPiece google_compute_api::Project::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_enabled_features()

const client::JsonCppArray<string > google_compute_api::Project::get_enabled_features ( ) const
inline

Get a reference to the value of the 'enabledFeatures' attribute.

◆ get_id()

uint64 google_compute_api::Project::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::Project::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::Project::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_quotas()

const client::JsonCppArray<Quota > google_compute_api::Project::get_quotas ( ) const

Get a reference to the value of the 'quotas' attribute.

◆ get_self_link()

const StringPiece google_compute_api::Project::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_usage_export_location()

const UsageExportLocation google_compute_api::Project::get_usage_export_location ( ) const

Get a reference to the value of the 'usageExportLocation' attribute.

◆ get_xpn_project_status()

const StringPiece google_compute_api::Project::get_xpn_project_status ( ) const
inline

Get the value of the 'xpnProjectStatus' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::Project::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::Project

◆ has_common_instance_metadata()

bool google_compute_api::Project::has_common_instance_metadata ( ) const
inline

Determine if the 'commonInstanceMetadata' attribute was set.

Returns
true if the 'commonInstanceMetadata' attribute was set.

◆ has_creation_timestamp()

bool google_compute_api::Project::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_default_network_tier()

bool google_compute_api::Project::has_default_network_tier ( ) const
inline

Determine if the 'defaultNetworkTier' attribute was set.

Returns
true if the 'defaultNetworkTier' attribute was set.

◆ has_default_service_account()

bool google_compute_api::Project::has_default_service_account ( ) const
inline

Determine if the 'defaultServiceAccount' attribute was set.

Returns
true if the 'defaultServiceAccount' attribute was set.

◆ has_description()

bool google_compute_api::Project::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_enabled_features()

bool google_compute_api::Project::has_enabled_features ( ) const
inline

Determine if the 'enabledFeatures' attribute was set.

Returns
true if the 'enabledFeatures' attribute was set.

◆ has_id()

bool google_compute_api::Project::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::Project::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::Project::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::Project::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::Project::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_usage_export_location()

bool google_compute_api::Project::has_usage_export_location ( ) const
inline

Determine if the 'usageExportLocation' attribute was set.

Returns
true if the 'usageExportLocation' attribute was set.

◆ has_xpn_project_status()

bool google_compute_api::Project::has_xpn_project_status ( ) const
inline

Determine if the 'xpnProjectStatus' attribute was set.

Returns
true if the 'xpnProjectStatus' attribute was set.

◆ mutable_commonInstanceMetadata()

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.

Returns
The result can be modified to change the attribute value.

◆ mutable_enabledFeatures()

client::JsonCppArray<string > google_compute_api::Project::mutable_enabledFeatures ( )
inline

Gets a reference to a mutable value of the 'enabledFeatures' property.

Restricted features enabled for use on this project.

Returns
The result can be modified to change the attribute value.

◆ mutable_quotas()

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.

Returns
The result can be modified to change the attribute value.

◆ mutable_usageExportLocation()

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.

Returns
The result can be modified to change the attribute value.

◆ New()

Project * google_compute_api::Project::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::Project::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_default_network_tier()

void google_compute_api::Project::set_default_network_tier ( const StringPiece &  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.

Parameters
[in]valueThe new value.

◆ set_default_service_account()

void google_compute_api::Project::set_default_service_account ( const StringPiece &  value)
inline

Change the 'defaultServiceAccount' attribute.

[Output Only] Default service account used by VMs running in this project.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::Project::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional textual description of the resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::Project::set_id ( uint64  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.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::Project::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] Type of the resource. Always compute::project for projects.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::Project::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::Project::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_xpn_project_status()

void google_compute_api::Project::set_xpn_project_status ( const StringPiece &  value)
inline

Change the 'xpnProjectStatus' attribute.

[Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: