@google-cloud/container

The @google-cloud/container package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/container

Import the client library:

const container = require('@google-cloud/container');

Create a client that uses Application Default Credentials (ADC):

const client = new container.ClusterManagerClient();

Create a client with explicit credentials:

const client = new container.ClusterManagerClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1 :object

Properties:
Name Type Description
ClusterManagerClient constructor

Reference to v1.ClusterManagerClient

Source: