Title: Add support for default credentials. by orestica · Pull Request #4 · googleapis/google-api-python-client · GitHub
Open Graph Title: Add support for default credentials. by orestica · Pull Request #4 · googleapis/google-api-python-client
X Title: Add support for default credentials. by orestica · Pull Request #4 · googleapis/google-api-python-client
Description: This pull request goes hand in hand with the following pull request: googleapis/oauth2client#6 Once these two pull requests are accepted and integrated into their respective repositories, a Google API call will be authenticated as simple as building the service like this: service = build("compute", "v1", credential=GoogleCredential.get_default_credential()) This will work when the code is being run on a VM inside Google Compute Engine, a Google App Engine application or on any other off-fabric platform (in this last case, a credentials file needs to be put together containing either user or service account credentials and an environment variable pointed to it OR a 'gcloud auth login' command needs to be run before using the default credentials).
Open Graph Description: This pull request goes hand in hand with the following pull request: googleapis/oauth2client#6 Once these two pull requests are accepted and integrated into their respective repositories, a Google ...
X Description: This pull request goes hand in hand with the following pull request: googleapis/oauth2client#6 Once these two pull requests are accepted and integrated into their respective repositories, a Google ...
Opengraph URL: https://github.com/googleapis/google-api-python-client/pull/4
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:04955fba-c057-121e-c8df-d4de1a09aacb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8160:16BF37:22B510:2CBB0B:69920E29 |
| html-safe-nonce | 9e067cdf8ef4d24c877f452199445d745a9ed38f7760a51fdfa224237be63199 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTYwOjE2QkYzNzoyMkI1MTA6MkNCQjBCOjY5OTIwRTI5IiwidmlzaXRvcl9pZCI6IjI3Mzc0MDA2MDc2Mjc0MTUwODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3fc3ca4b5fdfaaca276e7ea9c12bba8bef64a7b59c572d10a259d105d6637c6a |
| hovercard-subject-tag | pull_request:15687053 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/googleapis/google-api-python-client/pull/4/checks |
| twitter:image | https://avatars.githubusercontent.com/u/7377199?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7377199?s=400&v=4 |
| og:image:alt | This pull request goes hand in hand with the following pull request: googleapis/oauth2client#6 Once these two pull requests are accepted and integrated into their respective repositories, a Google ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-api-python-client git https://github.com/googleapis/google-api-python-client.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 15749269 |
| octolytics-dimension-repository_nwo | googleapis/google-api-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15749269 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-api-python-client |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width