@databricks/sdk-uc-externallineage 0.1.0-dev.3 → 0.1.0-dev.4

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/src/v1/model.ts DELETED
@@ -1,670 +0,0 @@
1
- // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
2
-
3
- import {Temporal} from '@js-temporal/polyfill';
4
- import {FieldMask} from '@databricks/sdk-core/wkt';
5
- import type {FieldMaskSchema} from '@databricks/sdk-core/wkt';
6
- import {z} from 'zod';
7
-
8
- export enum SystemType {
9
- SYSTEM_TYPE_UNSPECIFIED = 'SYSTEM_TYPE_UNSPECIFIED',
10
- OTHER = 'OTHER',
11
- TABLEAU = 'TABLEAU',
12
- POWER_BI = 'POWER_BI',
13
- LOOKER = 'LOOKER',
14
- KAFKA = 'KAFKA',
15
- SAP = 'SAP',
16
- ORACLE = 'ORACLE',
17
- SALESFORCE = 'SALESFORCE',
18
- WORKDAY = 'WORKDAY',
19
- MYSQL = 'MYSQL',
20
- POSTGRESQL = 'POSTGRESQL',
21
- MICROSOFT_SQL_SERVER = 'MICROSOFT_SQL_SERVER',
22
- SERVICENOW = 'SERVICENOW',
23
- AMAZON_REDSHIFT = 'AMAZON_REDSHIFT',
24
- AZURE_SYNAPSE = 'AZURE_SYNAPSE',
25
- SNOWFLAKE = 'SNOWFLAKE',
26
- GOOGLE_BIGQUERY = 'GOOGLE_BIGQUERY',
27
- MICROSOFT_FABRIC = 'MICROSOFT_FABRIC',
28
- MONGODB = 'MONGODB',
29
- TERADATA = 'TERADATA',
30
- CONFLUENT = 'CONFLUENT',
31
- DATABRICKS = 'DATABRICKS',
32
- STREAM_NATIVE = 'STREAM_NATIVE',
33
- }
34
-
35
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
36
- export enum Direction_LineageDirection {
37
- LINEAGE_DIRECTION_UNSPECIFIED = 'LINEAGE_DIRECTION_UNSPECIFIED',
38
- UPSTREAM = 'UPSTREAM',
39
- DOWNSTREAM = 'DOWNSTREAM',
40
- }
41
-
42
- export interface ColumnRelationship {
43
- source?: string | undefined;
44
- target?: string | undefined;
45
- }
46
-
47
- export interface CreateExternalLineageRelationshipRequest {
48
- externalLineageRelationship?: CreateRequestExternalLineage | undefined;
49
- }
50
-
51
- export interface CreateRequestExternalLineage {
52
- /** Unique identifier of the external lineage relationship. */
53
- id?: string | undefined;
54
- /** Source object of the external lineage relationship. */
55
- source?: ExternalLineageRelationshipObject | undefined;
56
- /** Target object of the external lineage relationship. */
57
- target?: ExternalLineageRelationshipObject | undefined;
58
- /** List of column relationships between source and target objects. */
59
- columns?: ColumnRelationship[] | undefined;
60
- /** Key-value properties associated with the external lineage relationship. */
61
- properties?: Record<string, string> | undefined;
62
- }
63
-
64
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
65
- export interface CreateRequestExternalLineage_PropertiesEntry {
66
- key?: string | undefined;
67
- value?: string | undefined;
68
- }
69
-
70
- export interface DeleteExternalLineageRelationshipRequest {
71
- externalLineageRelationship?: DeleteRequestExternalLineage | undefined;
72
- }
73
-
74
- export interface DeleteRequestExternalLineage {
75
- /** Unique identifier of the external lineage relationship. */
76
- id?: string | undefined;
77
- /** Source object of the external lineage relationship. */
78
- source?: ExternalLineageRelationshipObject | undefined;
79
- /** Target object of the external lineage relationship. */
80
- target?: ExternalLineageRelationshipObject | undefined;
81
- /** List of column relationships between source and target objects. */
82
- columns?: ColumnRelationship[] | undefined;
83
- /** Key-value properties associated with the external lineage relationship. */
84
- properties?: Record<string, string> | undefined;
85
- }
86
-
87
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
88
- export interface DeleteRequestExternalLineage_PropertiesEntry {
89
- key?: string | undefined;
90
- value?: string | undefined;
91
- }
92
-
93
- /** Represents the direction of lineage in a lineage event. */
94
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
95
- export interface Direction {}
96
-
97
- /** Lineage response containing lineage information of a data asset. */
98
- export interface ExternalLineageInfo {
99
- /** Information about the table involved in the lineage relationship. */
100
- tableInfo?: LineageTableInfo | undefined;
101
- /** Information about the file involved in the lineage relationship. */
102
- fileInfo?: LineageFileInfo | undefined;
103
- /** Information about the model version involved in the lineage relationship. */
104
- modelInfo?: LineageModelVersionInfo | undefined;
105
- /** Information about external metadata involved in the lineage relationship. */
106
- externalMetadataInfo?: LineageExternalMetadataInfo | undefined;
107
- /** Information about the edge metadata of the external lineage relationship. */
108
- externalLineageInfo?: ExternalLineageRelationship | undefined;
109
- }
110
-
111
- export interface ExternalLineageRelationship {
112
- /** Unique identifier of the external lineage relationship. */
113
- id?: string | undefined;
114
- /** Source object of the external lineage relationship. */
115
- source?: ExternalLineageRelationshipObject | undefined;
116
- /** Target object of the external lineage relationship. */
117
- target?: ExternalLineageRelationshipObject | undefined;
118
- /** List of column relationships between source and target objects. */
119
- columns?: ColumnRelationship[] | undefined;
120
- /** Key-value properties associated with the external lineage relationship. */
121
- properties?: Record<string, string> | undefined;
122
- }
123
-
124
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
125
- export interface ExternalLineageRelationship_PropertiesEntry {
126
- key?: string | undefined;
127
- value?: string | undefined;
128
- }
129
-
130
- export interface ExternalLineageRelationshipExternalMetadata {
131
- name?: string | undefined;
132
- }
133
-
134
- export interface ExternalLineageRelationshipModelVersion {
135
- name?: string | undefined;
136
- version?: string | undefined;
137
- }
138
-
139
- export interface ExternalLineageRelationshipObject {
140
- tpe?:
141
- | {$case: 'table'; table: ExternalLineageRelationshipTable}
142
- | {$case: 'path'; path: ExternalLineageRelationshipPath}
143
- | {
144
- $case: 'modelVersion';
145
- modelVersion: ExternalLineageRelationshipModelVersion;
146
- }
147
- | {
148
- $case: 'externalMetadata';
149
- externalMetadata: ExternalLineageRelationshipExternalMetadata;
150
- }
151
- | undefined;
152
- }
153
-
154
- export interface ExternalLineageRelationshipPath {
155
- url?: string | undefined;
156
- }
157
-
158
- export interface ExternalLineageRelationshipTable {
159
- name?: string | undefined;
160
- }
161
-
162
- /** Represents the external metadata object in the lineage event. */
163
- export interface LineageExternalMetadataInfo {
164
- /** Name of the external metadata object. */
165
- name?: string | undefined;
166
- /** Type of external system. */
167
- systemType?: SystemType | undefined;
168
- /** Type of entity represented by the external metadata object. */
169
- entityType?: string | undefined;
170
- /** Timestamp of the lineage event. */
171
- eventTime?: Temporal.Instant | undefined;
172
- }
173
-
174
- /** Represents the path information in the lineage event. */
175
- export interface LineageFileInfo {
176
- /** URL of the path. */
177
- path?: string | undefined;
178
- /** The full name of the securable on the path. */
179
- securableName?: string | undefined;
180
- /** The storage location associated with securable on the path. */
181
- storageLocation?: string | undefined;
182
- /** The securable type of the securable on the path. */
183
- securableType?: string | undefined;
184
- /** Timestamp of the lineage event. */
185
- eventTime?: Temporal.Instant | undefined;
186
- }
187
-
188
- /** Represents the model version information in the lineage event. */
189
- export interface LineageModelVersionInfo {
190
- /** Name of the model. */
191
- modelName?: string | undefined;
192
- /** Version number of the model. */
193
- version?: bigint | undefined;
194
- /** Timestamp of the lineage event. */
195
- eventTime?: Temporal.Instant | undefined;
196
- }
197
-
198
- /** Represents the table information in the lineage event. */
199
- export interface LineageTableInfo {
200
- /** Name of Table. */
201
- name?: string | undefined;
202
- /** Name of Catalog. */
203
- catalogName?: string | undefined;
204
- /** Name of Schema. */
205
- schemaName?: string | undefined;
206
- /** Timestamp of the lineage event. */
207
- eventTime?: Temporal.Instant | undefined;
208
- }
209
-
210
- export interface ListExternalLineageRelationshipsRequest {
211
- /**
212
- * The object to query external lineage relationships for.
213
- * Since this field is a query parameter, please flatten the nested fields. For example, if the object is a table, the query parameter should look like:
214
- * `object_info.table.name=main.sales.customers`
215
- */
216
- objectInfo?: ExternalLineageRelationshipObject | undefined;
217
- /** The lineage direction to filter on. */
218
- lineageDirection?: Direction_LineageDirection | undefined;
219
- /**
220
- * Specifies the maximum number of external lineage relationships to return in a single response.
221
- * The value must be less than or equal to 1000.
222
- */
223
- pageSize?: number | undefined;
224
- /** Opaque pagination token to go to next page based on previous query. */
225
- pageToken?: string | undefined;
226
- }
227
-
228
- export interface ListExternalLineageRelationshipsResponse {
229
- externalLineageRelationships?: ExternalLineageInfo[] | undefined;
230
- nextPageToken?: string | undefined;
231
- }
232
-
233
- export interface UpdateExternalLineageRelationshipRequest {
234
- externalLineageRelationship?: UpdateRequestExternalLineage | undefined;
235
- updateMask?: FieldMask<UpdateRequestExternalLineage> | undefined;
236
- }
237
-
238
- export interface UpdateRequestExternalLineage {
239
- /** Unique identifier of the external lineage relationship. */
240
- id?: string | undefined;
241
- /** Source object of the external lineage relationship. */
242
- source?: ExternalLineageRelationshipObject | undefined;
243
- /** Target object of the external lineage relationship. */
244
- target?: ExternalLineageRelationshipObject | undefined;
245
- /** List of column relationships between source and target objects. */
246
- columns?: ColumnRelationship[] | undefined;
247
- /** Key-value properties associated with the external lineage relationship. */
248
- properties?: Record<string, string> | undefined;
249
- }
250
-
251
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
252
- export interface UpdateRequestExternalLineage_PropertiesEntry {
253
- key?: string | undefined;
254
- value?: string | undefined;
255
- }
256
-
257
- export const unmarshalColumnRelationshipSchema: z.ZodType<ColumnRelationship> =
258
- z
259
- .object({
260
- source: z.string().optional(),
261
- target: z.string().optional(),
262
- })
263
- .transform(d => ({
264
- source: d.source,
265
- target: d.target,
266
- }));
267
-
268
- export const unmarshalExternalLineageInfoSchema: z.ZodType<ExternalLineageInfo> =
269
- z
270
- .object({
271
- table_info: z.lazy(() => unmarshalLineageTableInfoSchema).optional(),
272
- file_info: z.lazy(() => unmarshalLineageFileInfoSchema).optional(),
273
- model_info: z
274
- .lazy(() => unmarshalLineageModelVersionInfoSchema)
275
- .optional(),
276
- external_metadata_info: z
277
- .lazy(() => unmarshalLineageExternalMetadataInfoSchema)
278
- .optional(),
279
- external_lineage_info: z
280
- .lazy(() => unmarshalExternalLineageRelationshipSchema)
281
- .optional(),
282
- })
283
- .transform(d => ({
284
- tableInfo: d.table_info,
285
- fileInfo: d.file_info,
286
- modelInfo: d.model_info,
287
- externalMetadataInfo: d.external_metadata_info,
288
- externalLineageInfo: d.external_lineage_info,
289
- }));
290
-
291
- export const unmarshalExternalLineageRelationshipSchema: z.ZodType<ExternalLineageRelationship> =
292
- z
293
- .object({
294
- id: z.string().optional(),
295
- source: z
296
- .lazy(() => unmarshalExternalLineageRelationshipObjectSchema)
297
- .optional(),
298
- target: z
299
- .lazy(() => unmarshalExternalLineageRelationshipObjectSchema)
300
- .optional(),
301
- columns: z
302
- .array(z.lazy(() => unmarshalColumnRelationshipSchema))
303
- .optional(),
304
- properties: z.record(z.string(), z.string()).optional(),
305
- })
306
- .transform(d => ({
307
- id: d.id,
308
- source: d.source,
309
- target: d.target,
310
- columns: d.columns,
311
- properties: d.properties,
312
- }));
313
-
314
- export const unmarshalExternalLineageRelationshipExternalMetadataSchema: z.ZodType<ExternalLineageRelationshipExternalMetadata> =
315
- z
316
- .object({
317
- name: z.string().optional(),
318
- })
319
- .transform(d => ({
320
- name: d.name,
321
- }));
322
-
323
- export const unmarshalExternalLineageRelationshipModelVersionSchema: z.ZodType<ExternalLineageRelationshipModelVersion> =
324
- z
325
- .object({
326
- name: z.string().optional(),
327
- version: z.string().optional(),
328
- })
329
- .transform(d => ({
330
- name: d.name,
331
- version: d.version,
332
- }));
333
-
334
- export const unmarshalExternalLineageRelationshipObjectSchema: z.ZodType<ExternalLineageRelationshipObject> =
335
- z
336
- .object({
337
- table: z
338
- .lazy(() => unmarshalExternalLineageRelationshipTableSchema)
339
- .optional(),
340
- path: z
341
- .lazy(() => unmarshalExternalLineageRelationshipPathSchema)
342
- .optional(),
343
- model_version: z
344
- .lazy(() => unmarshalExternalLineageRelationshipModelVersionSchema)
345
- .optional(),
346
- external_metadata: z
347
- .lazy(() => unmarshalExternalLineageRelationshipExternalMetadataSchema)
348
- .optional(),
349
- })
350
- .transform(d => ({
351
- tpe:
352
- d.table !== undefined
353
- ? {$case: 'table' as const, table: d.table}
354
- : d.path !== undefined
355
- ? {$case: 'path' as const, path: d.path}
356
- : d.model_version !== undefined
357
- ? {$case: 'modelVersion' as const, modelVersion: d.model_version}
358
- : d.external_metadata !== undefined
359
- ? {
360
- $case: 'externalMetadata' as const,
361
- externalMetadata: d.external_metadata,
362
- }
363
- : undefined,
364
- }));
365
-
366
- export const unmarshalExternalLineageRelationshipPathSchema: z.ZodType<ExternalLineageRelationshipPath> =
367
- z
368
- .object({
369
- url: z.string().optional(),
370
- })
371
- .transform(d => ({
372
- url: d.url,
373
- }));
374
-
375
- export const unmarshalExternalLineageRelationshipTableSchema: z.ZodType<ExternalLineageRelationshipTable> =
376
- z
377
- .object({
378
- name: z.string().optional(),
379
- })
380
- .transform(d => ({
381
- name: d.name,
382
- }));
383
-
384
- export const unmarshalLineageExternalMetadataInfoSchema: z.ZodType<LineageExternalMetadataInfo> =
385
- z
386
- .object({
387
- name: z.string().optional(),
388
- system_type: z.enum(SystemType).optional(),
389
- entity_type: z.string().optional(),
390
- event_time: z
391
- .string()
392
- .transform(s => Temporal.Instant.from(s))
393
- .optional(),
394
- })
395
- .transform(d => ({
396
- name: d.name,
397
- systemType: d.system_type,
398
- entityType: d.entity_type,
399
- eventTime: d.event_time,
400
- }));
401
-
402
- export const unmarshalLineageFileInfoSchema: z.ZodType<LineageFileInfo> = z
403
- .object({
404
- path: z.string().optional(),
405
- securable_name: z.string().optional(),
406
- storage_location: z.string().optional(),
407
- securable_type: z.string().optional(),
408
- event_time: z
409
- .string()
410
- .transform(s => Temporal.Instant.from(s))
411
- .optional(),
412
- })
413
- .transform(d => ({
414
- path: d.path,
415
- securableName: d.securable_name,
416
- storageLocation: d.storage_location,
417
- securableType: d.securable_type,
418
- eventTime: d.event_time,
419
- }));
420
-
421
- export const unmarshalLineageModelVersionInfoSchema: z.ZodType<LineageModelVersionInfo> =
422
- z
423
- .object({
424
- model_name: z.string().optional(),
425
- version: z
426
- .union([z.number(), z.bigint()])
427
- .transform(v => BigInt(v))
428
- .optional(),
429
- event_time: z
430
- .string()
431
- .transform(s => Temporal.Instant.from(s))
432
- .optional(),
433
- })
434
- .transform(d => ({
435
- modelName: d.model_name,
436
- version: d.version,
437
- eventTime: d.event_time,
438
- }));
439
-
440
- export const unmarshalLineageTableInfoSchema: z.ZodType<LineageTableInfo> = z
441
- .object({
442
- name: z.string().optional(),
443
- catalog_name: z.string().optional(),
444
- schema_name: z.string().optional(),
445
- event_time: z
446
- .string()
447
- .transform(s => Temporal.Instant.from(s))
448
- .optional(),
449
- })
450
- .transform(d => ({
451
- name: d.name,
452
- catalogName: d.catalog_name,
453
- schemaName: d.schema_name,
454
- eventTime: d.event_time,
455
- }));
456
-
457
- export const unmarshalListExternalLineageRelationshipsResponseSchema: z.ZodType<ListExternalLineageRelationshipsResponse> =
458
- z
459
- .object({
460
- external_lineage_relationships: z
461
- .array(z.lazy(() => unmarshalExternalLineageInfoSchema))
462
- .optional(),
463
- next_page_token: z.string().optional(),
464
- })
465
- .transform(d => ({
466
- externalLineageRelationships: d.external_lineage_relationships,
467
- nextPageToken: d.next_page_token,
468
- }));
469
-
470
- export const marshalColumnRelationshipSchema: z.ZodType = z
471
- .object({
472
- source: z.string().optional(),
473
- target: z.string().optional(),
474
- })
475
- .transform(d => ({
476
- source: d.source,
477
- target: d.target,
478
- }));
479
-
480
- export const marshalCreateRequestExternalLineageSchema: z.ZodType = z
481
- .object({
482
- id: z.string().optional(),
483
- source: z
484
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
485
- .optional(),
486
- target: z
487
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
488
- .optional(),
489
- columns: z.array(z.lazy(() => marshalColumnRelationshipSchema)).optional(),
490
- properties: z.record(z.string(), z.string()).optional(),
491
- })
492
- .transform(d => ({
493
- id: d.id,
494
- source: d.source,
495
- target: d.target,
496
- columns: d.columns,
497
- properties: d.properties,
498
- }));
499
-
500
- export const marshalDeleteRequestExternalLineageSchema: z.ZodType = z
501
- .object({
502
- id: z.string().optional(),
503
- source: z
504
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
505
- .optional(),
506
- target: z
507
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
508
- .optional(),
509
- columns: z.array(z.lazy(() => marshalColumnRelationshipSchema)).optional(),
510
- properties: z.record(z.string(), z.string()).optional(),
511
- })
512
- .transform(d => ({
513
- id: d.id,
514
- source: d.source,
515
- target: d.target,
516
- columns: d.columns,
517
- properties: d.properties,
518
- }));
519
-
520
- export const marshalExternalLineageRelationshipExternalMetadataSchema: z.ZodType =
521
- z
522
- .object({
523
- name: z.string().optional(),
524
- })
525
- .transform(d => ({
526
- name: d.name,
527
- }));
528
-
529
- export const marshalExternalLineageRelationshipModelVersionSchema: z.ZodType = z
530
- .object({
531
- name: z.string().optional(),
532
- version: z.string().optional(),
533
- })
534
- .transform(d => ({
535
- name: d.name,
536
- version: d.version,
537
- }));
538
-
539
- export const marshalExternalLineageRelationshipObjectSchema: z.ZodType = z
540
- .object({
541
- tpe: z
542
- .discriminatedUnion('$case', [
543
- z.object({
544
- $case: z.literal('table'),
545
- table: z.lazy(() => marshalExternalLineageRelationshipTableSchema),
546
- }),
547
- z.object({
548
- $case: z.literal('path'),
549
- path: z.lazy(() => marshalExternalLineageRelationshipPathSchema),
550
- }),
551
- z.object({
552
- $case: z.literal('modelVersion'),
553
- modelVersion: z.lazy(
554
- () => marshalExternalLineageRelationshipModelVersionSchema
555
- ),
556
- }),
557
- z.object({
558
- $case: z.literal('externalMetadata'),
559
- externalMetadata: z.lazy(
560
- () => marshalExternalLineageRelationshipExternalMetadataSchema
561
- ),
562
- }),
563
- ])
564
- .optional(),
565
- })
566
- .transform(d => ({
567
- ...(d.tpe?.$case === 'table' && {table: d.tpe.table}),
568
- ...(d.tpe?.$case === 'path' && {path: d.tpe.path}),
569
- ...(d.tpe?.$case === 'modelVersion' && {model_version: d.tpe.modelVersion}),
570
- ...(d.tpe?.$case === 'externalMetadata' && {
571
- external_metadata: d.tpe.externalMetadata,
572
- }),
573
- }));
574
-
575
- export const marshalExternalLineageRelationshipPathSchema: z.ZodType = z
576
- .object({
577
- url: z.string().optional(),
578
- })
579
- .transform(d => ({
580
- url: d.url,
581
- }));
582
-
583
- export const marshalExternalLineageRelationshipTableSchema: z.ZodType = z
584
- .object({
585
- name: z.string().optional(),
586
- })
587
- .transform(d => ({
588
- name: d.name,
589
- }));
590
-
591
- export const marshalUpdateRequestExternalLineageSchema: z.ZodType = z
592
- .object({
593
- id: z.string().optional(),
594
- source: z
595
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
596
- .optional(),
597
- target: z
598
- .lazy(() => marshalExternalLineageRelationshipObjectSchema)
599
- .optional(),
600
- columns: z.array(z.lazy(() => marshalColumnRelationshipSchema)).optional(),
601
- properties: z.record(z.string(), z.string()).optional(),
602
- })
603
- .transform(d => ({
604
- id: d.id,
605
- source: d.source,
606
- target: d.target,
607
- columns: d.columns,
608
- properties: d.properties,
609
- }));
610
-
611
- const externalLineageRelationshipExternalMetadataFieldMaskSchema: FieldMaskSchema =
612
- {
613
- name: {wire: 'name'},
614
- };
615
-
616
- const externalLineageRelationshipModelVersionFieldMaskSchema: FieldMaskSchema =
617
- {
618
- name: {wire: 'name'},
619
- version: {wire: 'version'},
620
- };
621
-
622
- const externalLineageRelationshipObjectFieldMaskSchema: FieldMaskSchema = {
623
- externalMetadata: {
624
- wire: 'external_metadata',
625
- children: () => externalLineageRelationshipExternalMetadataFieldMaskSchema,
626
- },
627
- modelVersion: {
628
- wire: 'model_version',
629
- children: () => externalLineageRelationshipModelVersionFieldMaskSchema,
630
- },
631
- path: {
632
- wire: 'path',
633
- children: () => externalLineageRelationshipPathFieldMaskSchema,
634
- },
635
- table: {
636
- wire: 'table',
637
- children: () => externalLineageRelationshipTableFieldMaskSchema,
638
- },
639
- };
640
-
641
- const externalLineageRelationshipPathFieldMaskSchema: FieldMaskSchema = {
642
- url: {wire: 'url'},
643
- };
644
-
645
- const externalLineageRelationshipTableFieldMaskSchema: FieldMaskSchema = {
646
- name: {wire: 'name'},
647
- };
648
-
649
- const updateRequestExternalLineageFieldMaskSchema: FieldMaskSchema = {
650
- columns: {wire: 'columns'},
651
- id: {wire: 'id'},
652
- properties: {wire: 'properties'},
653
- source: {
654
- wire: 'source',
655
- children: () => externalLineageRelationshipObjectFieldMaskSchema,
656
- },
657
- target: {
658
- wire: 'target',
659
- children: () => externalLineageRelationshipObjectFieldMaskSchema,
660
- },
661
- };
662
-
663
- export function updateRequestExternalLineageFieldMask(
664
- ...paths: string[]
665
- ): FieldMask<UpdateRequestExternalLineage> {
666
- return FieldMask.build<UpdateRequestExternalLineage>(
667
- paths,
668
- updateRequestExternalLineageFieldMaskSchema
669
- );
670
- }