Debian Codegraph @

docs/dyn/aiplatform_v1beta1.reasoningEngines.memories.revisions.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="aiplatform_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.reasoningEngines.html">reasoningEngines</a> . <a href="aiplatform_v1beta1.reasoningEngines.memories.html">memories</a> . <a href="aiplatform_v1beta1.reasoningEngines.memories.revisions.html">revisions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Get a Memory Revision.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">List Memory Revisions for a Memory.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Get a Memory Revision.
98
99 Args:
100 name: string, Required. The resource name of the Memory Revision to retrieve. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{revision}` (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # A revision of a Memory.
110 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Represents the timestamp when this Memory Revision was created.
111 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Represents the timestamp of when this resource is considered expired.
112 &quot;extractedMemories&quot;: [ # Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.
113 { # An extracted memory that is the intermediate result before consolidation.
114 &quot;context&quot;: &quot;A String&quot;, # Output only. Represents the explanation of why the information was extracted from the source content.
115 &quot;fact&quot;: &quot;A String&quot;, # Output only. Represents the fact of the extracted memory.
116 &quot;structuredData&quot;: { # Output only. Represents the structured value of the extracted memory.
117 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
118 },
119 },
120 ],
121 &quot;fact&quot;: &quot;A String&quot;, # Output only. Represents the fact of the Memory Revision. This corresponds to the `fact` field of the parent Memory at the time of revision creation.
122 &quot;labels&quot;: { # Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on `GenerateMemoriesRequest.revision_labels`.
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;name&quot;: &quot;A String&quot;, # Identifier. Represents the resource name of the Memory Revision. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}`
126 &quot;structuredData&quot;: { # Output only. Represents the structured value of the memory at the time of revision creation.
127 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
128 },
129 }</pre>
130 </div>
131
132 <div class="method">
133 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
134 <pre>List Memory Revisions for a Memory.
135
136 Args:
137 parent: string, Required. The resource name of the Memory to list revisions for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` (required)
138 filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `labels`
139 pageSize: integer, Optional. The standard list page size.
140 pageToken: string, Optional. The standard list page token.
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # Response message for MemoryBankService.ListMemoryRevisions.
150 &quot;memoryRevisions&quot;: [ # The list of Memory Revisions in the request page.
151 { # A revision of a Memory.
152 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Represents the timestamp when this Memory Revision was created.
153 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Represents the timestamp of when this resource is considered expired.
154 &quot;extractedMemories&quot;: [ # Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.
155 { # An extracted memory that is the intermediate result before consolidation.
156 &quot;context&quot;: &quot;A String&quot;, # Output only. Represents the explanation of why the information was extracted from the source content.
157 &quot;fact&quot;: &quot;A String&quot;, # Output only. Represents the fact of the extracted memory.
158 &quot;structuredData&quot;: { # Output only. Represents the structured value of the extracted memory.
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
160 },
161 },
162 ],
163 &quot;fact&quot;: &quot;A String&quot;, # Output only. Represents the fact of the Memory Revision. This corresponds to the `fact` field of the parent Memory at the time of revision creation.
164 &quot;labels&quot;: { # Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on `GenerateMemoriesRequest.revision_labels`.
165 &quot;a_key&quot;: &quot;A String&quot;,
166 },
167 &quot;name&quot;: &quot;A String&quot;, # Identifier. Represents the resource name of the Memory Revision. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}`
168 &quot;structuredData&quot;: { # Output only. Represents the structured value of the memory at the time of revision creation.
169 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
170 },
171 },
172 ],
173 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
174 }</pre>
175 </div>
176
177 <div class="method">
178 <code class="details" id="list_next">list_next()</code>
179 <pre>Retrieves the next page of results.
180
181 Args:
182 previous_request: The request for the previous page. (required)
183 previous_response: The response from the request for the previous page. (required)
184
185 Returns:
186 A request object that you can call &#x27;execute()&#x27; on to request the next
187 page. Returns None if there are no more items in the collection.
188 </pre>
189 </div>
190
191 </body></html>