Skip to content

Commit ebeb820

Browse files
committed
Merge pull request googleapis#507 from ptone/patch-1
Fix compute ADC example
2 parents 6bb76f8 + 2c1a89c commit ebeb820

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ google.auth.getApplicationDefault(function(err, authClient) {
283283
}
284284
// Fetch the list of GCE zones within a project.
285285
// NOTE: You must fill in your valid project ID before running this sample!
286+
var compute = google.compute({ version: 'v1', auth: authClient });
286287
var projectId = 'fill in your project id here!';
287288
compute.zones.list({ project: projectId, auth: authClient }, function(error, result) {
288289
console.log(error, result);

0 commit comments

Comments
 (0)