Google Cloud Bigtable Administration v2 API - Class BigtableTableAdminClientImpl (3.3.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class BigtableTableAdminClientImpl : BigtableTableAdminClient

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

BigtableTableAdmin client wrapper implementation, for convenient use.

Inheritance

Object > BigtableTableAdminClient > BigtableTableAdminClientImpl

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Remarks

Service for creating, configuring, and deleting Cloud Bigtable tables.

Provides access to the table schemas only, not the data stored within the tables.

Constructors

BigtableTableAdminClientImpl(BigtableTableAdmin.BigtableTableAdminClient, BigtableTableAdminSettings, ILogger)

public BigtableTableAdminClientImpl(BigtableTableAdmin.BigtableTableAdminClient grpcClient, BigtableTableAdminSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientBigtableTableAdmin.BigtableTableAdminClient

The underlying gRPC client.

settingsBigtableTableAdminSettings

The base BigtableTableAdminSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateBackupOperationsClient

public override OperationsClient CreateBackupOperationsClient { get; }

The long-running operations client for CreateBackup.

Property Value
TypeDescription
OperationsClient
Overrides

CreateTableFromSnapshotOperationsClient

public override OperationsClient CreateTableFromSnapshotOperationsClient { get; }

The long-running operations client for CreateTableFromSnapshot.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override BigtableTableAdmin.BigtableTableAdminClient GrpcClient { get; }

The underlying gRPC BigtableTableAdmin client

Property Value
TypeDescription
BigtableTableAdmin.BigtableTableAdminClient
Overrides

RestoreTableOperationsClient

public override OperationsClient RestoreTableOperationsClient { get; }

The long-running operations client for RestoreTable.

Property Value
TypeDescription
OperationsClient
Overrides

SnapshotTableOperationsClient

public override OperationsClient SnapshotTableOperationsClient { get; }

The long-running operations client for SnapshotTable.

Property Value
TypeDescription
OperationsClient
Overrides

UndeleteTableOperationsClient

public override OperationsClient UndeleteTableOperationsClient { get; }

The long-running operations client for UndeleteTable.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateTableOperationsClient

public override OperationsClient UpdateTableOperationsClient { get; }

The long-running operations client for UpdateTable.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CheckConsistency(CheckConsistencyRequest, CallSettings)

public override CheckConsistencyResponse CheckConsistency(CheckConsistencyRequest request, CallSettings callSettings = null)

Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.

Parameters
NameDescription
requestCheckConsistencyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CheckConsistencyResponse

The RPC response.

Overrides

CheckConsistencyAsync(CheckConsistencyRequest, CallSettings)

public override Task<CheckConsistencyResponse> CheckConsistencyAsync(CheckConsistencyRequest request, CallSettings callSettings = null)

Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.

Parameters
NameDescription
requestCheckConsistencyRequest

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<CheckConsistencyResponse>

A Task containing the RPC response.

Overrides

CreateBackup(CreateBackupRequest, CallSettings)

public override Operation<Backup, CreateBackupMetadata> CreateBackup(CreateBackupRequest request, CallSettings callSettings = null)

Starts creating a new Cloud Bigtable Backup. The returned backup [long-running operation][google.longrunning.Operation] can be used to track creation of the backup. The [metadata][google.longrunning.Operation.metadata] field type is [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the creation and delete the backup.

Parameters
NameDescription
requestCreateBackupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Backup, CreateBackupMetadata>

The RPC response.

Overrides

CreateBackupAsync(CreateBackupRequest, CallSettings)

public override async Task<Operation<Backup, CreateBackupMetadata>> CreateBackupAsync(CreateBackupRequest request, CallSettings callSettings = null)

Starts creating a new Cloud Bigtable Backup. The returned backup [long-running operation][google.longrunning.Operation] can be used to track creation of the backup. The [metadata][google.longrunning.Operation.metadata] field type is [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the creation and delete the backup.

Parameters
NameDescription
requestCreateBackupRequest

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<Operation<Backup, CreateBackupMetadata>>

A Task containing the RPC response.

Overrides

CreateTable(CreateTableRequest, CallSettings)

public override Table CreateTable(CreateTableRequest request, CallSettings callSettings = null)

Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.

Parameters
NameDescription
requestCreateTableRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Table

The RPC response.

Overrides

CreateTableAsync(CreateTableRequest, CallSettings)

public override Task<Table> CreateTableAsync(CreateTableRequest request, CallSettings callSettings = null)

Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.

Parameters
NameDescription
requestCreateTableRequest

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<Table>

A Task containing the RPC response.

Overrides

CreateTableFromSnapshot(CreateTableFromSnapshotRequest, CallSettings)

public override Operation<Table, CreateTableFromSnapshotMetadata> CreateTableFromSnapshot(CreateTableFromSnapshotRequest request, CallSettings callSettings = null)

Creates a new table from the specified snapshot. The target table must not exist. The snapshot and the table must be in the same instance.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestCreateTableFromSnapshotRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Table, CreateTableFromSnapshotMetadata>

The RPC response.

Overrides

CreateTableFromSnapshotAsync(CreateTableFromSnapshotRequest, CallSettings)

public override async Task<Operation<Table, CreateTableFromSnapshotMetadata>> CreateTableFromSnapshotAsync(CreateTableFromSnapshotRequest request, CallSettings callSettings = null)

Creates a new table from the specified snapshot. The target table must not exist. The snapshot and the table must be in the same instance.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestCreateTableFromSnapshotRequest

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<Operation<Table, CreateTableFromSnapshotMetadata>>

A Task containing the RPC response.

Overrides

DeleteBackup(DeleteBackupRequest, CallSettings)

public override void DeleteBackup(DeleteBackupRequest request, CallSettings callSettings = null)

Deletes a pending or completed Cloud Bigtable backup.

Parameters
NameDescription
requestDeleteBackupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteBackupAsync(DeleteBackupRequest, CallSettings)

public override Task DeleteBackupAsync(DeleteBackupRequest request, CallSettings callSettings = null)

Deletes a pending or completed Cloud Bigtable backup.

Parameters
NameDescription
requestDeleteBackupRequest

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

DeleteSnapshot(DeleteSnapshotRequest, CallSettings)

public override void DeleteSnapshot(DeleteSnapshotRequest request, CallSettings callSettings = null)

Permanently deletes the specified snapshot.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestDeleteSnapshotRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSnapshotAsync(DeleteSnapshotRequest, CallSettings)

public override Task DeleteSnapshotAsync(DeleteSnapshotRequest request, CallSettings callSettings = null)

Permanently deletes the specified snapshot.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestDeleteSnapshotRequest

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

DeleteTable(DeleteTableRequest, CallSettings)

public override void DeleteTable(DeleteTableRequest request, CallSettings callSettings = null)

Permanently deletes a specified table and all of its data.

Parameters
NameDescription
requestDeleteTableRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteTableAsync(DeleteTableRequest, CallSettings)

public override Task DeleteTableAsync(DeleteTableRequest request, CallSettings callSettings = null)

Permanently deletes a specified table and all of its data.

Parameters
NameDescription
requestDeleteTableRequest

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

DropRowRange(DropRowRangeRequest, CallSettings)

public override void DropRowRange(DropRowRangeRequest request, CallSettings callSettings = null)

Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix.

Parameters
NameDescription
requestDropRowRangeRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DropRowRangeAsync(DropRowRangeRequest, CallSettings)

public override Task DropRowRangeAsync(DropRowRangeRequest request, CallSettings callSettings = null)

Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix.

Parameters
NameDescription
requestDropRowRangeRequest

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

GenerateConsistencyToken(GenerateConsistencyTokenRequest, CallSettings)

public override GenerateConsistencyTokenResponse GenerateConsistencyToken(GenerateConsistencyTokenRequest request, CallSettings callSettings = null)

Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.

Parameters
NameDescription
requestGenerateConsistencyTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateConsistencyTokenResponse

The RPC response.

Overrides

GenerateConsistencyTokenAsync(GenerateConsistencyTokenRequest, CallSettings)

public override Task<GenerateConsistencyTokenResponse> GenerateConsistencyTokenAsync(GenerateConsistencyTokenRequest request, CallSettings callSettings = null)

Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.

Parameters
NameDescription
requestGenerateConsistencyTokenRequest

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<GenerateConsistencyTokenResponse>

A Task containing the RPC response.

Overrides

GetBackup(GetBackupRequest, CallSettings)

public override Backup GetBackup(GetBackupRequest request, CallSettings callSettings = null)

Gets metadata on a pending or completed Cloud Bigtable Backup.

Parameters
NameDescription
requestGetBackupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Backup

The RPC response.

Overrides

GetBackupAsync(GetBackupRequest, CallSettings)

public override Task<Backup> GetBackupAsync(GetBackupRequest request, CallSettings callSettings = null)

Gets metadata on a pending or completed Cloud Bigtable Backup.

Parameters
NameDescription
requestGetBackupRequest

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<Backup>

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 a Table or Backup resource. Returns an empty policy if the resource 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 a Table or Backup resource. Returns an empty policy if the resource 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
Task<Policy>

A Task containing the RPC response.

Overrides

GetSnapshot(GetSnapshotRequest, CallSettings)

public override Snapshot GetSnapshot(GetSnapshotRequest request, CallSettings callSettings = null)

Gets metadata information about the specified snapshot.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestGetSnapshotRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Snapshot

The RPC response.

Overrides

GetSnapshotAsync(GetSnapshotRequest, CallSettings)

public override Task<Snapshot> GetSnapshotAsync(GetSnapshotRequest request, CallSettings callSettings = null)

Gets metadata information about the specified snapshot.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestGetSnapshotRequest

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<Snapshot>

A Task containing the RPC response.

Overrides

GetTable(GetTableRequest, CallSettings)

public override Table GetTable(GetTableRequest request, CallSettings callSettings = null)

Gets metadata information about the specified table.

Parameters
NameDescription
requestGetTableRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Table

The RPC response.

Overrides

GetTableAsync(GetTableRequest, CallSettings)

public override Task<Table> GetTableAsync(GetTableRequest request, CallSettings callSettings = null)

Gets metadata information about the specified table.

Parameters
NameDescription
requestGetTableRequest

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<Table>

A Task containing the RPC response.

Overrides

ListBackups(ListBackupsRequest, CallSettings)

public override PagedEnumerable<ListBackupsResponse, Backup> ListBackups(ListBackupsRequest request, CallSettings callSettings = null)

Lists Cloud Bigtable backups. Returns both completed and pending backups.

Parameters
NameDescription
requestListBackupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListBackupsResponse, Backup>

A pageable sequence of Backup resources.

Overrides

ListBackupsAsync(ListBackupsRequest, CallSettings)

public override PagedAsyncEnumerable<ListBackupsResponse, Backup> ListBackupsAsync(ListBackupsRequest request, CallSettings callSettings = null)

Lists Cloud Bigtable backups. Returns both completed and pending backups.

Parameters
NameDescription
requestListBackupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListBackupsResponse, Backup>

A pageable asynchronous sequence of Backup resources.

Overrides

ListSnapshots(ListSnapshotsRequest, CallSettings)

public override PagedEnumerable<ListSnapshotsResponse, Snapshot> ListSnapshots(ListSnapshotsRequest request, CallSettings callSettings = null)

Lists all snapshots associated with the specified cluster.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestListSnapshotsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListSnapshotsResponse, Snapshot>

A pageable sequence of Snapshot resources.

Overrides

ListSnapshotsAsync(ListSnapshotsRequest, CallSettings)

public override PagedAsyncEnumerable<ListSnapshotsResponse, Snapshot> ListSnapshotsAsync(ListSnapshotsRequest request, CallSettings callSettings = null)

Lists all snapshots associated with the specified cluster.

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Parameters
NameDescription
requestListSnapshotsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListSnapshotsResponse, Snapshot>

A pageable asynchronous sequence of Snapshot resources.

Overrides

ListTables(ListTablesRequest, CallSettings)

public override PagedEnumerable<ListTablesResponse, Table> ListTables(ListTablesRequest request, CallSettings callSettings = null)

Lists all tables served from a specified instance.

Parameters
NameDescription
requestListTablesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListTablesResponse, Table>

A pageable sequence of Table resources.

Overrides