Skip to content

Commit 9316f50

Browse files
committed
Merge pull request googleapis#26 from orestica/patch-1
GCE VM needs the Compute API enabled
2 parents c5226c2 + 0e01b2a commit 9316f50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/call_compute_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# To be used to test GoogleCredentials.get_application_default()
22
# from local machine and GCE.
3+
# The GCE virtual machine needs to have both service account and
4+
# Compute API enabled.
5+
# See: https://developers.google.com/compute/docs/authentication
36

47
from googleapiclient.discovery import build
58
from oauth2client.client import GoogleCredentials

0 commit comments

Comments
 (0)