Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
|
This class identifies a Cloud Bigtable Instance. More...
#include <google/cloud/bigtable/instance_resource.h>
Public Member Functions | |
InstanceResource (Project project, std::string instance_id) | |
Constructs an InstanceResource object identified by the given project and instance_id . More... | |
Project const & | project () const |
Returns the Project containing this instance. More... | |
std::string const & | project_id () const |
std::string const & | instance_id () const |
Returns the Instance ID. More... | |
std::string | FullName () const |
Returns the fully qualified instance name as a string of the form: "projects/<project-id>/instances/<instance-id>". More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, InstanceResource const &) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (InstanceResource const &a, InstanceResource const &b) |
bool | operator!= (InstanceResource const &a, InstanceResource const &b) |
This class identifies a Cloud Bigtable Instance.
To use Cloud Bigtable, you create instances, which contain clusters that your applications can connect to. Each cluster contains nodes, the compute units that manage your data and perform maintenance tasks. A Cloud Bigtable instance is identified by its project_id
and instance_id
.
google::cloud::bigtable::InstanceResource::InstanceResource | ( | Project | project, |
std::string | instance_id | ||
) |
Constructs an InstanceResource object identified by the given project
and instance_id
.
std::string google::cloud::bigtable::InstanceResource::FullName | ( | ) | const |
Returns the fully qualified instance name as a string of the form: "projects/<project-id>/instances/<instance-id>".
|
inline |
Returns the Instance ID.
|
inline |
Returns the Project
containing this instance.
|
inline |
|
friend |
|
friend |
Output the FullName()
format.
|
friend |