VertexAiMemoryBankService

constructor(project: String, location: String, agentEngineId: String, credentials: GoogleCredentials = GoogleApiClient.defaultCredentials(), httpClient: HttpClient = HttpClient(Java))

Creates a service for Agent Engine agentEngineId under project and location.

Parameters

project

The Google Cloud project id used to address the API; must match RESOURCE_SEGMENT_PATTERN.

location

The Google Cloud location; "global" selects the global endpoint. Must match RESOURCE_SEGMENT_PATTERN.

agentEngineId

The numeric Agent Engine (reasoning engine) id to address, e.g. "1234567890".

credentials

Credentials for the Vertex AI API; defaults to application-default credentials scoped for Google Cloud Platform.

httpClient

The underlying ktor HttpClient.