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 e660314 + 9316f50 commit d3d50c0Copy full SHA for d3d50c0
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