Google Cloud Spanner C++ Client  1.32.0
A C++ Client Library for Google Cloud Spanner
Public Member Functions | List of all members
google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub Class Reference

#include <google/cloud/spanner/admin/internal/instance_admin_stub.h>

Public Member Functions

 DefaultInstanceAdminStub (std::unique_ptr< google::spanner::admin::instance::v1::InstanceAdmin::StubInterface > grpc_stub, std::unique_ptr< google::longrunning::Operations::StubInterface > operations)
 
StatusOr< google::spanner::admin::instance::v1::ListInstanceConfigsResponse > ListInstanceConfigs (grpc::ClientContext &client_context, google::spanner::admin::instance::v1::ListInstanceConfigsRequest const &request) override
 
StatusOr< google::spanner::admin::instance::v1::InstanceConfig > GetInstanceConfig (grpc::ClientContext &client_context, google::spanner::admin::instance::v1::GetInstanceConfigRequest const &request) override
 
StatusOr< google::spanner::admin::instance::v1::ListInstancesResponse > ListInstances (grpc::ClientContext &client_context, google::spanner::admin::instance::v1::ListInstancesRequest const &request) override
 
StatusOr< google::spanner::admin::instance::v1::Instance > GetInstance (grpc::ClientContext &client_context, google::spanner::admin::instance::v1::GetInstanceRequest const &request) override
 
future< StatusOr< google::longrunning::Operation > > AsyncCreateInstance (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::instance::v1::CreateInstanceRequest const &request) override
 
future< StatusOr< google::longrunning::Operation > > AsyncUpdateInstance (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::spanner::admin::instance::v1::UpdateInstanceRequest const &request) override
 
Status DeleteInstance (grpc::ClientContext &client_context, google::spanner::admin::instance::v1::DeleteInstanceRequest const &request) override
 
StatusOr< google::iam::v1::Policy > SetIamPolicy (grpc::ClientContext &client_context, google::iam::v1::SetIamPolicyRequest const &request) override
 
StatusOr< google::iam::v1::Policy > GetIamPolicy (grpc::ClientContext &client_context, google::iam::v1::GetIamPolicyRequest const &request) override
 
StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (grpc::ClientContext &client_context, google::iam::v1::TestIamPermissionsRequest const &request) override
 
future< StatusOr< google::longrunning::Operation > > AsyncGetOperation (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::longrunning::GetOperationRequest const &request) override
 
future< Status > AsyncCancelOperation (google::cloud::CompletionQueue &cq, std::unique_ptr< grpc::ClientContext > context, google::longrunning::CancelOperationRequest const &request) override
 

Detailed Description

Definition at line 104 of file instance_admin_stub.h.

Constructor & Destructor Documentation

◆ DefaultInstanceAdminStub()

google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::DefaultInstanceAdminStub ( std::unique_ptr< google::spanner::admin::instance::v1::InstanceAdmin::StubInterface >  grpc_stub,
std::unique_ptr< google::longrunning::Operations::StubInterface >  operations 
)
inline

Definition at line 106 of file instance_admin_stub.h.

Member Function Documentation

◆ AsyncCancelOperation()

future< Status > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::AsyncCancelOperation ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::longrunning::CancelOperationRequest const &  request 
)
overridevirtual

◆ AsyncCreateInstance()

future< StatusOr< google::longrunning::Operation > > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::AsyncCreateInstance ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::instance::v1::CreateInstanceRequest const &  request 
)
overridevirtual

◆ AsyncGetOperation()

future< StatusOr< google::longrunning::Operation > > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::AsyncGetOperation ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::longrunning::GetOperationRequest const &  request 
)
overridevirtual

◆ AsyncUpdateInstance()

future< StatusOr< google::longrunning::Operation > > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::AsyncUpdateInstance ( google::cloud::CompletionQueue &  cq,
std::unique_ptr< grpc::ClientContext >  context,
google::spanner::admin::instance::v1::UpdateInstanceRequest const &  request 
)
overridevirtual

◆ DeleteInstance()

Status google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::DeleteInstance ( grpc::ClientContext &  client_context,
google::spanner::admin::instance::v1::DeleteInstanceRequest const &  request 
)
overridevirtual

◆ GetIamPolicy()

StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::GetIamPolicy ( grpc::ClientContext &  client_context,
google::iam::v1::GetIamPolicyRequest const &  request 
)
overridevirtual

◆ GetInstance()

StatusOr< google::spanner::admin::instance::v1::Instance > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::GetInstance ( grpc::ClientContext &  client_context,
google::spanner::admin::instance::v1::GetInstanceRequest const &  request 
)
overridevirtual

◆ GetInstanceConfig()

StatusOr< google::spanner::admin::instance::v1::InstanceConfig > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::GetInstanceConfig ( grpc::ClientContext &  client_context,
google::spanner::admin::instance::v1::GetInstanceConfigRequest const &  request 
)
overridevirtual

◆ ListInstanceConfigs()

StatusOr< google::spanner::admin::instance::v1::ListInstanceConfigsResponse > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::ListInstanceConfigs ( grpc::ClientContext &  client_context,
google::spanner::admin::instance::v1::ListInstanceConfigsRequest const &  request 
)
overridevirtual

◆ ListInstances()

StatusOr< google::spanner::admin::instance::v1::ListInstancesResponse > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::ListInstances ( grpc::ClientContext &  client_context,
google::spanner::admin::instance::v1::ListInstancesRequest const &  request 
)
overridevirtual

◆ SetIamPolicy()

StatusOr< google::iam::v1::Policy > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::SetIamPolicy ( grpc::ClientContext &  client_context,
google::iam::v1::SetIamPolicyRequest const &  request 
)
overridevirtual

◆ TestIamPermissions()

StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::spanner_admin_internal::v1::DefaultInstanceAdminStub::TestIamPermissions ( grpc::ClientContext &  client_context,
google::iam::v1::TestIamPermissionsRequest const &  request 
)
overridevirtual