public static class GoogleCredentials.Builder extends OAuth2Credentials.Builder
Modifier and Type | Field and Description |
---|---|
protected String |
quotaProjectId |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(GoogleCredentials credentials) |
Modifier and Type | Method and Description |
---|---|
GoogleCredentials |
build() |
String |
getQuotaProjectId() |
GoogleCredentials.Builder |
setAccessToken(AccessToken token) |
GoogleCredentials.Builder |
setQuotaProjectId(String quotaProjectId) |
getAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMargin
protected Builder()
protected Builder(GoogleCredentials credentials)
public GoogleCredentials build()
build
in class OAuth2Credentials.Builder
public GoogleCredentials.Builder setQuotaProjectId(String quotaProjectId)
public String getQuotaProjectId()
public GoogleCredentials.Builder setAccessToken(AccessToken token)
setAccessToken
in class OAuth2Credentials.Builder
Copyright © 2023 Google. All rights reserved.