Class DownscopedCredentials.Builder (1.18.0)

public static class DownscopedCredentials.Builder extends OAuth2Credentials.Builder

Inheritance

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

Methods

build()

public DownscopedCredentials build()
Returns
TypeDescription
DownscopedCredentials
Overrides

setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary)

public DownscopedCredentials.Builder setCredentialAccessBoundary(CredentialAccessBoundary credentialAccessBoundary)
Parameter
NameDescription
credentialAccessBoundaryCredentialAccessBoundary
Returns
TypeDescription
DownscopedCredentials.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public DownscopedCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
NameDescription
transportFactoryHttpTransportFactory
Returns
TypeDescription
DownscopedCredentials.Builder

setSourceCredential(GoogleCredentials sourceCredential)

public DownscopedCredentials.Builder setSourceCredential(GoogleCredentials sourceCredential)
Parameter
NameDescription
sourceCredentialGoogleCredentials
Returns
TypeDescription
DownscopedCredentials.Builder