Remove GoogleCredential method call that isn't publicly released yet

It turns out that we don't actually need it for the system to function normally.
When the next version of the OAuth2 API is released and this is included, I'll
add the call back in.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132359891
This commit is contained in:
mcilwain 2016-09-06 14:06:57 -07:00 committed by Ben McIlwain
parent e5a0392994
commit fea8c96f79

View file

@ -224,7 +224,8 @@ public final class Modules {
.setJsonFactory(googleCredential.getJsonFactory())
.setServiceAccountId(googleCredential.getServiceAccountId())
.setServiceAccountPrivateKey(googleCredential.getServiceAccountPrivateKey())
.setServiceAccountProjectId(googleCredential.getServiceAccountProjectId())
// TODO(b/31317128): Also set serviceAccountProjectId from value off googleCredential when
// that functionality is publicly released.
.setServiceAccountScopes(googleCredential.getServiceAccountScopes())
.setServiceAccountUser(googleAppsAdminEmailAddress)
.build();