cloudresourcemanager  v1beta1
Public Member Functions | Static Public Member Functions | List of all members
google_cloudresourcemanager_api::Project Class Reference

#include <project.h>

Inheritance diagram for google_cloudresourcemanager_api::Project:

Public Member Functions

 Project (const Json::Value &storage)
 
 Project (Json::Value *storage)
 
virtual ~Project ()
 
const StringPiece GetTypeName () const
 
bool has_create_time () const
 
void clear_create_time ()
 
const StringPiece get_create_time () const
 
void set_create_time (const StringPiece &value)
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppAssociativeArray< string > get_labels () const
 
client::JsonCppAssociativeArray< string > mutable_labels ()
 
bool has_lifecycle_state () const
 
void clear_lifecycle_state ()
 
const StringPiece get_lifecycle_state () const
 
void set_lifecycle_state (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_parent () const
 
void clear_parent ()
 
const ResourceId get_parent () const
 
ResourceId mutable_parent ()
 
bool has_project_id () const
 
void clear_project_id ()
 
const StringPiece get_project_id () const
 
void set_project_id (const StringPiece &value)
 
bool has_project_number () const
 
void clear_project_number ()
 
int64 get_project_number () const
 
void set_project_number (int64 value)
 

Static Public Member Functions

static ProjectNew ()
 

Detailed Description

A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.

Constructor & Destructor Documentation

◆ Project() [1/2]

google_cloudresourcemanager_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_cloudresourcemanager_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_cloudresourcemanager_api::Project::~Project ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_create_time()

void google_cloudresourcemanager_api::Project::clear_create_time ( )
inline

Clears the 'createTime' attribute.

◆ clear_labels()

void google_cloudresourcemanager_api::Project::clear_labels ( )
inline

Clears the 'labels' attribute.

◆ clear_lifecycle_state()

void google_cloudresourcemanager_api::Project::clear_lifecycle_state ( )
inline

Clears the 'lifecycleState' attribute.

◆ clear_name()

void google_cloudresourcemanager_api::Project::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_parent()

void google_cloudresourcemanager_api::Project::clear_parent ( )
inline

Clears the 'parent' attribute.

◆ clear_project_id()

void google_cloudresourcemanager_api::Project::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_project_number()

void google_cloudresourcemanager_api::Project::clear_project_number ( )
inline

Clears the 'projectNumber' attribute.

◆ get_create_time()

const StringPiece google_cloudresourcemanager_api::Project::get_create_time ( ) const
inline

Get the value of the 'createTime' attribute.

◆ get_labels()

const client::JsonCppAssociativeArray<string > google_cloudresourcemanager_api::Project::get_labels ( ) const
inline

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

◆ get_lifecycle_state()

const StringPiece google_cloudresourcemanager_api::Project::get_lifecycle_state ( ) const
inline

Get the value of the 'lifecycleState' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_parent()

const ResourceId google_cloudresourcemanager_api::Project::get_parent ( ) const

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

◆ get_project_id()

const StringPiece google_cloudresourcemanager_api::Project::get_project_id ( ) const
inline

Get the value of the 'projectId' attribute.

◆ get_project_number()

int64 google_cloudresourcemanager_api::Project::get_project_number ( ) const
inline

Get the value of the 'projectNumber' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_cloudresourcemanager_api::Project

◆ has_create_time()

bool google_cloudresourcemanager_api::Project::has_create_time ( ) const
inline

Determine if the 'createTime' attribute was set.

Returns
true if the 'createTime' attribute was set.

◆ has_labels()

bool google_cloudresourcemanager_api::Project::has_labels ( ) const
inline

Determine if the 'labels' attribute was set.

Returns
true if the 'labels' attribute was set.

◆ has_lifecycle_state()

bool google_cloudresourcemanager_api::Project::has_lifecycle_state ( ) const
inline

Determine if the 'lifecycleState' attribute was set.

Returns
true if the 'lifecycleState' attribute was set.

◆ has_name()

bool google_cloudresourcemanager_api::Project::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_parent()

bool google_cloudresourcemanager_api::Project::has_parent ( ) const
inline

Determine if the 'parent' attribute was set.

Returns
true if the 'parent' attribute was set.

◆ has_project_id()

bool google_cloudresourcemanager_api::Project::has_project_id ( ) const
inline

Determine if the 'projectId' attribute was set.

Returns
true if the 'projectId' attribute was set.

◆ has_project_number()

bool google_cloudresourcemanager_api::Project::has_project_number ( ) const
inline

Determine if the 'projectNumber' attribute was set.

Returns
true if the 'projectNumber' attribute was set.

◆ mutable_labels()

client::JsonCppAssociativeArray<string > google_cloudresourcemanager_api::Project::mutable_labels ( )
inline

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

expression
[a-z]([-a-z0-9]*[a-z0-9])?.
([a-z]([-a-z0-9]*[a-z0
9])?)?. A label.
Example
"environment" : "dev".
Read
write.
Returns
The result can be modified to change the attribute value.

◆ mutable_parent()

ResourceId google_cloudresourcemanager_api::Project::mutable_parent ( )

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

An optional reference to a parent Resource.

Supported parent types include "organization" and "folder". Once set, the parent cannot be cleared. The parent can be set on creation or using the UpdateProject method; the end user must have the resourcemanager.projects.create permission on the parent.

Read-write.

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

◆ New()

Project * google_cloudresourcemanager_api::Project::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_create_time()

void google_cloudresourcemanager_api::Project::set_create_time ( const StringPiece &  value)
inline

Change the 'createTime' attribute.

Creation time.

Read-only.

Parameters
[in]valueThe new value.

◆ set_lifecycle_state()

void google_cloudresourcemanager_api::Project::set_lifecycle_state ( const StringPiece &  value)
inline

Change the 'lifecycleState' attribute.

The Project lifecycle state.

Read-only.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

user
assigned display name of the Project.
are
lowercase and uppercase letters, numbers,.
single
quote, double-quote, space, and exclamation point.
Example
My Project.
Read
write.
Parameters
[in]valueThe new value.

◆ set_project_id()

void google_cloudresourcemanager_api::Project::set_project_id ( const StringPiece &  value)
inline

Change the 'projectId' attribute.

The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.

Example
tokyo-rain-123.
Read
only after creation.
Parameters
[in]valueThe new value.

◆ set_project_number()

void google_cloudresourcemanager_api::Project::set_project_number ( int64  value)
inline

Change the 'projectNumber' attribute.

The number uniquely identifying the project.

Example
415104041262.
Read
only.
Parameters
[in]valueThe new value.

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