TableAdminClient

TableAdminClient

Service for creating, configuring, and deleting Cloud Bigtable tables. Provides access to the table schemas only, not the data stored within the tables.

While users may create an instance of this class using the standard GAPIC constructor parameters, it's recommended to obtain one by way of the Bigtable.getTableAdminClient() method so that authentication and configuration are all handled uniformly.

Constructor

new TableAdminClient()

Methods

(async) checkOptimizeRestoredTableProgress(name) → {Promise}

Check the status of the long running operation returned when the restoreTable() LRO has concluded.

Parameters:
Name Type Description
name String

The operation name that will be passed.

Returns:
Type Description
Promise
  • The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples.

(async) waitForConsistency(tableName, tokenopt, optionsopt)

Waits for a table to become consistent. This gets a consistency check token for you, and waits until its status has returned consistent.

Parameters:
Name Type Attributes Description
tableName

The name of the table to check

token <optional>

An existing token string, if one exists

options <optional>

CallOptions, if desired

Returns:
Type Description

A Promise that completes when the table is consistent