Credential
data class Credential(val type: String = "", val projectId: String, val privateKeyId: Secret, val privateKey: Secret, val clientEmail: String, val clientId: String, val authUri: String, val tokenUri: String, val authProviderX509CertUrl: String, val clientX509CertUrl: String, val universeDomain: String)
A service account key, as in the JSON key file Google Cloud issues.
Constructors
Types
Link copied to clipboard
class Builder
Fluent builder for Credential, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Properties
Link copied to clipboard
Where the provider's X.509 certificates are published.
Link copied to clipboard
The service account's email address.
Link copied to clipboard
Where the service account's X.509 certificate is published.
Link copied to clipboard
The private key, in PEM format.
Link copied to clipboard
The ID of the private key.
Link copied to clipboard
The Google Cloud universe domain, such as googleapis.com.
Functions
Link copied to clipboard
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.