Class GoogleCredentials.Builder (1.20.0)

public static class GoogleCredentials.Builder extends OAuth2Credentials.Builder

Inheritance

java.lang.Object > OAuth2Credentials.Builder > GoogleCredentials.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
Overrides

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
Overrides

setQuotaProjectId(String quotaProjectId)

public GoogleCredentials.Builder setQuotaProjectId(String quotaProjectId)
Parameter
Name Description
quotaProjectId String
Returns
Type Description
GoogleCredentials.Builder