Class DownscopedCredentials.Builder (1.20.0)

public static class DownscopedCredentials.Builder extends OAuth2Credentials.Builder

Inheritance

java.lang.Object > OAuth2Credentials.Builder > DownscopedCredentials.Builder

Methods

build()

public DownscopedCredentials build()
Returns
Type Description
DownscopedCredentials
Overrides

setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary)

public DownscopedCredentials.Builder setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary)
Parameter
Name Description
credentialAccessBoundary CredentialAccessBoundary
Returns
Type Description
DownscopedCredentials.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public DownscopedCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
Name Description
transportFactory HttpTransportFactory
Returns
Type Description
DownscopedCredentials.Builder

setSourceCredential(GoogleCredentials sourceCredential)

public DownscopedCredentials.Builder setSourceCredential(GoogleCredentials sourceCredential)
Parameter
Name Description
sourceCredential GoogleCredentials
Returns
Type Description
DownscopedCredentials.Builder