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.
Namespace
Google.Cloud.Bigtable.Admin.V2Assembly
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 | |
---|---|
Name | Description |
grpcClient | BigtableTableAdmin.BigtableTableAdminClient The underlying gRPC client. |
settings | BigtableTableAdminSettings The base BigtableTableAdminSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateBackupOperationsClient
public override OperationsClient CreateBackupOperationsClient { get; }
The long-running operations client for CreateBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateTableFromSnapshotOperationsClient
public override OperationsClient CreateTableFromSnapshotOperationsClient { get; }
The long-running operations client for CreateTableFromSnapshot
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override BigtableTableAdmin.BigtableTableAdminClient GrpcClient { get; }
The underlying gRPC BigtableTableAdmin client
Property Value | |
---|---|
Type | Description |
BigtableTableAdmin.BigtableTableAdminClient |
RestoreTableOperationsClient
public override OperationsClient RestoreTableOperationsClient { get; }
The long-running operations client for RestoreTable
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SnapshotTableOperationsClient
public override OperationsClient SnapshotTableOperationsClient { get; }
The long-running operations client for SnapshotTable
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UndeleteTableOperationsClient
public override OperationsClient UndeleteTableOperationsClient { get; }
The long-running operations client for UndeleteTable
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateTableOperationsClient
public override OperationsClient UpdateTableOperationsClient { get; }
The long-running operations client for UpdateTable
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | CheckConsistencyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CheckConsistencyResponse | The RPC response. |
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 | |
---|---|
Name | Description |
request | CheckConsistencyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CheckConsistencyResponse> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | CreateBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Backup, CreateBackupMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Backup, CreateBackupMetadata>> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | CreateTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Table | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Table> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | CreateTableFromSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Table, CreateTableFromSnapshotMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateTableFromSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Table, CreateTableFromSnapshotMetadata>> | A Task containing the RPC response. |
DeleteBackup(DeleteBackupRequest, CallSettings)
public override void DeleteBackup(DeleteBackupRequest request, CallSettings callSettings = null)
Deletes a pending or completed Cloud Bigtable backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteBackupAsync(DeleteBackupRequest, CallSettings)
public override Task DeleteBackupAsync(DeleteBackupRequest request, CallSettings callSettings = null)
Deletes a pending or completed Cloud Bigtable backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | DeleteSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
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 | |
---|---|
Name | Description |
request | DeleteSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteTable(DeleteTableRequest, CallSettings)
public override void DeleteTable(DeleteTableRequest request, CallSettings callSettings = null)
Permanently deletes a specified table and all of its data.
Parameters | |
---|---|
Name | Description |
request | DeleteTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteTableAsync(DeleteTableRequest, CallSettings)
public override Task DeleteTableAsync(DeleteTableRequest request, CallSettings callSettings = null)
Permanently deletes a specified table and all of its data.
Parameters | |
---|---|
Name | Description |
request | DeleteTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | DropRowRangeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
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 | |
---|---|
Name | Description |
request | DropRowRangeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | GenerateConsistencyTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GenerateConsistencyTokenResponse | The RPC response. |
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 | |
---|---|
Name | Description |
request | GenerateConsistencyTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<GenerateConsistencyTokenResponse> | A Task containing the RPC response. |
GetBackup(GetBackupRequest, CallSettings)
public override Backup GetBackup(GetBackupRequest request, CallSettings callSettings = null)
Gets metadata on a pending or completed Cloud Bigtable Backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Backup | The RPC response. |
GetBackupAsync(GetBackupRequest, CallSettings)
public override Task<Backup> GetBackupAsync(GetBackupRequest request, CallSettings callSettings = null)
Gets metadata on a pending or completed Cloud Bigtable Backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Backup> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
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 | |
---|---|
Name | Description |
request | GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | GetSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Snapshot | The RPC response. |
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 | |
---|---|
Name | Description |
request | GetSnapshotRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Snapshot> | A Task containing the RPC response. |
GetTable(GetTableRequest, CallSettings)
public override Table GetTable(GetTableRequest request, CallSettings callSettings = null)
Gets metadata information about the specified table.
Parameters | |
---|---|
Name | Description |
request | GetTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Table | The RPC response. |
GetTableAsync(GetTableRequest, CallSettings)
public override Task<Table> GetTableAsync(GetTableRequest request, CallSettings callSettings = null)
Gets metadata information about the specified table.
Parameters | |
---|---|
Name | Description |
request | GetTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Table> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | ListBackupsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListBackupsResponse, Backup> | A pageable sequence of Backup resources. |
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 | |
---|---|
Name | Description |
request | ListBackupsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListBackupsResponse, Backup> | A pageable asynchronous sequence of Backup resources. |
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 | |
---|---|
Name | Description |
request | ListSnapshotsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListSnapshotsResponse, Snapshot> | A pageable sequence of Snapshot resources. |
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 | |
---|---|
Name | Description |
request | ListSnapshotsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListSnapshotsResponse, Snapshot> | A pageable asynchronous sequence of Snapshot resources. |
ListTables(ListTablesRequest, CallSettings)
public override PagedEnumerable<ListTablesResponse, Table> ListTables(ListTablesRequest request, CallSettings callSettings = null)
Lists all tables served from a specified instance.
Parameters | |
---|---|
Name | Description |
request | ListTablesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListTablesResponse, Table> | A pageable sequence of Table resources. |
ListTablesAsync(ListTablesRequest, CallSettings)
public override PagedAsyncEnumerable<ListTablesResponse, Table> ListTablesAsync(ListTablesRequest request, CallSettings callSettings = null)
Lists all tables served from a specified instance.
Parameters | |
---|---|
Name | Description |
request | ListTablesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListTablesResponse, Table> | A pageable asynchronous sequence of Table resources. |
ModifyColumnFamilies(ModifyColumnFamiliesRequest, CallSettings)
public override Table ModifyColumnFamilies(ModifyColumnFamiliesRequest request, CallSettings callSettings = null)
Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.
Parameters | |
---|---|
Name | Description |
request | ModifyColumnFamiliesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Table | The RPC response. |
ModifyColumnFamiliesAsync(ModifyColumnFamiliesRequest, CallSettings)
public override Task<Table> ModifyColumnFamiliesAsync(ModifyColumnFamiliesRequest request, CallSettings callSettings = null)
Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.
Parameters | |
---|---|
Name | Description |
request | ModifyColumnFamiliesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Table> | A Task containing the RPC response. |
RestoreTable(RestoreTableRequest, CallSettings)
public override Operation<Table, RestoreTableMetadata> RestoreTable(RestoreTableRequest request, CallSettings callSettings = null)
Create a new table by restoring from a completed backup. The new table must be in the same project as the instance containing the backup. The returned table [long-running operation][google.longrunning.Operation] can be used to track the progress of the operation, and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The [response][google.longrunning.Operation.response] type is [Table][google.bigtable.admin.v2.Table], if successful.
Parameters | |
---|---|
Name | Description |
request | RestoreTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Table, RestoreTableMetadata> | The RPC response. |
RestoreTableAsync(RestoreTableRequest, CallSettings)
public override async Task<Operation<Table, RestoreTableMetadata>> RestoreTableAsync(RestoreTableRequest request, CallSettings callSettings = null)
Create a new table by restoring from a completed backup. The new table must be in the same project as the instance containing the backup. The returned table [long-running operation][google.longrunning.Operation] can be used to track the progress of the operation, and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The [response][google.longrunning.Operation.response] type is [Table][google.bigtable.admin.v2.Table], if successful.
Parameters | |
---|---|
Name | Description |
request | RestoreTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Table, RestoreTableMetadata>> | A Task containing the RPC response. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)
Sets the access control policy on a Table or Backup resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)
Sets the access control policy on a Table or Backup resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
SnapshotTable(SnapshotTableRequest, CallSettings)
public override Operation<Snapshot, SnapshotTableMetadata> SnapshotTable(SnapshotTableRequest request, CallSettings callSettings = null)
Creates a new snapshot in the specified cluster from the specified source table. The cluster 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 | |
---|---|
Name | Description |
request | SnapshotTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Snapshot, SnapshotTableMetadata> | The RPC response. |
SnapshotTableAsync(SnapshotTableRequest, CallSettings)
public override async Task<Operation<Snapshot, SnapshotTableMetadata>> SnapshotTableAsync(SnapshotTableRequest request, CallSettings callSettings = null)
Creates a new snapshot in the specified cluster from the specified source table. The cluster 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 | |
---|---|
Name | Description |
request | SnapshotTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Snapshot, SnapshotTableMetadata>> | A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)
Returns permissions that the caller has on the specified Table or Backup resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TestIamPermissionsResponse | The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)
Returns permissions that the caller has on the specified Table or Backup resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<TestIamPermissionsResponse> | A Task containing the RPC response. |
UndeleteTable(UndeleteTableRequest, CallSettings)
public override Operation<Table, UndeleteTableMetadata> UndeleteTable(UndeleteTableRequest request, CallSettings callSettings = null)
Restores a specified table which was accidentally deleted.
Parameters | |
---|---|
Name | Description |
request | UndeleteTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Table, UndeleteTableMetadata> | The RPC response. |
UndeleteTableAsync(UndeleteTableRequest, CallSettings)
public override async Task<Operation<Table, UndeleteTableMetadata>> UndeleteTableAsync(UndeleteTableRequest request, CallSettings callSettings = null)
Restores a specified table which was accidentally deleted.
Parameters | |
---|---|
Name | Description |
request | UndeleteTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Table, UndeleteTableMetadata>> | A Task containing the RPC response. |
UpdateBackup(UpdateBackupRequest, CallSettings)
public override Backup UpdateBackup(UpdateBackupRequest request, CallSettings callSettings = null)
Updates a pending or completed Cloud Bigtable Backup.
Parameters | |
---|---|
Name | Description |
request | UpdateBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Backup | The RPC response. |
UpdateBackupAsync(UpdateBackupRequest, CallSettings)
public override Task<Backup> UpdateBackupAsync(UpdateBackupRequest request, CallSettings callSettings = null)
Updates a pending or completed Cloud Bigtable Backup.
Parameters | |
---|---|
Name | Description |
request | UpdateBackupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Backup> | A Task containing the RPC response. |
UpdateTable(UpdateTableRequest, CallSettings)
public override Operation<Table, UpdateTableMetadata> UpdateTable(UpdateTableRequest request, CallSettings callSettings = null)
Updates a specified table.
Parameters | |
---|---|
Name | Description |
request | UpdateTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Table, UpdateTableMetadata> | The RPC response. |
UpdateTableAsync(UpdateTableRequest, CallSettings)
public override async Task<Operation<Table, UpdateTableMetadata>> UpdateTableAsync(UpdateTableRequest request, CallSettings callSettings = null)
Updates a specified table.
Parameters | |
---|---|
Name | Description |
request | UpdateTableRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Table, UpdateTableMetadata>> | A Task containing the RPC response. |