Description

DefaultClient returns an HTTP Client that uses the DefaultTokenSource to obtain authentication credentials.

This client should be used when developing services that run on Google App Engine or Google Compute Engine and use "Application Default Credentials."

For more details, see: https://developers.google.com/accounts/docs/application-default-credentials