File tree Expand file tree Collapse file tree
packages/google-container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,24 +58,24 @@ npm install @google-cloud/container
5858### Using the client library
5959
6060``` javascript
61- const container = require (' @google-cloud/container' );
62-
63- // Create the Cluster Manager Client
64- const client = new container.v1.ClusterManagerClient ();
65-
66- async function quickstart () {
67- const zone = ' us-central1-a' ;
68- const projectId = await client .getProjectId ();
69- const request = {
70- projectId: projectId,
71- zone: zone,
72- };
73-
74- const [response ] = await client .listClusters (request);
75- console .log (' Clusters:' );
76- console .log (response);
77- }
78- quickstart ();
61+ const container = require (' @google-cloud/container' );
62+
63+ // Create the Cluster Manager Client
64+ const client = new container.v1.ClusterManagerClient ();
65+
66+ async function quickstart () {
67+ const zone = ' us-central1-a' ;
68+ const projectId = await client .getProjectId ();
69+ const request = {
70+ projectId: projectId,
71+ zone: zone,
72+ };
73+
74+ const [response ] = await client .listClusters (request);
75+ console .log (' Clusters:' );
76+ console .log (response);
77+ }
78+ quickstart ();
7979
8080```
8181
You can’t perform that action at this time.
0 commit comments