# MemoryEntry

data class MemoryEntry(val content: Content, val id: String? = null, val author: String? = null, val timestamp: String? = null, val customMetadata: Map<String, Any> = emptyMap())

Represents one memory entry in the Vertex AI Memory Bank.

## Constructors

MemoryEntry
Link copied to clipboard
constructor(content: Content, id: String? = null, author: String? = null, timestamp: String? = null, customMetadata: Map<String, Any> = emptyMap())

## Properties

author
Link copied to clipboard
val author: String? = null

The author of the memory, or null if not set.

content
Link copied to clipboard
val content: Content

The main content of the memory.

customMetadata
Link copied to clipboard
val customMetadata: Map<String, Any>

Optional key-value metadata associated with this memory.

id
Link copied to clipboard
val id: String? = null

The unique identifier of the memory entry, or null if not yet persisted.

timestamp
Link copied to clipboard
val timestamp: String? = null

The timestamp when the original content of this memory happened, or null if not set. Preferred format is ISO 8601 format.