We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5226c2 + 0e01b2a commit 9316f50Copy full SHA for 9316f50
samples/call_compute_service.py
@@ -1,5 +1,8 @@
1
# To be used to test GoogleCredentials.get_application_default()
2
# 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
6
7
from googleapiclient.discovery import build
8
from oauth2client.client import GoogleCredentials
0 commit comments