Uses of Class
com.google.auth.CredentialTypeForMetrics
-
Packages that use CredentialTypeForMetrics Package Description com.google.auth com.google.auth.oauth2 -
-
Uses of CredentialTypeForMetrics in com.google.auth
Methods in com.google.auth that return CredentialTypeForMetrics Modifier and Type Method Description CredentialTypeForMetrics
Credentials. getMetricsCredentialType()
Gets the credential type used for internal metrics header.static CredentialTypeForMetrics
CredentialTypeForMetrics. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CredentialTypeForMetrics[]
CredentialTypeForMetrics. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of CredentialTypeForMetrics in com.google.auth.oauth2
Methods in com.google.auth.oauth2 that return CredentialTypeForMetrics Modifier and Type Method Description CredentialTypeForMetrics
ComputeEngineCredentials. getMetricsCredentialType()
CredentialTypeForMetrics
ImpersonatedCredentials. getMetricsCredentialType()
CredentialTypeForMetrics
ServiceAccountCredentials. getMetricsCredentialType()
CredentialTypeForMetrics
UserCredentials. getMetricsCredentialType()
Methods in com.google.auth.oauth2 with parameters of type CredentialTypeForMetrics Modifier and Type Method Description (package private) static java.lang.String
MetricsUtils. getGoogleCredentialsMetricsHeader(MetricsUtils.RequestType requestType, CredentialTypeForMetrics credentialTypeForMetrics)
Formulates metrics header string.(package private) static IdToken
IamUtils. getIdToken(java.lang.String serviceAccountEmail, Credentials credentials, com.google.api.client.http.HttpTransport transport, java.lang.String targetAudience, boolean includeEmail, java.util.Map<java.lang.String,?> additionalFields, CredentialTypeForMetrics credentialTypeForMetrics)
Returns an IdToken issued to the serviceAccount with a specified targetAudience
-