public static class IdentityPoolCredentials.Builder extends ExternalAccountCredentials.Builder
Inheritance
java.lang.Object > OAuth2Credentials.Builder > GoogleCredentials.Builder > ExternalAccountCredentials.Builder > IdentityPoolCredentials.BuilderMethods
build()
public IdentityPoolCredentials build()
Type | Description |
IdentityPoolCredentials |
setWorkforcePoolUserProject(String workforcePoolUserProject)
public 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. The underlying principal must still have serviceusage.services.use IAM permission to use the project for billing/quota.
Name | Description |
workforcePoolUserProject | String |
Type | Description |
IdentityPoolCredentials.Builder |