ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setAudience(java.lang.String audience) |
Sets the Security Token Service audience, which is usually the fully specified resource name
of the workload/workforce pool provider.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setClientId(java.lang.String clientId) |
Sets the optional client ID of the service account from the console.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setClientSecret(java.lang.String clientSecret) |
Sets the optional client secret of the service account from the console.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setCredentialSource(ExternalAccountCredentials.CredentialSource credentialSource) |
Sets the external credential source.
|
(package private) ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setEnvironmentProvider(EnvironmentProvider environmentProvider) |
Sets the optional Environment Provider.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setHttpTransportFactory(HttpTransportFactory transportFactory) |
Sets the HTTP transport factory, creates the transport used to get access tokens.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setQuotaProjectId(java.lang.String quotaProjectId) |
Sets the optional project used for quota and billing purposes.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setScopes(java.util.Collection<java.lang.String> scopes) |
Sets the optional scopes to request during the authorization grant.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setServiceAccountImpersonationOptions(java.util.Map<java.lang.String,java.lang.Object> optionsMap) |
Sets the optional service account impersonation options.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setServiceAccountImpersonationUrl(java.lang.String serviceAccountImpersonationUrl) |
Sets the optional URL used for service account impersonation, which is required for some
APIs.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes subjectTokenType) |
Sets the Security Token Service subject token type based on the OAuth 2.0 token exchange
spec.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setSubjectTokenType(java.lang.String subjectTokenType) |
Sets the Security Token Service subject token type based on the OAuth 2.0 token exchange
spec.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setTokenInfoUrl(java.lang.String tokenInfoUrl) |
Sets the optional endpoint used to retrieve account related information.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setTokenUrl(java.lang.String tokenUrl) |
Sets the Security Token Service token exchange endpoint.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setUniverseDomain(java.lang.String universeDomain) |
Sets the optional universe domain.
|
ExternalAccountCredentials.Builder |
ExternalAccountCredentials.Builder.setWorkforcePoolUserProject(java.lang.String workforcePoolUserProject) |
Sets the optional workforce pool user project number when the credential corresponds to a
workforce pool and not a workload identity pool.
|