Class BigtableInstanceAdmin.BigtableInstanceAdminBase (2.6.0)

[BindServiceMethod(typeof(BigtableInstanceAdmin), "BindService")]
public abstract class BigtableInstanceAdminBase

Base class for server-side implementations of BigtableInstanceAdmin

Inheritance

Object > BigtableInstanceAdmin.BigtableInstanceAdminBase

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Methods

CreateAppProfile(CreateAppProfileRequest, ServerCallContext)

public virtual Task<AppProfile> CreateAppProfile(CreateAppProfileRequest request, ServerCallContext context)

Creates an app profile within an instance.

Parameters
NameDescription
requestCreateAppProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<AppProfile>

The response to send back to the client (wrapped by a task).

CreateCluster(CreateClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateCluster(CreateClusterRequest request, ServerCallContext context)

Creates a cluster within an instance.

Parameters
NameDescription
requestCreateClusterRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateInstance(CreateInstanceRequest, ServerCallContext)

public virtual Task<Operation> CreateInstance(CreateInstanceRequest request, ServerCallContext context)

Create an instance within a project.

Parameters
NameDescription
requestCreateInstanceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteAppProfile(DeleteAppProfileRequest, ServerCallContext)

public virtual Task<Empty> DeleteAppProfile(DeleteAppProfileRequest request, ServerCallContext context)

Deletes an app profile from an instance.

Parameters
NameDescription
requestDeleteAppProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteCluster(DeleteClusterRequest, ServerCallContext)

public virtual Task<Empty> DeleteCluster(DeleteClusterRequest request, ServerCallContext context)

Deletes a cluster from an instance.

Parameters
NameDescription
requestDeleteClusterRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeleteInstance(DeleteInstanceRequest, ServerCallContext)

public virtual Task<Empty> DeleteInstance(DeleteInstanceRequest request, ServerCallContext context)

Delete an instance from a project.

Parameters
NameDescription
requestDeleteInstanceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

GetAppProfile(GetAppProfileRequest, ServerCallContext)

public virtual Task<AppProfile> GetAppProfile(GetAppProfileRequest request, ServerCallContext context)

Gets information about an app profile.

Parameters
NameDescription
requestGetAppProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<AppProfile>

The response to send back to the client (wrapped by a task).

GetCluster(GetClusterRequest, ServerCallContext)

public virtual Task<Cluster> GetCluster(GetClusterRequest request, ServerCallContext context)

Gets information about a cluster.

Parameters
NameDescription
requestGetClusterRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Cluster>

The response to send back to the client (wrapped by a task).

GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.

Parameters
NameDescription
requestGetIamPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Policy>

The response to send back to the client (wrapped by a task).

GetInstance(GetInstanceRequest, ServerCallContext)

public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)

Gets information about an instance.

Parameters
NameDescription
requestGetInstanceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Instance>

The response to send back to the client (wrapped by a task).

ListAppProfiles(ListAppProfilesRequest, ServerCallContext)

public virtual Task<ListAppProfilesResponse> ListAppProfiles(ListAppProfilesRequest request, ServerCallContext context)

Lists information about app profiles in an instance.

Parameters
NameDescription
requestListAppProfilesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListAppProfilesResponse>

The response to send back to the client (wrapped by a task).

ListClusters(ListClustersRequest, ServerCallContext)

public virtual Task<ListClustersResponse> ListClusters(ListClustersRequest request, ServerCallContext context)

Lists information about clusters in an instance.

Parameters
NameDescription
requestListClustersRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListClustersResponse>

The response to send back to the client (wrapped by a task).

ListInstances(ListInstancesRequest, ServerCallContext)

public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)

Lists information about instances in a project.

Parameters
NameDescription
requestListInstancesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListInstancesResponse>

The response to send back to the client (wrapped by a task).

PartialUpdateInstance(PartialUpdateInstanceRequest, ServerCallContext)

public virtual Task<Operation> PartialUpdateInstance(PartialUpdateInstanceRequest request, ServerCallContext context)

Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.

Parameters
NameDescription
requestPartialUpdateInstanceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Sets the access control policy on an instance resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Policy>

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

Returns permissions that the caller has on the specified instance resource.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<TestIamPermissionsResponse>

The response to send back to the client (wrapped by a task).

UpdateAppProfile(UpdateAppProfileRequest, ServerCallContext)

public virtual Task<Operation> UpdateAppProfile(UpdateAppProfileRequest request, ServerCallContext context)

Updates an app profile within an instance.

Parameters
NameDescription
requestUpdateAppProfileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateCluster(Cluster, ServerCallContext)

public virtual Task<Operation> UpdateCluster(Cluster request, ServerCallContext context)

Updates a cluster within an instance.

Parameters
NameDescription
requestCluster

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateInstance(Instance, ServerCallContext)

public virtual Task<Instance> UpdateInstance(Instance request, ServerCallContext context)

Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.

Parameters
NameDescription
requestInstance

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Instance>

The response to send back to the client (wrapped by a task).