Check credentials types before using them.
Check credentials types before using them.

We previously used methods from oauth2client.client.GoogleCredentials on an
object that might only be an instance of oauth2client.client.Credentials.

googleapis/google-api-python-client,googleapis/google-api-python-client