Uses of Enum
com.google.auth.CredentialTypeForMetrics
Packages that use CredentialTypeForMetrics
-
Uses of CredentialTypeForMetrics in com.google.auth
Subclasses with type arguments of type CredentialTypeForMetrics in com.google.authModifier and TypeClassDescriptionenumDefines the different types of credentials that can be used for metrics.Methods in com.google.auth that return CredentialTypeForMetricsModifier and TypeMethodDescriptionCredentials.getMetricsCredentialType()Gets the credential type used for internal metrics header.static CredentialTypeForMetricsReturns 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 StringMetricsUtils.getGoogleCredentialsMetricsHeader(MetricsUtils.RequestType requestType, CredentialTypeForMetrics credentialTypeForMetrics) Formulates metrics header string.(package private) static IdTokenIamUtils.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