public static class IdentityPoolCredentials.Builder extends ExternalAccountCredentials.Builder
audience, clientId, clientSecret, credentialSource, environmentProvider, scopes, serviceAccountImpersonationOptions, serviceAccountImpersonationUrl, subjectTokenType, tokenInfoUrl, tokenUrl, transportFactory, universeDomain, workforcePoolUserProject
quotaProjectId
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, setUniverseDomain
getQuotaProjectId, setAccessToken
getAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMargin
public IdentityPoolCredentials.Builder setWorkforcePoolUserProject(String workforcePoolUserProject)
ExternalAccountCredentials.Builder
setWorkforcePoolUserProject
in class ExternalAccountCredentials.Builder
workforcePoolUserProject
- the workforce pool user project number to setBuilder
objectpublic IdentityPoolCredentials build()
build
in class ExternalAccountCredentials.Builder
Copyright © 2023 Google. All rights reserved.