ServiceAccount
A Google Cloud credential: a service account key, or Application Default Credentials.
Throws
if serviceAccountCredential is null and useDefaultCredential is false, or if useIdToken is true and audience is null or empty.
Types
Fluent builder for ServiceAccount, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
A service account key, as in the JSON key file Google Cloud issues.
Properties
The service account key; required unless useDefaultCredential is true.
Whether to use Application Default Credentials instead of a key.
Whether to get an ID token instead of an access token; requires a non-empty audience.
Functions
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.