Class Project (2.21.0)

This class identifies a Cloud Project.

A Cloud project is identified by its project_id.

For more info about the project_id format, see https://cloud.google.com/resource-manager/docs/creating-managing-projects

Constructors

Project(Project const &)

Copy and move

Parameter
NameDescription
Project const &

Project(Project &&)

Copy and move

Parameter
NameDescription
Project &&

Project(std::string)

Constructs a Project object identified by the given project_id.

Parameter
NameDescription
project_id std::string

Operators

operator=(Project const &)

Copy and move

Parameter
NameDescription
Project const &
Returns
TypeDescription
Project &

operator=(Project &&)

Copy and move

Parameter
NameDescription
Project &&
Returns
TypeDescription
Project &

Functions

project_id() const

Returns the Project ID.

Returns
TypeDescription
std::string const &

FullName() const

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

Returns
TypeDescription
std::string