Enum CredentialTypeForMetrics (1.28.0)

public enum CredentialTypeForMetrics extends Enum<CredentialTypeForMetrics>

Defines the different types of credentials that can be used for metrics.

Each credential type is associated with a label that is used for reporting purposes. Add new enum constant only when corresponding configs established.

Credentials with type CredentialTypeForMetrics.DO_NOT_SEND is default value for credential implementations that do not set type specifically. It is not expected to send metrics.

See Also: #getLabel()

Static Fields

Name Description
DO_NOT_SEND
IMPERSONATED_CREDENTIALS
SERVICE_ACCOUNT_CREDENTIALS_AT
SERVICE_ACCOUNT_CREDENTIALS_JWT
USER_CREDENTIALS
VM_CREDENTIALS

Static Methods

Name Description
valueOf(String name)
values()

Methods

Name Description
getLabel()