module
@google-cloud/container
Source: index.
The @google-cloud/container package has the following named exports:
ClusterManagerClient- Reference to v1.ClusterManagerClientv1- This is used for selecting or pinning a particular backend service version. It exports:ClusterManagerClient- Reference to v1.ClusterManagerClient
Examples
Install the client library with <a href="https://www.npmjs.com/">npm</a>:
npm install --save @google-cloud/container
Import the client library:
const container = require('@google-cloud/container');
Create a client that uses <a href="https://goo.gl/64dyYX">Application Default Credentials (ADC)</a>:
const client = new container.ClusterManagerClient();
Create a client with <a href="https://goo.gl/RXp6VL">explicit credentials</a>:
const client = new container.ClusterManagerClient({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json',
});
Property
Exports
require("@google-cloud/container") unknown
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
ClusterManagerClient |
|
|
Reference to v1.ClusterManagerClient |
Property
static
v1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
ClusterManagerClient |
constructor |
|
Reference to v1.ClusterManagerClient |