@flyteorg/flyteidl 0.24.2 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/pb-js/flyteidl.d.ts +179 -0
- package/gen/pb-js/flyteidl.js +377 -0
- package/package.json +1 -1
- package/protos/flyteidl/service/dataproxy.proto +54 -0
- package/protos/docs/admin/admin.rst +0 -3641
- package/protos/docs/core/core.rst +0 -3656
- package/protos/docs/datacatalog/datacatalog.rst +0 -870
- package/protos/docs/event/event.rst +0 -321
- package/protos/docs/plugins/plugins.rst +0 -549
- package/protos/docs/service/service.rst +0 -274
|
@@ -1,870 +0,0 @@
|
|
|
1
|
-
######################
|
|
2
|
-
Protocol Documentation
|
|
3
|
-
######################
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.. _ref_flyteidl/datacatalog/datacatalog.proto:
|
|
9
|
-
|
|
10
|
-
flyteidl/datacatalog/datacatalog.proto
|
|
11
|
-
==================================================================
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.. _ref_datacatalog.AddTagRequest:
|
|
18
|
-
|
|
19
|
-
AddTagRequest
|
|
20
|
-
------------------------------------------------------------------
|
|
21
|
-
|
|
22
|
-
Request message for tagging an Artifact.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.. csv-table:: AddTagRequest type fields
|
|
27
|
-
:header: "Field", "Type", "Label", "Description"
|
|
28
|
-
:widths: auto
|
|
29
|
-
|
|
30
|
-
"tag", ":ref:`ref_datacatalog.Tag`", "", ""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.. _ref_datacatalog.AddTagResponse:
|
|
39
|
-
|
|
40
|
-
AddTagResponse
|
|
41
|
-
------------------------------------------------------------------
|
|
42
|
-
|
|
43
|
-
Response message for tagging an Artifact.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.. _ref_datacatalog.Artifact:
|
|
53
|
-
|
|
54
|
-
Artifact
|
|
55
|
-
------------------------------------------------------------------
|
|
56
|
-
|
|
57
|
-
Artifact message. It is composed of several string fields.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.. csv-table:: Artifact type fields
|
|
62
|
-
:header: "Field", "Type", "Label", "Description"
|
|
63
|
-
:widths: auto
|
|
64
|
-
|
|
65
|
-
"id", ":ref:`ref_string`", "", "The unique ID of the artifact"
|
|
66
|
-
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that the artifact belongs to"
|
|
67
|
-
"data", ":ref:`ref_datacatalog.ArtifactData`", "repeated", "A list of data that is associated with the artifact"
|
|
68
|
-
"metadata", ":ref:`ref_datacatalog.Metadata`", "", "Free-form metadata associated with the artifact"
|
|
69
|
-
"partitions", ":ref:`ref_datacatalog.Partition`", "repeated", ""
|
|
70
|
-
"tags", ":ref:`ref_datacatalog.Tag`", "repeated", ""
|
|
71
|
-
"created_at", ":ref:`ref_google.protobuf.Timestamp`", "", "creation timestamp of artifact, autogenerated by service"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.. _ref_datacatalog.ArtifactData:
|
|
80
|
-
|
|
81
|
-
ArtifactData
|
|
82
|
-
------------------------------------------------------------------
|
|
83
|
-
|
|
84
|
-
ArtifactData that belongs to an artifact
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
.. csv-table:: ArtifactData type fields
|
|
89
|
-
:header: "Field", "Type", "Label", "Description"
|
|
90
|
-
:widths: auto
|
|
91
|
-
|
|
92
|
-
"name", ":ref:`ref_string`", "", ""
|
|
93
|
-
"value", ":ref:`ref_flyteidl.core.Literal`", "", ""
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
.. _ref_datacatalog.ArtifactPropertyFilter:
|
|
102
|
-
|
|
103
|
-
ArtifactPropertyFilter
|
|
104
|
-
------------------------------------------------------------------
|
|
105
|
-
|
|
106
|
-
Artifact properties we can filter by
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
.. csv-table:: ArtifactPropertyFilter type fields
|
|
111
|
-
:header: "Field", "Type", "Label", "Description"
|
|
112
|
-
:widths: auto
|
|
113
|
-
|
|
114
|
-
"artifact_id", ":ref:`ref_string`", "", ""
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
.. _ref_datacatalog.CreateArtifactRequest:
|
|
123
|
-
|
|
124
|
-
CreateArtifactRequest
|
|
125
|
-
------------------------------------------------------------------
|
|
126
|
-
|
|
127
|
-
Request message for creating an Artifact and its associated artifact Data.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
.. csv-table:: CreateArtifactRequest type fields
|
|
132
|
-
:header: "Field", "Type", "Label", "Description"
|
|
133
|
-
:widths: auto
|
|
134
|
-
|
|
135
|
-
"artifact", ":ref:`ref_datacatalog.Artifact`", "", ""
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
.. _ref_datacatalog.CreateArtifactResponse:
|
|
144
|
-
|
|
145
|
-
CreateArtifactResponse
|
|
146
|
-
------------------------------------------------------------------
|
|
147
|
-
|
|
148
|
-
Response message for creating an Artifact.
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
.. _ref_datacatalog.CreateDatasetRequest:
|
|
158
|
-
|
|
159
|
-
CreateDatasetRequest
|
|
160
|
-
------------------------------------------------------------------
|
|
161
|
-
|
|
162
|
-
Request message for creating a Dataset.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
.. csv-table:: CreateDatasetRequest type fields
|
|
167
|
-
:header: "Field", "Type", "Label", "Description"
|
|
168
|
-
:widths: auto
|
|
169
|
-
|
|
170
|
-
"dataset", ":ref:`ref_datacatalog.Dataset`", "", ""
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
.. _ref_datacatalog.CreateDatasetResponse:
|
|
179
|
-
|
|
180
|
-
CreateDatasetResponse
|
|
181
|
-
------------------------------------------------------------------
|
|
182
|
-
|
|
183
|
-
Response message for creating a Dataset
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
.. _ref_datacatalog.Dataset:
|
|
193
|
-
|
|
194
|
-
Dataset
|
|
195
|
-
------------------------------------------------------------------
|
|
196
|
-
|
|
197
|
-
Dataset message. It is uniquely identified by DatasetID.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.. csv-table:: Dataset type fields
|
|
202
|
-
:header: "Field", "Type", "Label", "Description"
|
|
203
|
-
:widths: auto
|
|
204
|
-
|
|
205
|
-
"id", ":ref:`ref_datacatalog.DatasetID`", "", ""
|
|
206
|
-
"metadata", ":ref:`ref_datacatalog.Metadata`", "", ""
|
|
207
|
-
"partitionKeys", ":ref:`ref_string`", "repeated", ""
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
.. _ref_datacatalog.DatasetID:
|
|
216
|
-
|
|
217
|
-
DatasetID
|
|
218
|
-
------------------------------------------------------------------
|
|
219
|
-
|
|
220
|
-
DatasetID message that is composed of several string fields.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
.. csv-table:: DatasetID type fields
|
|
225
|
-
:header: "Field", "Type", "Label", "Description"
|
|
226
|
-
:widths: auto
|
|
227
|
-
|
|
228
|
-
"project", ":ref:`ref_string`", "", "The name of the project"
|
|
229
|
-
"name", ":ref:`ref_string`", "", "The name of the dataset"
|
|
230
|
-
"domain", ":ref:`ref_string`", "", "The domain (eg. environment)"
|
|
231
|
-
"version", ":ref:`ref_string`", "", "Version of the data schema"
|
|
232
|
-
"UUID", ":ref:`ref_string`", "", "UUID for the dataset (if set the above fields are optional)"
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
.. _ref_datacatalog.DatasetPropertyFilter:
|
|
241
|
-
|
|
242
|
-
DatasetPropertyFilter
|
|
243
|
-
------------------------------------------------------------------
|
|
244
|
-
|
|
245
|
-
Dataset properties we can filter by
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
.. csv-table:: DatasetPropertyFilter type fields
|
|
250
|
-
:header: "Field", "Type", "Label", "Description"
|
|
251
|
-
:widths: auto
|
|
252
|
-
|
|
253
|
-
"project", ":ref:`ref_string`", "", ""
|
|
254
|
-
"name", ":ref:`ref_string`", "", ""
|
|
255
|
-
"domain", ":ref:`ref_string`", "", ""
|
|
256
|
-
"version", ":ref:`ref_string`", "", ""
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
.. _ref_datacatalog.FilterExpression:
|
|
265
|
-
|
|
266
|
-
FilterExpression
|
|
267
|
-
------------------------------------------------------------------
|
|
268
|
-
|
|
269
|
-
Filter expression that is composed of a combination of single filters
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
.. csv-table:: FilterExpression type fields
|
|
274
|
-
:header: "Field", "Type", "Label", "Description"
|
|
275
|
-
:widths: auto
|
|
276
|
-
|
|
277
|
-
"filters", ":ref:`ref_datacatalog.SinglePropertyFilter`", "repeated", ""
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
.. _ref_datacatalog.GetArtifactRequest:
|
|
286
|
-
|
|
287
|
-
GetArtifactRequest
|
|
288
|
-
------------------------------------------------------------------
|
|
289
|
-
|
|
290
|
-
Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that
|
|
291
|
-
can be one of artifact_id or tag. The result returned will include the artifact data and metadata
|
|
292
|
-
associated with the artifact.
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
.. csv-table:: GetArtifactRequest type fields
|
|
297
|
-
:header: "Field", "Type", "Label", "Description"
|
|
298
|
-
:widths: auto
|
|
299
|
-
|
|
300
|
-
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", ""
|
|
301
|
-
"artifact_id", ":ref:`ref_string`", "", ""
|
|
302
|
-
"tag_name", ":ref:`ref_string`", "", ""
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
.. _ref_datacatalog.GetArtifactResponse:
|
|
311
|
-
|
|
312
|
-
GetArtifactResponse
|
|
313
|
-
------------------------------------------------------------------
|
|
314
|
-
|
|
315
|
-
Response message for retrieving an Artifact. The result returned will include the artifact data
|
|
316
|
-
and metadata associated with the artifact.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
.. csv-table:: GetArtifactResponse type fields
|
|
321
|
-
:header: "Field", "Type", "Label", "Description"
|
|
322
|
-
:widths: auto
|
|
323
|
-
|
|
324
|
-
"artifact", ":ref:`ref_datacatalog.Artifact`", "", ""
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
.. _ref_datacatalog.GetDatasetRequest:
|
|
333
|
-
|
|
334
|
-
GetDatasetRequest
|
|
335
|
-
------------------------------------------------------------------
|
|
336
|
-
|
|
337
|
-
Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier
|
|
338
|
-
which is a combination of several fields.
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
.. csv-table:: GetDatasetRequest type fields
|
|
343
|
-
:header: "Field", "Type", "Label", "Description"
|
|
344
|
-
:widths: auto
|
|
345
|
-
|
|
346
|
-
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", ""
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
.. _ref_datacatalog.GetDatasetResponse:
|
|
355
|
-
|
|
356
|
-
GetDatasetResponse
|
|
357
|
-
------------------------------------------------------------------
|
|
358
|
-
|
|
359
|
-
Response message for retrieving a Dataset. The response will include the metadata for the
|
|
360
|
-
Dataset.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
.. csv-table:: GetDatasetResponse type fields
|
|
365
|
-
:header: "Field", "Type", "Label", "Description"
|
|
366
|
-
:widths: auto
|
|
367
|
-
|
|
368
|
-
"dataset", ":ref:`ref_datacatalog.Dataset`", "", ""
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
.. _ref_datacatalog.GetOrExtendReservationRequest:
|
|
377
|
-
|
|
378
|
-
GetOrExtendReservationRequest
|
|
379
|
-
------------------------------------------------------------------
|
|
380
|
-
|
|
381
|
-
Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance.
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
.. csv-table:: GetOrExtendReservationRequest type fields
|
|
386
|
-
:header: "Field", "Type", "Label", "Description"
|
|
387
|
-
:widths: auto
|
|
388
|
-
|
|
389
|
-
"reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", ""
|
|
390
|
-
"owner_id", ":ref:`ref_string`", "", ""
|
|
391
|
-
"heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Requested reservation extension heartbeat interval"
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
.. _ref_datacatalog.GetOrExtendReservationResponse:
|
|
400
|
-
|
|
401
|
-
GetOrExtendReservationResponse
|
|
402
|
-
------------------------------------------------------------------
|
|
403
|
-
|
|
404
|
-
Response including either a newly minted reservation or the existing reservation
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
.. csv-table:: GetOrExtendReservationResponse type fields
|
|
409
|
-
:header: "Field", "Type", "Label", "Description"
|
|
410
|
-
:widths: auto
|
|
411
|
-
|
|
412
|
-
"reservation", ":ref:`ref_datacatalog.Reservation`", "", ""
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
.. _ref_datacatalog.KeyValuePair:
|
|
421
|
-
|
|
422
|
-
KeyValuePair
|
|
423
|
-
------------------------------------------------------------------
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
.. csv-table:: KeyValuePair type fields
|
|
430
|
-
:header: "Field", "Type", "Label", "Description"
|
|
431
|
-
:widths: auto
|
|
432
|
-
|
|
433
|
-
"key", ":ref:`ref_string`", "", ""
|
|
434
|
-
"value", ":ref:`ref_string`", "", ""
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
.. _ref_datacatalog.ListArtifactsRequest:
|
|
443
|
-
|
|
444
|
-
ListArtifactsRequest
|
|
445
|
-
------------------------------------------------------------------
|
|
446
|
-
|
|
447
|
-
List the artifacts that belong to the Dataset, optionally filtered using filtered expression.
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
.. csv-table:: ListArtifactsRequest type fields
|
|
452
|
-
:header: "Field", "Type", "Label", "Description"
|
|
453
|
-
:widths: auto
|
|
454
|
-
|
|
455
|
-
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", "Use a datasetID for which you want to retrieve the artifacts"
|
|
456
|
-
"filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query"
|
|
457
|
-
"pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of artifacts"
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
.. _ref_datacatalog.ListArtifactsResponse:
|
|
466
|
-
|
|
467
|
-
ListArtifactsResponse
|
|
468
|
-
------------------------------------------------------------------
|
|
469
|
-
|
|
470
|
-
Response to list artifacts
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
.. csv-table:: ListArtifactsResponse type fields
|
|
475
|
-
:header: "Field", "Type", "Label", "Description"
|
|
476
|
-
:widths: auto
|
|
477
|
-
|
|
478
|
-
"artifacts", ":ref:`ref_datacatalog.Artifact`", "repeated", "The list of artifacts"
|
|
479
|
-
"next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions"
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
.. _ref_datacatalog.ListDatasetsRequest:
|
|
488
|
-
|
|
489
|
-
ListDatasetsRequest
|
|
490
|
-
------------------------------------------------------------------
|
|
491
|
-
|
|
492
|
-
List the datasets for the given query
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
.. csv-table:: ListDatasetsRequest type fields
|
|
497
|
-
:header: "Field", "Type", "Label", "Description"
|
|
498
|
-
:widths: auto
|
|
499
|
-
|
|
500
|
-
"filter", ":ref:`ref_datacatalog.FilterExpression`", "", "Apply the filter expression to this query"
|
|
501
|
-
"pagination", ":ref:`ref_datacatalog.PaginationOptions`", "", "Pagination options to get a page of datasets"
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
.. _ref_datacatalog.ListDatasetsResponse:
|
|
510
|
-
|
|
511
|
-
ListDatasetsResponse
|
|
512
|
-
------------------------------------------------------------------
|
|
513
|
-
|
|
514
|
-
List the datasets response with token for next pagination
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
.. csv-table:: ListDatasetsResponse type fields
|
|
519
|
-
:header: "Field", "Type", "Label", "Description"
|
|
520
|
-
:widths: auto
|
|
521
|
-
|
|
522
|
-
"datasets", ":ref:`ref_datacatalog.Dataset`", "repeated", "The list of datasets"
|
|
523
|
-
"next_token", ":ref:`ref_string`", "", "Token to use to request the next page, pass this into the next requests PaginationOptions"
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
.. _ref_datacatalog.Metadata:
|
|
532
|
-
|
|
533
|
-
Metadata
|
|
534
|
-
------------------------------------------------------------------
|
|
535
|
-
|
|
536
|
-
Metadata representation for artifacts and datasets
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
.. csv-table:: Metadata type fields
|
|
541
|
-
:header: "Field", "Type", "Label", "Description"
|
|
542
|
-
:widths: auto
|
|
543
|
-
|
|
544
|
-
"key_map", ":ref:`ref_datacatalog.Metadata.KeyMapEntry`", "repeated", "key map is a dictionary of key/val strings that represent metadata"
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
.. _ref_datacatalog.Metadata.KeyMapEntry:
|
|
553
|
-
|
|
554
|
-
Metadata.KeyMapEntry
|
|
555
|
-
------------------------------------------------------------------
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
.. csv-table:: Metadata.KeyMapEntry type fields
|
|
562
|
-
:header: "Field", "Type", "Label", "Description"
|
|
563
|
-
:widths: auto
|
|
564
|
-
|
|
565
|
-
"key", ":ref:`ref_string`", "", ""
|
|
566
|
-
"value", ":ref:`ref_string`", "", ""
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
.. _ref_datacatalog.PaginationOptions:
|
|
575
|
-
|
|
576
|
-
PaginationOptions
|
|
577
|
-
------------------------------------------------------------------
|
|
578
|
-
|
|
579
|
-
Pagination options for making list requests
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
.. csv-table:: PaginationOptions type fields
|
|
584
|
-
:header: "Field", "Type", "Label", "Description"
|
|
585
|
-
:widths: auto
|
|
586
|
-
|
|
587
|
-
"limit", ":ref:`ref_uint32`", "", "the max number of results to return"
|
|
588
|
-
"token", ":ref:`ref_string`", "", "the token to pass to fetch the next page"
|
|
589
|
-
"sortKey", ":ref:`ref_datacatalog.PaginationOptions.SortKey`", "", "the property that we want to sort the results by"
|
|
590
|
-
"sortOrder", ":ref:`ref_datacatalog.PaginationOptions.SortOrder`", "", "the sort order of the results"
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
.. _ref_datacatalog.Partition:
|
|
599
|
-
|
|
600
|
-
Partition
|
|
601
|
-
------------------------------------------------------------------
|
|
602
|
-
|
|
603
|
-
An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
.. csv-table:: Partition type fields
|
|
608
|
-
:header: "Field", "Type", "Label", "Description"
|
|
609
|
-
:widths: auto
|
|
610
|
-
|
|
611
|
-
"key", ":ref:`ref_string`", "", ""
|
|
612
|
-
"value", ":ref:`ref_string`", "", ""
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
.. _ref_datacatalog.PartitionPropertyFilter:
|
|
621
|
-
|
|
622
|
-
PartitionPropertyFilter
|
|
623
|
-
------------------------------------------------------------------
|
|
624
|
-
|
|
625
|
-
Partition properties we can filter by
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
.. csv-table:: PartitionPropertyFilter type fields
|
|
630
|
-
:header: "Field", "Type", "Label", "Description"
|
|
631
|
-
:widths: auto
|
|
632
|
-
|
|
633
|
-
"key_val", ":ref:`ref_datacatalog.KeyValuePair`", "", ""
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
.. _ref_datacatalog.ReleaseReservationRequest:
|
|
642
|
-
|
|
643
|
-
ReleaseReservationRequest
|
|
644
|
-
------------------------------------------------------------------
|
|
645
|
-
|
|
646
|
-
Request to release reservation
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
.. csv-table:: ReleaseReservationRequest type fields
|
|
651
|
-
:header: "Field", "Type", "Label", "Description"
|
|
652
|
-
:widths: auto
|
|
653
|
-
|
|
654
|
-
"reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", ""
|
|
655
|
-
"owner_id", ":ref:`ref_string`", "", ""
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
.. _ref_datacatalog.ReleaseReservationResponse:
|
|
664
|
-
|
|
665
|
-
ReleaseReservationResponse
|
|
666
|
-
------------------------------------------------------------------
|
|
667
|
-
|
|
668
|
-
Response to release reservation
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
.. _ref_datacatalog.Reservation:
|
|
678
|
-
|
|
679
|
-
Reservation
|
|
680
|
-
------------------------------------------------------------------
|
|
681
|
-
|
|
682
|
-
A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
.. csv-table:: Reservation type fields
|
|
687
|
-
:header: "Field", "Type", "Label", "Description"
|
|
688
|
-
:widths: auto
|
|
689
|
-
|
|
690
|
-
"reservation_id", ":ref:`ref_datacatalog.ReservationID`", "", ""
|
|
691
|
-
"owner_id", ":ref:`ref_string`", "", ""
|
|
692
|
-
"heartbeat_interval", ":ref:`ref_google.protobuf.Duration`", "", "Recommended heartbeat interval to extend reservation"
|
|
693
|
-
"expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "Expiration timestamp of this reservation"
|
|
694
|
-
"metadata", ":ref:`ref_datacatalog.Metadata`", "", ""
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
.. _ref_datacatalog.ReservationID:
|
|
703
|
-
|
|
704
|
-
ReservationID
|
|
705
|
-
------------------------------------------------------------------
|
|
706
|
-
|
|
707
|
-
ReservationID message that is composed of several string fields.
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
.. csv-table:: ReservationID type fields
|
|
712
|
-
:header: "Field", "Type", "Label", "Description"
|
|
713
|
-
:widths: auto
|
|
714
|
-
|
|
715
|
-
"dataset_id", ":ref:`ref_datacatalog.DatasetID`", "", ""
|
|
716
|
-
"tag_name", ":ref:`ref_string`", "", ""
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
.. _ref_datacatalog.SinglePropertyFilter:
|
|
725
|
-
|
|
726
|
-
SinglePropertyFilter
|
|
727
|
-
------------------------------------------------------------------
|
|
728
|
-
|
|
729
|
-
A single property to filter on.
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
.. csv-table:: SinglePropertyFilter type fields
|
|
734
|
-
:header: "Field", "Type", "Label", "Description"
|
|
735
|
-
:widths: auto
|
|
736
|
-
|
|
737
|
-
"tag_filter", ":ref:`ref_datacatalog.TagPropertyFilter`", "", ""
|
|
738
|
-
"partition_filter", ":ref:`ref_datacatalog.PartitionPropertyFilter`", "", ""
|
|
739
|
-
"artifact_filter", ":ref:`ref_datacatalog.ArtifactPropertyFilter`", "", ""
|
|
740
|
-
"dataset_filter", ":ref:`ref_datacatalog.DatasetPropertyFilter`", "", ""
|
|
741
|
-
"operator", ":ref:`ref_datacatalog.SinglePropertyFilter.ComparisonOperator`", "", "field 10 in case we add more entities to query"
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
.. _ref_datacatalog.Tag:
|
|
750
|
-
|
|
751
|
-
Tag
|
|
752
|
-
------------------------------------------------------------------
|
|
753
|
-
|
|
754
|
-
Tag message that is unique to a Dataset. It is associated to a single artifact and
|
|
755
|
-
can be retrieved by name later.
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
.. csv-table:: Tag type fields
|
|
760
|
-
:header: "Field", "Type", "Label", "Description"
|
|
761
|
-
:widths: auto
|
|
762
|
-
|
|
763
|
-
"name", ":ref:`ref_string`", "", "Name of tag"
|
|
764
|
-
"artifact_id", ":ref:`ref_string`", "", "The tagged artifact"
|
|
765
|
-
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", "The Dataset that this tag belongs to"
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
.. _ref_datacatalog.TagPropertyFilter:
|
|
774
|
-
|
|
775
|
-
TagPropertyFilter
|
|
776
|
-
------------------------------------------------------------------
|
|
777
|
-
|
|
778
|
-
Tag properties we can filter by
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
.. csv-table:: TagPropertyFilter type fields
|
|
783
|
-
:header: "Field", "Type", "Label", "Description"
|
|
784
|
-
:widths: auto
|
|
785
|
-
|
|
786
|
-
"tag_name", ":ref:`ref_string`", "", ""
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
<!-- end messages -->
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
.. _ref_datacatalog.PaginationOptions.SortKey:
|
|
797
|
-
|
|
798
|
-
PaginationOptions.SortKey
|
|
799
|
-
------------------------------------------------------------------
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
.. csv-table:: Enum PaginationOptions.SortKey values
|
|
804
|
-
:header: "Name", "Number", "Description"
|
|
805
|
-
:widths: auto
|
|
806
|
-
|
|
807
|
-
"CREATION_TIME", "0", ""
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
.. _ref_datacatalog.PaginationOptions.SortOrder:
|
|
812
|
-
|
|
813
|
-
PaginationOptions.SortOrder
|
|
814
|
-
------------------------------------------------------------------
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
.. csv-table:: Enum PaginationOptions.SortOrder values
|
|
819
|
-
:header: "Name", "Number", "Description"
|
|
820
|
-
:widths: auto
|
|
821
|
-
|
|
822
|
-
"DESCENDING", "0", ""
|
|
823
|
-
"ASCENDING", "1", ""
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
.. _ref_datacatalog.SinglePropertyFilter.ComparisonOperator:
|
|
828
|
-
|
|
829
|
-
SinglePropertyFilter.ComparisonOperator
|
|
830
|
-
------------------------------------------------------------------
|
|
831
|
-
|
|
832
|
-
as use-cases come up we can add more operators, ex: gte, like, not eq etc.
|
|
833
|
-
|
|
834
|
-
.. csv-table:: Enum SinglePropertyFilter.ComparisonOperator values
|
|
835
|
-
:header: "Name", "Number", "Description"
|
|
836
|
-
:widths: auto
|
|
837
|
-
|
|
838
|
-
"EQUALS", "0", ""
|
|
839
|
-
|
|
840
|
-
<!-- end enums -->
|
|
841
|
-
|
|
842
|
-
<!-- end HasExtensions -->
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
.. _ref_datacatalog.DataCatalog:
|
|
847
|
-
|
|
848
|
-
DataCatalog
|
|
849
|
-
------------------------------------------------------------------
|
|
850
|
-
|
|
851
|
-
Data Catalog service definition
|
|
852
|
-
Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions.
|
|
853
|
-
Artifacts are associated with a Dataset, and can be tagged for retrieval.
|
|
854
|
-
|
|
855
|
-
.. csv-table:: DataCatalog service methods
|
|
856
|
-
:header: "Method Name", "Request Type", "Response Type", "Description"
|
|
857
|
-
:widths: auto
|
|
858
|
-
|
|
859
|
-
"CreateDataset", ":ref:`ref_datacatalog.CreateDatasetRequest`", ":ref:`ref_datacatalog.CreateDatasetResponse`", "Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. Each dataset can have one or more artifacts"
|
|
860
|
-
"GetDataset", ":ref:`ref_datacatalog.GetDatasetRequest`", ":ref:`ref_datacatalog.GetDatasetResponse`", "Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata."
|
|
861
|
-
"CreateArtifact", ":ref:`ref_datacatalog.CreateArtifactRequest`", ":ref:`ref_datacatalog.CreateArtifactResponse`", "Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary files or data values"
|
|
862
|
-
"GetArtifact", ":ref:`ref_datacatalog.GetArtifactRequest`", ":ref:`ref_datacatalog.GetArtifactResponse`", "Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data."
|
|
863
|
-
"AddTag", ":ref:`ref_datacatalog.AddTagRequest`", ":ref:`ref_datacatalog.AddTagResponse`", "Associate a tag with an artifact. Tags are unique within a Dataset."
|
|
864
|
-
"ListArtifacts", ":ref:`ref_datacatalog.ListArtifactsRequest`", ":ref:`ref_datacatalog.ListArtifactsResponse`", "Return a paginated list of artifacts"
|
|
865
|
-
"ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets"
|
|
866
|
-
"GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last."
|
|
867
|
-
"ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot."
|
|
868
|
-
<!-- end services -->
|
|
869
|
-
|
|
870
|
-
|