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)

Properties

Link copied to clipboard

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

Link copied to clipboard
val location: String? = null

Google Cloud project location.

Link copied to clipboard
val project: String? = null

Google Cloud project.