@google-cloud/bigtable
Source: index.
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 <a href="https://www.npmjs.com/">npm</a>:
npm install --save @google-cloud/bigtable
Import the client library
const Bigtable = require('@google-cloud/bigtable');
Create a client that uses <a href="https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application">Application Default Credentials (ADC)</a>:
const bigtable = new Bigtable();
Create a client with <a href="https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually">explicit credentials</a>:
const bigtable = new Bigtable({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json'
});
include:samples/quickstart.js
region_tag:bigtable_quickstart
Full quickstart example:
Properties
Properties
AppProfile
Reference to the AppProfile class.
- See also
- AppProfile
Cluster
Reference to the Cluster class.
- See also
- Cluster
Instance
Reference to the Instance class.
- See also
- Instance