Class GranularTtlConfig (1.152.0)

GranularTtlConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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).

Methods

GranularTtlConfig

GranularTtlConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for TTL of the memories in the Memory Bank based on the action that created or updated the memory.