Google Cloud Bigtable Administration v2 API - Class BigtableInstanceAdminClientImpl (3.4.0)

public sealed class BigtableInstanceAdminClientImpl : BigtableInstanceAdminClient

Reference documentation and code samples for the Google Cloud Bigtable Administration v2 API class BigtableInstanceAdminClientImpl.

BigtableInstanceAdmin client wrapper implementation, for convenient use.

Inheritance

object > BigtableInstanceAdminClient > BigtableInstanceAdminClientImpl

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Remarks

Service for creating, configuring, and deleting Cloud Bigtable Instances and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata or data stored in those tables.

Constructors

BigtableInstanceAdminClientImpl(BigtableInstanceAdminClient, BigtableInstanceAdminSettings, ILogger)

public BigtableInstanceAdminClientImpl(BigtableInstanceAdmin.BigtableInstanceAdminClient grpcClient, BigtableInstanceAdminSettings settings, ILogger logger)

Constructs a client wrapper for the BigtableInstanceAdmin service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientBigtableInstanceAdminBigtableInstanceAdminClient

The underlying gRPC client.

settingsBigtableInstanceAdminSettings

The base BigtableInstanceAdminSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateClusterOperationsClient

public override OperationsClient CreateClusterOperationsClient { get; }

The long-running operations client for CreateCluster.

Property Value
TypeDescription
OperationsClient
Overrides

CreateInstanceOperationsClient

public override OperationsClient CreateInstanceOperationsClient { get; }

The long-running operations client for CreateInstance.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override BigtableInstanceAdmin.BigtableInstanceAdminClient GrpcClient { get; }

The underlying gRPC BigtableInstanceAdmin client

Property Value
TypeDescription
BigtableInstanceAdminBigtableInstanceAdminClient
Overrides

PartialUpdateClusterOperationsClient

public override OperationsClient PartialUpdateClusterOperationsClient { get; }

The long-running operations client for PartialUpdateCluster.

Property Value
TypeDescription
OperationsClient
Overrides

PartialUpdateInstanceOperationsClient

public override OperationsClient PartialUpdateInstanceOperationsClient { get; }

The long-running operations client for PartialUpdateInstance.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateAppProfileOperationsClient

public override OperationsClient UpdateAppProfileOperationsClient { get; }

The long-running operations client for UpdateAppProfile.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateClusterOperationsClient

public override OperationsClient UpdateClusterOperationsClient { get; }

The long-running operations client for UpdateCluster.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateAppProfile(CreateAppProfileRequest, CallSettings)

public override AppProfile CreateAppProfile(CreateAppProfileRequest request, CallSettings callSettings = null)

Creates an app profile within an instance.

Parameters
NameDescription
requestCreateAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AppProfile

The RPC response.

Overrides

CreateAppProfileAsync(CreateAppProfileRequest, CallSettings)

public override Task<AppProfile> CreateAppProfileAsync(CreateAppProfileRequest request, CallSettings callSettings = null)

Creates an app profile within an instance.

Parameters
NameDescription
requestCreateAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAppProfile

A Task containing the RPC response.

Overrides

CreateCluster(CreateClusterRequest, CallSettings)

public override Operation<Cluster, CreateClusterMetadata> CreateCluster(CreateClusterRequest request, CallSettings callSettings = null)

Creates a cluster within an instance.

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

Parameters
NameDescription
requestCreateClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationClusterCreateClusterMetadata

The RPC response.

Overrides

CreateClusterAsync(CreateClusterRequest, CallSettings)

public override Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(CreateClusterRequest request, CallSettings callSettings = null)

Creates a cluster within an instance.

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

Parameters
NameDescription
requestCreateClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationClusterCreateClusterMetadata

A Task containing the RPC response.

Overrides

CreateInstance(CreateInstanceRequest, CallSettings)

public override Operation<Instance, CreateInstanceMetadata> CreateInstance(CreateInstanceRequest request, CallSettings callSettings = null)

Create an instance within a project.

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

Parameters
NameDescription
requestCreateInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationInstanceCreateInstanceMetadata

The RPC response.

Overrides

CreateInstanceAsync(CreateInstanceRequest, CallSettings)

public override Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(CreateInstanceRequest request, CallSettings callSettings = null)

Create an instance within a project.

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

Parameters
NameDescription
requestCreateInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationInstanceCreateInstanceMetadata

A Task containing the RPC response.

Overrides

DeleteAppProfile(DeleteAppProfileRequest, CallSettings)

public override void DeleteAppProfile(DeleteAppProfileRequest request, CallSettings callSettings = null)

Deletes an app profile from an instance.

Parameters
NameDescription
requestDeleteAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteAppProfileAsync(DeleteAppProfileRequest, CallSettings)

public override Task DeleteAppProfileAsync(DeleteAppProfileRequest request, CallSettings callSettings = null)

Deletes an app profile from an instance.

Parameters
NameDescription
requestDeleteAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteCluster(DeleteClusterRequest, CallSettings)

public override void DeleteCluster(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes a cluster from an instance.

Parameters
NameDescription
requestDeleteClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteClusterAsync(DeleteClusterRequest, CallSettings)

public override Task DeleteClusterAsync(DeleteClusterRequest request, CallSettings callSettings = null)

Deletes a cluster from an instance.

Parameters
NameDescription
requestDeleteClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteInstance(DeleteInstanceRequest, CallSettings)

public override void DeleteInstance(DeleteInstanceRequest request, CallSettings callSettings = null)

Delete an instance from a project.

Parameters
NameDescription
requestDeleteInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteInstanceAsync(DeleteInstanceRequest, CallSettings)

public override Task DeleteInstanceAsync(DeleteInstanceRequest request, CallSettings callSettings = null)

Delete an instance from a project.

Parameters
NameDescription
requestDeleteInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetAppProfile(GetAppProfileRequest, CallSettings)

public override AppProfile GetAppProfile(GetAppProfileRequest request, CallSettings callSettings = null)

Gets information about an app profile.

Parameters
NameDescription
requestGetAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AppProfile

The RPC response.

Overrides

GetAppProfileAsync(GetAppProfileRequest, CallSettings)

public override Task<AppProfile> GetAppProfileAsync(GetAppProfileRequest request, CallSettings callSettings = null)

Gets information about an app profile.

Parameters
NameDescription
requestGetAppProfileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAppProfile

A Task containing the RPC response.

Overrides

GetCluster(GetClusterRequest, CallSettings)

public override Cluster GetCluster(GetClusterRequest request, CallSettings callSettings = null)

Gets information about a cluster.

Parameters
NameDescription
requestGetClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Cluster

The RPC response.

Overrides

GetClusterAsync(GetClusterRequest, CallSettings)

public override Task<Cluster> GetClusterAsync(GetClusterRequest request, CallSettings callSettings = null)

Gets information about a cluster.

Parameters
NameDescription
requestGetClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskCluster

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPolicy

A Task containing the RPC response.

Overrides

GetInstance(GetInstanceRequest, CallSettings)

public override Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)

Gets information about an instance.

Parameters
NameDescription
requestGetInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Instance

The RPC response.

Overrides

GetInstanceAsync(GetInstanceRequest, CallSettings)

public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)

Gets information about an instance.

Parameters
NameDescription
requestGetInstanceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskInstance

A Task containing the RPC response.

Overrides

ListAppProfiles(ListAppProfilesRequest, CallSettings)

public override PagedEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfiles(ListAppProfilesRequest request, CallSettings callSettings = null)

Lists information about app profiles in an instance.

Parameters
NameDescription
requestListAppProfilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAppProfilesResponseAppProfile

A pageable sequence of AppProfile resources.

Overrides

ListAppProfilesAsync(ListAppProfilesRequest, CallSettings)

public override PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfilesAsync(ListAppProfilesRequest request, CallSettings callSettings = null)

Lists information about app profiles in an instance.

Parameters
NameDescription
requestListAppProfilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAppProfilesResponseAppProfile

A pageable asynchronous sequence of AppProfile resources.

Overrides

ListClusters(ListClustersRequest, CallSettings)

public override ListClustersResponse ListClusters(ListClustersRequest request, CallSettings callSettings = null)

Lists information about clusters in an instance.

Parameters
NameDescription
requestListClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ListClustersResponse

The RPC response.

Overrides

ListClustersAsync(ListClustersRequest, CallSettings)

public override Task<ListClustersResponse> ListClustersAsync(ListClustersRequest request, CallSettings callSettings = null)

Lists information about clusters in an instance.

Parameters
NameDescription
requestListClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskListClustersResponse

A Task containing the RPC response.

Overrides

ListHotTablets(ListHotTabletsRequest, CallSettings)

public override PagedEnumerable<ListHotTabletsResponse, HotTablet> ListHotTablets(ListHotTabletsRequest request, CallSettings callSettings = null)

Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage.

Parameters
NameDescription
requestListHotTabletsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListHotTabletsResponseHotTablet

A pageable sequenc