Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
|
This class identifies a Cloud Project. More...
#include <google/cloud/project.h>
Public Member Functions | |
Project (std::string project_id) | |
Constructs a Project object identified by the given project_id . More... | |
std::string const & | project_id () const |
Returns the Project ID. More... | |
std::string | FullName () const |
Returns the fully qualified project name as a string of the form: "projects/<project-id>". More... | |
Copy and move | |
Project (Project const &)=default | |
Project & | operator= (Project const &)=default |
Project (Project &&)=default | |
Project & | operator= (Project &&)=default |
Friends | |
std::ostream & | operator<< (std::ostream &, Project const &) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (Project const &a, Project const &b) |
bool | operator!= (Project const &a, Project const &b) |
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
|
explicit |
Constructs a Project object identified by the given project_id
.
|
default |
|
default |
std::string google::cloud::Project::FullName | ( | ) | const |
Returns the fully qualified project name as a string of the form: "projects/<project-id>".
|
inline |
Returns the Project ID.
|
friend |
Output the FullName()
format.