This class identifies a Cloud Project.
A Cloud project is identified by its project_id
.
project_id
format, see https://cloud.google.com/resource-manager/docs/creating-managing-projects
Constructors
Project(Project const &)
Copy and move
Parameter | |
---|---|
Name | Description |
|
Project const &
|
Project(Project &&)
Copy and move
Parameter | |
---|---|
Name | Description |
|
Project &&
|
Project(std::string)
Constructs a Project object identified by the given project_id
.
Parameter | |
---|---|
Name | Description |
project_id |
std::string
|
Operators
operator=(Project const &)
Copy and move
Parameter | |
---|---|
Name | Description |
|
Project const &
|
Returns | |
---|---|
Type | Description |
Project & |
operator=(Project &&)
Copy and move
Parameter | |
---|---|
Name | Description |
|
Project &&
|
Returns | |
---|---|
Type | Description |
Project & |
Functions
project_id() const
Returns the Project ID.
Returns | |
---|---|
Type | Description |
std::string const & |
FullName() const
Returns the fully qualified project name as a string of the form: "projects/
Returns | |
---|---|
Type | Description |
std::string |