Uses of Enum
com.google.auth.CredentialTypeForMetrics
Packages that use CredentialTypeForMetrics
-
Uses of CredentialTypeForMetrics in com.google.auth
Methods in com.google.auth that return CredentialTypeForMetricsModifier and TypeMethodDescriptionCredentials.getMetricsCredentialType()
Gets the credential type used for internal metrics header.static CredentialTypeForMetrics
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 CredentialTypeForMetricsModifier and TypeMethodDescriptionComputeEngineCredentials.getMetricsCredentialType()
ImpersonatedCredentials.getMetricsCredentialType()
ServiceAccountCredentials.getMetricsCredentialType()
UserCredentials.getMetricsCredentialType()
Methods in com.google.auth.oauth2 with parameters of type CredentialTypeForMetricsModifier and TypeMethodDescription(package private) static String
MetricsUtils.getGoogleCredentialsMetricsHeader
(MetricsUtils.RequestType requestType, CredentialTypeForMetrics credentialTypeForMetrics) Formulates metrics header string.(package private) static IdToken
IamUtils.getIdToken
(String serviceAccountEmail, Credentials credentials, com.google.api.client.http.HttpTransport transport, String targetAudience, boolean includeEmail, Map<String, ?> additionalFields, CredentialTypeForMetrics credentialTypeForMetrics) Returns an IdToken issued to the serviceAccount with a specified targetAudience