Credentials from ParseVertexAICredentials.
Where the key came from (VertexKeySourceOf).
key-file-not-allowed for a key file in a key that is not the environment key
(before the file is touched); unreadable-key-file or invalid-key-file for a key file that cannot be read or is
not a credential. No message quotes the path or a private key; invalid-key-file passes on the library's reason
(a missing field, an unsupported configuration).
The auth client for Vertex AI credentials, with the
cloud-platformscope where the credential type takes scopes: the key file's client when the key names one (environment keys only), else aJWTclient for an inline service account, elseundefinedfor Application Default Credentials.