public static class GoogleCredentials.Builder extends OAuth2Credentials.Builder
Constructors
Builder()
protected Builder()
Builder(GoogleCredentials credentials)
protected Builder(GoogleCredentials credentials)
Parameter | |
---|---|
Name | Description |
credentials | GoogleCredentials |
Fields
quotaProjectId
protected String quotaProjectId
Field Value | |
---|---|
Type | Description |
String |
Methods
build()
public GoogleCredentials build()
Returns | |
---|---|
Type | Description |
GoogleCredentials |
getQuotaProjectId()
public String getQuotaProjectId()
Returns | |
---|---|
Type | Description |
String |
setAccessToken(AccessToken token)
public GoogleCredentials.Builder setAccessToken(AccessToken token)
Parameter | |
---|---|
Name | Description |
token | AccessToken |
Returns | |
---|---|
Type | Description |
GoogleCredentials.Builder |
setQuotaProjectId(String quotaProjectId)
public GoogleCredentials.Builder setQuotaProjectId(String quotaProjectId)
Parameter | |
---|---|
Name | Description |
quotaProjectId | String |
Returns | |
---|---|
Type | Description |
GoogleCredentials.Builder |