public static class IdentityPoolCredentials.Builder extends ExternalAccountCredentials.Builder
audience, clientId, clientSecret, credentialSource, environmentProvider, metricsHandler, scopes, serviceAccountImpersonationOptions, serviceAccountImpersonationUrl, subjectTokenType, tokenInfoUrl, tokenUrl, transportFactory, universeDomain, workforcePoolUserProjectquotaProjectId| Modifier and Type | Method and Description |
|---|---|
IdentityPoolCredentials |
build() |
IdentityPoolCredentials.Builder |
setWorkforcePoolUserProject(String workforcePoolUserProject)
Sets the optional workforce pool user project number when the credential corresponds to a
workforce pool and not a workload identity pool.
|
setAudience, setClientId, setClientSecret, setCredentialSource, setHttpTransportFactory, setQuotaProjectId, setScopes, setServiceAccountImpersonationOptions, setServiceAccountImpersonationUrl, setSubjectTokenType, setTokenInfoUrl, setTokenUrl, setUniverseDomaingetQuotaProjectId, setAccessTokengetAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMarginpublic IdentityPoolCredentials.Builder setWorkforcePoolUserProject(String workforcePoolUserProject)
ExternalAccountCredentials.BuildersetWorkforcePoolUserProject in class ExternalAccountCredentials.BuilderworkforcePoolUserProject - the workforce pool user project number to setBuilder objectpublic IdentityPoolCredentials build()
build in class ExternalAccountCredentials.BuilderCopyright © 2023 Google. All rights reserved.