Configuration for TTL of the memories in the Memory Bank
based on the action that created or updated the memory.
Attributes
Name
Description
create_ttl
google.protobuf.duration_pb2.Duration
Optional. The TTL duration for memories
uploaded via CreateMemory.
generate_created_ttl
google.protobuf.duration_pb2.Duration
Optional. The TTL duration for memories newly generated via
GenerateMemories
(GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).
generate_updated_ttl
google.protobuf.duration_pb2.Duration
Optional. The TTL duration for memories updated via
GenerateMemories
(GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).
In the case of an UPDATE action, the expire_time of the
existing memory will be updated to the new value (now +
TTL).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-12 UTC."],[],[]]