Resource: Memory
A memory.
name
string
Identifier. The resource name of the Memory. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/memories/{memory}
displayName
string
Optional. Display name of the Memory.
description
string
Optional. description of the Memory.
Output only. timestamp when this Memory was created.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
Output only. timestamp when this Memory was most recently updated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
fact
string
Required. Semantic knowledge extracted from the source content.
scope
map (key: string, value: string)
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 '*'.
expiration
Union type
expiration
can be only one of the following:Optional. timestamp of when this resource is considered expired. This is always provided on output, regardless of what expiration
was sent on input.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
Optional. Input only. The TTL for this resource. The expiration time is computed: now + TTL.
A duration in seconds with up to nine fractional digits, ending with 's
'. Example: "3.5s"
.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "fact": string, "scope": { string: string, ... }, // expiration "expireTime": string, "ttl": string // Union type } |
Methods |
|
---|---|
|
Create a Memory. |
|
Delete a Memory. |
|
Generate memories. |
|
Get a Memory. |
|
List Memories. |
|
Update a Memory. |
|
Retrieve memories. |