Agent Platform API . projects . locations . memoryBanks . memories

Instance Methods

operations()

Returns the operations Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get a Memory.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get a Memory.

Args:
  name: string, Required. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A memory.
  "createTime": "A String", # Output only. Represents the timestamp when this Memory was created.
  "description": "A String", # Optional. Represents the description of the Memory.
  "disableMemoryRevisions": True or False, # Optional. Input only. Indicates whether no revision will be created for this request.
  "displayName": "A String", # Optional. Represents the display name of the Memory.
  "expireTime": "A String", # Optional. Represents the timestamp of when this resource is considered expired. This is *always* provided on output when `expiration` is set on input, regardless of whether `expire_time` or `ttl` was provided.
  "fact": "A String", # Optional. Represents semantic knowledge extracted from the source content.
  "metadata": { # Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
    "a_key": { # Memory metadata.
      "boolValue": True or False, # Represents a boolean value.
      "doubleValue": 3.14, # Represents a double value.
      "stringValue": "A String", # Represents a string value.
      "timestampValue": "A String", # Represents a timestamp value. When filtering on timestamp values, only the seconds field will be compared.
    },
  },
  "name": "A String", # Identifier. Represents the resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
  "revisionExpireTime": "A String", # Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
  "revisionLabels": { # Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
    "a_key": "A String",
  },
  "revisionTtl": "A String", # Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
  "scope": { # Required. Immutable. Represents 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 '*'.
    "a_key": "A String",
  },
  "topics": [ # Optional. Represents the Topics of the Memory.
    { # A memory topic identifier. This will be used to label a Memory and to restrict which topics are eligible for generation or retrieval.
      "customMemoryTopicLabel": "A String", # Optional. Represents the custom memory topic label.
      "managedMemoryTopic": "A String", # Optional. Represents the managed memory topic.
    },
  ],
  "ttl": "A String", # Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
  "updateTime": "A String", # Output only. Represents the timestamp when this Memory was most recently updated.
}