15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_INSTANCE_RESOURCE_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_INSTANCE_RESOURCE_H
18#include "google/cloud/bigtable/version.h"
19#include "google/cloud/project.h"
20#include "google/cloud/status_or.h"
27GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
48
49
50
58 std::string
const&
instance_id()
const {
return instance_id_; }
61
62
63
77 std::string instance_id_;
81
82
83
86GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
std::string const & project_id() const
This class identifies a Cloud Bigtable Instance.
Definition: instance_resource.h:45
friend bool operator==(InstanceResource const &a, InstanceResource const &b)
std::string FullName() const
Returns the fully qualified instance name as a string of the form: "projects/<project-id>/instances/<...
friend bool operator!=(InstanceResource const &a, InstanceResource const &b)
InstanceResource(Project project, std::string instance_id)
Constructs an InstanceResource object identified by the given project and instance_id.
Project const & project() const
Returns the Project containing this instance.
Definition: instance_resource.h:54
std::string const & instance_id() const
Returns the Instance ID.
Definition: instance_resource.h:58
std::string const & project_id() const
Definition: instance_resource.h:55
Contains all the Cloud Bigtable C++ client APIs.
Definition: admin_client.h:28
StatusOr< InstanceResource > MakeInstanceResource(std::string const &full_name)
Constructs an InstanceResource from the given full_name.