Class Memory (1.144.0)

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

A memory.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
expire_time google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what expiration was sent on input. This field is a member of oneof_ expiration.
ttl google.protobuf.duration_pb2.Duration
Optional. Input only. The TTL for this resource. The expiration time is computed: now + TTL. This field is a member of oneof_ expiration.
name str
Identifier. The resource name of the Memory. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}
display_name str
Optional. Display name of the Memory.
description str
Optional. Description of the Memory.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Memory was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Memory was most recently updated.
fact str
Required. Semantic knowledge extracted from the source content.
scope MutableMapping[str, str]
Required. Immutable. The scope of the Memory. Memories are isolated within their scope. The scope is defined when creating or generating memories. Scope values cannot contain the wildcard character '\*'.

Classes

ScopeEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Methods

Memory

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

A memory.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields