VertexCredentials

data class VertexCredentials(val project: String? = null, val location: String? = null, val credentials: GoogleCredentials? = null)

Config for authenticating to Vertex AI when constructing a Gemini model.

Constructors

Link copied to clipboard
constructor(project: String? = null, location: String? = null, credentials: GoogleCredentials? = null)

Types

Link copied to clipboard
class Builder

Fluent builder for VertexCredentials, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Credentials; defaults to GoogleCredentials.getApplicationDefault() when null.

Link copied to clipboard

Google Cloud project location.

Link copied to clipboard

Google Cloud project.

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.