@google-cloud/bigtable
The default export of the @google-cloud/bigtable
package is the
Bigtable class.
See Bigtable and ClientConfig for client methods and configuration options.
Examples
Install the client library with npm:
npm install --save @google-cloud/bigtable
Import the client library
const Bigtable = require('@google-cloud/bigtable');
Create a client that uses Application Default Credentials (ADC):
const bigtable = new Bigtable();
Create a client with explicit credentials:
const bigtable = new Bigtable({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json'
});
Full quickstart example:
Properties
Cluster
Reference to the Cluster class.
- See also
- Cluster
Instance
Reference to the Instance class.
- See also
- Instance