Class google::cloud::Project (2.10.1)

This class identifies a Cloud Project.

A Cloud project is identified by its project_id.

Note: This class makes no effort to validate the components of the project name. It is the application's responsibility to provide a valid project id. Passing invalid values will not be checked until the project name is used in an RPC. For more info about the project_id format, see https://cloud.google.com/resource-manager/docs/creating-managing-projects

Constructors

Project

Parameter
Name Description
Project const &

Project

Parameter
Name Description
Project &&

Project

Constructs a Project object identified by the given project_id.

Parameter
Name Description
project_id std::string

Operators

operator=

Parameter
Name Description
Project const &
Returns
Type Description
Project &

operator=

Parameter
Name Description
Project &&
Returns
Type Description
Project &

Functions

project_id

Returns the Project ID.

Returns
Type Description
std::string const &

FullName

Returns the fully qualified project name as a string of the form: "projects/

Returns
Type Description
std::string