The InstanceAdminConnection
object for InstanceAdminClient
.
More...
#include <google/cloud/spanner/admin/instance_admin_connection.h>
|
virtual | ~InstanceAdminConnection ()=0 |
|
virtual Options | options () |
|
virtual StreamRange< google::spanner::admin::instance::v1::InstanceConfig > | ListInstanceConfigs (google::spanner::admin::instance::v1::ListInstanceConfigsRequest request) |
|
virtual StatusOr< google::spanner::admin::instance::v1::InstanceConfig > | GetInstanceConfig (google::spanner::admin::instance::v1::GetInstanceConfigRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > | CreateInstanceConfig (google::spanner::admin::instance::v1::CreateInstanceConfigRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > | UpdateInstanceConfig (google::spanner::admin::instance::v1::UpdateInstanceConfigRequest const &request) |
|
virtual Status | DeleteInstanceConfig (google::spanner::admin::instance::v1::DeleteInstanceConfigRequest const &request) |
|
virtual StreamRange< google::longrunning::Operation > | ListInstanceConfigOperations (google::spanner::admin::instance::v1::ListInstanceConfigOperationsRequest request) |
|
virtual StreamRange< google::spanner::admin::instance::v1::Instance > | ListInstances (google::spanner::admin::instance::v1::ListInstancesRequest request) |
|
virtual StatusOr< google::spanner::admin::instance::v1::Instance > | GetInstance (google::spanner::admin::instance::v1::GetInstanceRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > | CreateInstance (google::spanner::admin::instance::v1::CreateInstanceRequest const &request) |
|
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > | UpdateInstance (google::spanner::admin::instance::v1::UpdateInstanceRequest const &request) |
|
virtual Status | DeleteInstance (google::spanner::admin::instance::v1::DeleteInstanceRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > | TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request) |
|
The InstanceAdminConnection
object for InstanceAdminClient
.
This interface defines virtual methods for each of the user-facing overload sets in InstanceAdminClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type InstanceAdminClient
.
To create a concrete instance, see MakeInstanceAdminConnection()
.
For mocking, see spanner_admin_mocks::MockInstanceAdminConnection
.
◆ ~InstanceAdminConnection()
virtual google::cloud::spanner_admin::InstanceAdminConnection::~InstanceAdminConnection |
( |
| ) |
|
|
pure virtual |
◆ CreateInstance()
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > google::cloud::spanner_admin::InstanceAdminConnection::CreateInstance |
( |
google::spanner::admin::instance::v1::CreateInstanceRequest const & |
request | ) |
|
|
virtual |
◆ CreateInstanceConfig()
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > google::cloud::spanner_admin::InstanceAdminConnection::CreateInstanceConfig |
( |
google::spanner::admin::instance::v1::CreateInstanceConfigRequest const & |
request | ) |
|
|
virtual |
◆ DeleteInstance()
virtual Status google::cloud::spanner_admin::InstanceAdminConnection::DeleteInstance |
( |
google::spanner::admin::instance::v1::DeleteInstanceRequest const & |
request | ) |
|
|
virtual |
◆ DeleteInstanceConfig()
virtual Status google::cloud::spanner_admin::InstanceAdminConnection::DeleteInstanceConfig |
( |
google::spanner::admin::instance::v1::DeleteInstanceConfigRequest const & |
request | ) |
|
|
virtual |
◆ GetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin::InstanceAdminConnection::GetIamPolicy |
( |
google::iam::v1::GetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ GetInstance()
virtual StatusOr< google::spanner::admin::instance::v1::Instance > google::cloud::spanner_admin::InstanceAdminConnection::GetInstance |
( |
google::spanner::admin::instance::v1::GetInstanceRequest const & |
request | ) |
|
|
virtual |
◆ GetInstanceConfig()
virtual StatusOr< google::spanner::admin::instance::v1::InstanceConfig > google::cloud::spanner_admin::InstanceAdminConnection::GetInstanceConfig |
( |
google::spanner::admin::instance::v1::GetInstanceConfigRequest const & |
request | ) |
|
|
virtual |
◆ ListInstanceConfigOperations()
virtual StreamRange< google::longrunning::Operation > google::cloud::spanner_admin::InstanceAdminConnection::ListInstanceConfigOperations |
( |
google::spanner::admin::instance::v1::ListInstanceConfigOperationsRequest |
request | ) |
|
|
virtual |
◆ ListInstanceConfigs()
virtual StreamRange< google::spanner::admin::instance::v1::InstanceConfig > google::cloud::spanner_admin::InstanceAdminConnection::ListInstanceConfigs |
( |
google::spanner::admin::instance::v1::ListInstanceConfigsRequest |
request | ) |
|
|
virtual |
◆ ListInstances()
virtual StreamRange< google::spanner::admin::instance::v1::Instance > google::cloud::spanner_admin::InstanceAdminConnection::ListInstances |
( |
google::spanner::admin::instance::v1::ListInstancesRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::spanner_admin::InstanceAdminConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ SetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin::InstanceAdminConnection::SetIamPolicy |
( |
google::iam::v1::SetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ TestIamPermissions()
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::spanner_admin::InstanceAdminConnection::TestIamPermissions |
( |
google::iam::v1::TestIamPermissionsRequest const & |
request | ) |
|
|
virtual |
◆ UpdateInstance()
virtual future< StatusOr< google::spanner::admin::instance::v1::Instance > > google::cloud::spanner_admin::InstanceAdminConnection::UpdateInstance |
( |
google::spanner::admin::instance::v1::UpdateInstanceRequest const & |
request | ) |
|
|
virtual |
◆ UpdateInstanceConfig()
virtual future< StatusOr< google::spanner::admin::instance::v1::InstanceConfig > > google::cloud::spanner_admin::InstanceAdminConnection::UpdateInstanceConfig |
( |
google::spanner::admin::instance::v1::UpdateInstanceConfigRequest const & |
request | ) |
|
|
virtual |