Debian Codegraph @

docs/dyn/aiplatform_v1beta1.projects.locations.metadataStores.executions.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.projects.html">projects</a> . <a href="aiplatform_v1beta1.projects.locations.html">locations</a> . <a href="aiplatform_v1beta1.projects.locations.metadataStores.html">metadataStores</a> . <a href="aiplatform_v1beta1.projects.locations.metadataStores.executions.html">executions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1beta1.projects.locations.metadataStores.executions.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#addExecutionEvents">addExecutionEvents(execution, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.</p>
85 <p class="toc_element">
86 <code><a href="#close">close()</a></code></p>
87 <p class="firstline">Close httplib2 connections.</p>
88 <p class="toc_element">
89 <code><a href="#create">create(parent, body=None, executionId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Creates an Execution associated with a MetadataStore.</p>
91 <p class="toc_element">
92 <code><a href="#delete">delete(name, etag=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Deletes an Execution.</p>
94 <p class="toc_element">
95 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
96 <p class="firstline">Retrieves a specific Execution.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists Executions in the MetadataStore.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#patch">patch(name, allowMissing=None, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Updates a stored Execution.</p>
106 <p class="toc_element">
107 <code><a href="#purge">purge(parent, body=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Purges Executions.</p>
109 <p class="toc_element">
110 <code><a href="#queryExecutionInputsAndOutputs">queryExecutionInputsAndOutputs(execution, x__xgafv=None)</a></code></p>
111 <p class="firstline">Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.</p>
112 <h3>Method Details</h3>
113 <div class="method">
114 <code class="details" id="addExecutionEvents">addExecutionEvents(execution, body=None, x__xgafv=None)</code>
115 <pre>Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.
116
117 Args:
118 execution: string, Required. The resource name of the Execution that the Events connect Artifacts with. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` (required)
119 body: object, The request body.
120 The object takes the form of:
121
122 { # Request message for MetadataService.AddExecutionEvents.
123 &quot;events&quot;: [ # The Events to create and add.
124 { # An edge describing the relationship between an Artifact and an Execution in a lineage graph.
125 &quot;artifact&quot;: &quot;A String&quot;, # Required. The relative resource name of the Artifact in the Event.
126 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. Time the Event occurred.
127 &quot;execution&quot;: &quot;A String&quot;, # Output only. The relative resource name of the Execution in the Event.
128 &quot;labels&quot;: { # The labels with user-defined metadata to annotate Events. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
129 &quot;a_key&quot;: &quot;A String&quot;,
130 },
131 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Event.
132 },
133 ],
134 }
135
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # Response message for MetadataService.AddExecutionEvents.
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="close">close()</code>
150 <pre>Close httplib2 connections.</pre>
151 </div>
152
153 <div class="method">
154 <code class="details" id="create">create(parent, body=None, executionId=None, x__xgafv=None)</code>
155 <pre>Creates an Execution associated with a MetadataStore.
156
157 Args:
158 parent: string, Required. The resource name of the MetadataStore where the Execution should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` (required)
159 body: object, The request body.
160 The object takes the form of:
161
162 { # Instance of a general execution.
163 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
164 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
165 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
166 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
167 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
168 &quot;a_key&quot;: &quot;A String&quot;,
169 },
170 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
171 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
172 },
173 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
174 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
175 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
176 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
177 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
178 }
179
180 executionId: string, The {execution} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` If not provided, the Execution&#x27;s ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Executions in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can&#x27;t view the preexisting Execution.)
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # Instance of a general execution.
190 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
191 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
192 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
193 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
194 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
195 &quot;a_key&quot;: &quot;A String&quot;,
196 },
197 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
198 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
199 },
200 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
201 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
202 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
203 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
204 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
205 }</pre>
206 </div>
207
208 <div class="method">
209 <code class="details" id="delete">delete(name, etag=None, x__xgafv=None)</code>
210 <pre>Deletes an Execution.
211
212 Args:
213 name: string, Required. The resource name of the Execution to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` (required)
214 etag: string, Optional. The etag of the Execution to delete. If this is provided, it must match the server&#x27;s etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220 Returns:
221 An object of the form:
222
223 { # This resource represents a long-running operation that is the result of a network API call.
224 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
225 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
226 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
227 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
228 {
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
230 },
231 ],
232 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
233 },
234 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
236 },
237 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
238 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
240 },
241 }</pre>
242 </div>
243
244 <div class="method">
245 <code class="details" id="get">get(name, x__xgafv=None)</code>
246 <pre>Retrieves a specific Execution.
247
248 Args:
249 name: string, Required. The resource name of the Execution to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` (required)
250 x__xgafv: string, V1 error format.
251 Allowed values
252 1 - v1 error format
253 2 - v2 error format
254
255 Returns:
256 An object of the form:
257
258 { # Instance of a general execution.
259 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
260 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
261 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
262 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
263 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
264 &quot;a_key&quot;: &quot;A String&quot;,
265 },
266 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
267 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
268 },
269 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
270 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
271 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
272 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
273 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
274 }</pre>
275 </div>
276
277 <div class="method">
278 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
279 <pre>Lists Executions in the MetadataStore.
280
281 Args:
282 parent: string, Required. The MetadataStore whose Executions should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` (required)
283 filter: string, Filter specifying the boolean condition for the Executions to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. Following are the supported set of filters: * **Attribute filtering**: For example: `display_name = &quot;test&quot;`. Supported fields include: `name`, `display_name`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = &quot;2020-11-19T11:30:00-04:00&quot;`. * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..` For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata.&quot;field:1&quot;.number_value = 10.0` * **Context based filtering**: To filter Executions based on the contexts to which they belong use the function operator with the full resource name: `in_context()`. For example: `in_context(&quot;projects//locations//metadataStores//contexts/&quot;)` Each of the above supported filters can be combined together using logical operators (`AND` &amp; `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = &quot;test&quot; AND metadata.field1.bool_value = true`.
284 orderBy: string, How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a &quot; desc&quot; suffix; for example: &quot;foo desc, bar&quot;. Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.
285 pageSize: integer, The maximum number of Executions to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.
286 pageToken: string, A page token, received from a previous MetadataService.ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with an INVALID_ARGUMENT error.)
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # Response message for MetadataService.ListExecutions.
296 &quot;executions&quot;: [ # The Executions retrieved from the MetadataStore.
297 { # Instance of a general execution.
298 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
299 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
300 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
301 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
302 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
303 &quot;a_key&quot;: &quot;A String&quot;,
304 },
305 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
306 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
307 },
308 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
309 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
310 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
311 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
312 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
313 },
314 ],
315 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListExecutionsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.
316 }</pre>
317 </div>
318
319 <div class="method">
320 <code class="details" id="list_next">list_next()</code>
321 <pre>Retrieves the next page of results.
322
323 Args:
324 previous_request: The request for the previous page. (required)
325 previous_response: The response from the request for the previous page. (required)
326
327 Returns:
328 A request object that you can call &#x27;execute()&#x27; on to request the next
329 page. Returns None if there are no more items in the collection.
330 </pre>
331 </div>
332
333 <div class="method">
334 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, x__xgafv=None)</code>
335 <pre>Updates a stored Execution.
336
337 Args:
338 name: string, Output only. The resource name of the Execution. (required)
339 body: object, The request body.
340 The object takes the form of:
341
342 { # Instance of a general execution.
343 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
344 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
345 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
346 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
347 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
348 &quot;a_key&quot;: &quot;A String&quot;,
349 },
350 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
351 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
352 },
353 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
354 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
355 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
356 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
357 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
358 }
359
360 allowMissing: boolean, If set to true, and the Execution is not found, a new Execution is created.
361 updateMask: string, Optional. A FieldMask indicating which fields should be updated.
362 x__xgafv: string, V1 error format.
363 Allowed values
364 1 - v1 error format
365 2 - v2 error format
366
367 Returns:
368 An object of the form:
369
370 { # Instance of a general execution.
371 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
372 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
373 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
374 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
375 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
376 &quot;a_key&quot;: &quot;A String&quot;,
377 },
378 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
379 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
380 },
381 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
382 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
383 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
384 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
385 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
386 }</pre>
387 </div>
388
389 <div class="method">
390 <code class="details" id="purge">purge(parent, body=None, x__xgafv=None)</code>
391 <pre>Purges Executions.
392
393 Args:
394 parent: string, Required. The metadata store to purge Executions from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` (required)
395 body: object, The request body.
396 The object takes the form of:
397
398 { # Request message for MetadataService.PurgeExecutions.
399 &quot;filter&quot;: &quot;A String&quot;, # Required. A required filter matching the Executions to be purged. E.g., `update_time &lt;= 2020-11-19T11:30:00-04:00`.
400 &quot;force&quot;: True or False, # Optional. Flag to indicate to actually perform the purge. If `force` is set to false, the method will return a sample of Execution names that would be deleted.
401 }
402
403 x__xgafv: string, V1 error format.
404 Allowed values
405 1 - v1 error format
406 2 - v2 error format
407
408 Returns:
409 An object of the form:
410
411 { # This resource represents a long-running operation that is the result of a network API call.
412 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
413 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
414 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
415 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
416 {
417 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
418 },
419 ],
420 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
421 },
422 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
423 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
424 },
425 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
426 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
427 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
428 },
429 }</pre>
430 </div>
431
432 <div class="method">
433 <code class="details" id="queryExecutionInputsAndOutputs">queryExecutionInputsAndOutputs(execution, x__xgafv=None)</code>
434 <pre>Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.
435
436 Args:
437 execution: string, Required. The resource name of the Execution whose input and output Artifacts should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` (required)
438 x__xgafv: string, V1 error format.
439 Allowed values
440 1 - v1 error format
441 2 - v2 error format
442
443 Returns:
444 An object of the form:
445
446 { # A subgraph of the overall lineage graph. Event edges connect Artifact and Execution nodes.
447 &quot;artifacts&quot;: [ # The Artifact nodes in the subgraph.
448 { # Instance of a general artifact.
449 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Artifact was created.
450 &quot;description&quot;: &quot;A String&quot;, # Description of the Artifact
451 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Artifact. May be up to 128 Unicode characters.
452 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
453 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).
454 &quot;a_key&quot;: &quot;A String&quot;,
455 },
456 &quot;metadata&quot;: { # Properties of the Artifact. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
457 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
458 },
459 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Artifact.
460 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
461 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
462 &quot;state&quot;: &quot;A String&quot;, # The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
463 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Artifact was last updated.
464 &quot;uri&quot;: &quot;A String&quot;, # The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
465 },
466 ],
467 &quot;events&quot;: [ # The Event edges between Artifacts and Executions in the subgraph.
468 { # An edge describing the relationship between an Artifact and an Execution in a lineage graph.
469 &quot;artifact&quot;: &quot;A String&quot;, # Required. The relative resource name of the Artifact in the Event.
470 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. Time the Event occurred.
471 &quot;execution&quot;: &quot;A String&quot;, # Output only. The relative resource name of the Execution in the Event.
472 &quot;labels&quot;: { # The labels with user-defined metadata to annotate Events. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
473 &quot;a_key&quot;: &quot;A String&quot;,
474 },
475 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Event.
476 },
477 ],
478 &quot;executions&quot;: [ # The Execution nodes in the subgraph.
479 { # Instance of a general execution.
480 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was created.
481 &quot;description&quot;: &quot;A String&quot;, # Description of the Execution
482 &quot;displayName&quot;: &quot;A String&quot;, # User provided display name of the Execution. May be up to 128 Unicode characters.
483 &quot;etag&quot;: &quot;A String&quot;, # An eTag used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
484 &quot;labels&quot;: { # The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
485 &quot;a_key&quot;: &quot;A String&quot;,
486 },
487 &quot;metadata&quot;: { # Properties of the Execution. Top level metadata keys&#x27; heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
488 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
489 },
490 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Execution.
491 &quot;schemaTitle&quot;: &quot;A String&quot;, # The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
492 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
493 &quot;state&quot;: &quot;A String&quot;, # The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
494 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this Execution was last updated.
495 },
496 ],
497 }</pre>
498 </div>
499
500 </body></html>