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.