Debian Codegraph @

internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/datacatalog/lineage/apiv1",
4 "version": "1.26.1",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.datacatalog.lineage.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "datalineage_v1_generated_Lineage_BatchSearchLinkProcesses_sync",
16 "title": "datalineage BatchSearchLinkProcesses Sample",
17 "description": "BatchSearchLinkProcesses retrieve information about LineageProcesses associated with specific\nlinks. LineageProcesses are transformation pipelines that result in data\nflowing from **source** to **target** assets. Links between assets\nrepresent this operation.\n\nIf you have specific link names, you can use this method to\nverify which LineageProcesses contribute to creating those links.\nSee the\n[SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks]\nmethod for more information on how to retrieve link name.\n\nYou can retrieve the LineageProcess information in every project where you\nhave the `datalineage.events.get` permission. The project provided in the\nURL is used for Billing and Quota.",
18 "file": "Client/BatchSearchLinkProcesses/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "BatchSearchLinkProcesses",
22 "fullName": "google.cloud.datacatalog.lineage.v1.Client.BatchSearchLinkProcesses",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "lineagepb.BatchSearchLinkProcessesRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "ProcessLinksIterator",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
41 },
42 "method": {
43 "shortName": "BatchSearchLinkProcesses",
44 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses",
45 "service": {
46 "shortName": "Lineage",
47 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 66,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "datalineage_v1_generated_Lineage_CancelOperation_sync",
62 "title": "datalineage CancelOperation Sample",
63 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
64 "file": "Client/CancelOperation/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "CancelOperation",
68 "fullName": "google.cloud.datacatalog.lineage.v1.Client.CancelOperation",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "longrunningpb.CancelOperationRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
86 },
87 "method": {
88 "shortName": "CancelOperation",
89 "fullName": "google.longrunning.Operations.CancelOperation",
90 "service": {
91 "shortName": "Operations",
92 "fullName": "google.longrunning.Operations"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 51,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "datalineage_v1_generated_Lineage_CreateLineageEvent_sync",
107 "title": "datalineage CreateLineageEvent Sample",
108 "description": "CreateLineageEvent creates a new lineage event.",
109 "file": "Client/CreateLineageEvent/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateLineageEvent",
113 "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateLineageEvent",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "lineagepb.CreateLineageEventRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*lineagepb.LineageEvent",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
132 },
133 "method": {
134 "shortName": "CreateLineageEvent",
135 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent",
136 "service": {
137 "shortName": "Lineage",
138 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 53,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "datalineage_v1_generated_Lineage_CreateProcess_sync",
153 "title": "datalineage CreateProcess Sample",
154 "description": "CreateProcess creates a new process.",
155 "file": "Client/CreateProcess/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateProcess",
159 "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateProcess",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "lineagepb.CreateProcessRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*lineagepb.Process",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
178 },
179 "method": {
180 "shortName": "CreateProcess",
181 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess",
182 "service": {
183 "shortName": "Lineage",
184 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 53,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "datalineage_v1_generated_Lineage_CreateRun_sync",
199 "title": "datalineage CreateRun Sample",
200 "description": "CreateRun creates a new run.",
201 "file": "Client/CreateRun/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateRun",
205 "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateRun",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "lineagepb.CreateRunRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "*lineagepb.Run",
221 "client": {
222 "shortName": "Client",
223 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
224 },
225 "method": {
226 "shortName": "CreateRun",
227 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateRun",
228 "service": {
229 "shortName": "Lineage",
230 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 53,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "datalineage_v1_generated_Lineage_DeleteLineageEvent_sync",
245 "title": "datalineage DeleteLineageEvent Sample",
246 "description": "DeleteLineageEvent deletes the lineage event with the specified name.",
247 "file": "Client/DeleteLineageEvent/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "DeleteLineageEvent",
251 "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteLineageEvent",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "lineagepb.DeleteLineageEventRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
269 },
270 "method": {
271 "shortName": "DeleteLineageEvent",
272 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent",
273 "service": {
274 "shortName": "Lineage",
275 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 51,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "datalineage_v1_generated_Lineage_DeleteOperation_sync",
290 "title": "datalineage DeleteOperation Sample",
291 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
292 "file": "Client/DeleteOperation/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "DeleteOperation",
296 "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteOperation",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "longrunningpb.DeleteOperationRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "client": {
312 "shortName": "Client",
313 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
314 },
315 "method": {
316 "shortName": "DeleteOperation",
317 "fullName": "google.longrunning.Operations.DeleteOperation",
318 "service": {
319 "shortName": "Operations",
320 "fullName": "google.longrunning.Operations"
321 }
322 }
323 },
324 "origin": "API_DEFINITION",
325 "segments": [
326 {
327 "start": 18,
328 "end": 51,
329 "type": "FULL"
330 }
331 ]
332 },
333 {
334 "regionTag": "datalineage_v1_generated_Lineage_DeleteProcess_sync",
335 "title": "datalineage DeleteProcess Sample",
336 "description": "DeleteProcess deletes the process with the specified name.",
337 "file": "Client/DeleteProcess/main.go",
338 "language": "GO",
339 "clientMethod": {
340 "shortName": "DeleteProcess",
341 "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteProcess",
342 "parameters": [
343 {
344 "type": "context.Context",
345 "name": "ctx"
346 },
347 {
348 "type": "lineagepb.DeleteProcessRequest",
349 "name": "req"
350 },
351 {
352 "type": "...gax.CallOption",
353 "name": "opts"
354 }
355 ],
356 "resultType": "DeleteProcessOperation",
357 "client": {
358 "shortName": "Client",
359 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
360 },
361 "method": {
362 "shortName": "DeleteProcess",
363 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess",
364 "service": {
365 "shortName": "Lineage",
366 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
367 }
368 }
369 },
370 "origin": "API_DEFINITION",
371 "segments": [
372 {
373 "start": 18,
374 "end": 56,
375 "type": "FULL"
376 }
377 ]
378 },
379 {
380 "regionTag": "datalineage_v1_generated_Lineage_DeleteRun_sync",
381 "title": "datalineage DeleteRun Sample",
382 "description": "DeleteRun deletes the run with the specified name.",
383 "file": "Client/DeleteRun/main.go",
384 "language": "GO",
385 "clientMethod": {
386 "shortName": "DeleteRun",
387 "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteRun",
388 "parameters": [
389 {
390 "type": "context.Context",
391 "name": "ctx"
392 },
393 {
394 "type": "lineagepb.DeleteRunRequest",
395 "name": "req"
396 },
397 {
398 "type": "...gax.CallOption",
399 "name": "opts"
400 }
401 ],
402 "resultType": "DeleteRunOperation",
403 "client": {
404 "shortName": "Client",
405 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
406 },
407 "method": {
408 "shortName": "DeleteRun",
409 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun",
410 "service": {
411 "shortName": "Lineage",
412 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
413 }
414 }
415 },
416 "origin": "API_DEFINITION",
417 "segments": [
418 {
419 "start": 18,
420 "end": 56,
421 "type": "FULL"
422 }
423 ]
424 },
425 {
426 "regionTag": "datalineage_v1_generated_Lineage_GetLineageEvent_sync",
427 "title": "datalineage GetLineageEvent Sample",
428 "description": "GetLineageEvent gets details of a specified lineage event.",
429 "file": "Client/GetLineageEvent/main.go",
430 "language": "GO",
431 "clientMethod": {
432 "shortName": "GetLineageEvent",
433 "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetLineageEvent",
434 "parameters": [
435 {
436 "type": "context.Context",
437 "name": "ctx"
438 },
439 {
440 "type": "lineagepb.GetLineageEventRequest",
441 "name": "req"
442 },
443 {
444 "type": "...gax.CallOption",
445 "name": "opts"
446 }
447 ],
448 "resultType": "*lineagepb.LineageEvent",
449 "client": {
450 "shortName": "Client",
451 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
452 },
453 "method": {
454 "shortName": "GetLineageEvent",
455 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent",
456 "service": {
457 "shortName": "Lineage",
458 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
459 }
460 }
461 },
462 "origin": "API_DEFINITION",
463 "segments": [
464 {
465 "start": 18,
466 "end": 53,
467 "type": "FULL"
468 }
469 ]
470 },
471 {
472 "regionTag": "datalineage_v1_generated_Lineage_GetOperation_sync",
473 "title": "datalineage GetOperation Sample",
474 "description": "GetOperation is a utility method from google.longrunning.Operations.",
475 "file": "Client/GetOperation/main.go",
476 "language": "GO",
477 "clientMethod": {
478 "shortName": "GetOperation",
479 "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetOperation",
480 "parameters": [
481 {
482 "type": "context.Context",
483 "name": "ctx"
484 },
485 {
486 "type": "longrunningpb.GetOperationRequest",
487 "name": "req"
488 },
489 {
490 "type": "...gax.CallOption",
491 "name": "opts"
492 }
493 ],
494 "resultType": "*longrunningpb.Operation",
495 "client": {
496 "shortName": "Client",
497 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
498 },
499 "method": {
500 "shortName": "GetOperation",
501 "fullName": "google.longrunning.Operations.GetOperation",
502 "service": {
503 "shortName": "Operations",
504 "fullName": "google.longrunning.Operations"
505 }
506 }
507 },
508 "origin": "API_DEFINITION",
509 "segments": [
510 {
511 "start": 18,
512 "end": 53,
513 "type": "FULL"
514 }
515 ]
516 },
517 {
518 "regionTag": "datalineage_v1_generated_Lineage_GetProcess_sync",
519 "title": "datalineage GetProcess Sample",
520 "description": "GetProcess gets the details of the specified process.",
521 "file": "Client/GetProcess/main.go",
522 "language": "GO",
523 "clientMethod": {
524 "shortName": "GetProcess",
525 "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetProcess",
526 "parameters": [
527 {
528 "type": "context.Context",
529 "name": "ctx"
530 },
531 {
532 "type": "lineagepb.GetProcessRequest",
533 "name": "req"
534 },
535 {
536 "type": "...gax.CallOption",
537 "name": "opts"
538 }
539 ],
540 "resultType": "*lineagepb.Process",
541 "client": {
542 "shortName": "Client",
543 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
544 },
545 "method": {
546 "shortName": "GetProcess",
547 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetProcess",
548 "service": {
549 "shortName": "Lineage",
550 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
551 }
552 }
553 },
554 "origin": "API_DEFINITION",
555 "segments": [
556 {
557 "start": 18,
558 "end": 53,
559 "type": "FULL"
560 }
561 ]
562 },
563 {
564 "regionTag": "datalineage_v1_generated_Lineage_GetRun_sync",
565 "title": "datalineage GetRun Sample",
566 "description": "GetRun gets the details of the specified run.",
567 "file": "Client/GetRun/main.go",
568 "language": "GO",
569 "clientMethod": {
570 "shortName": "GetRun",
571 "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetRun",
572 "parameters": [
573 {
574 "type": "context.Context",
575 "name": "ctx"
576 },
577 {
578 "type": "lineagepb.GetRunRequest",
579 "name": "req"
580 },
581 {
582 "type": "...gax.CallOption",
583 "name": "opts"
584 }
585 ],
586 "resultType": "*lineagepb.Run",
587 "client": {
588 "shortName": "Client",
589 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
590 },
591 "method": {
592 "shortName": "GetRun",
593 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetRun",
594 "service": {
595 "shortName": "Lineage",
596 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
597 }
598 }
599 },
600 "origin": "API_DEFINITION",
601 "segments": [
602 {
603 "start": 18,
604 "end": 53,
605 "type": "FULL"
606 }
607 ]
608 },
609 {
610 "regionTag": "datalineage_v1_generated_Lineage_ListLineageEvents_sync",
611 "title": "datalineage ListLineageEvents Sample",
612 "description": "ListLineageEvents lists lineage events in the given project and location. The list order is\nnot defined.",
613 "file": "Client/ListLineageEvents/main.go",
614 "language": "GO",
615 "clientMethod": {
616 "shortName": "ListLineageEvents",
617 "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListLineageEvents",
618 "parameters": [
619 {
620 "type": "context.Context",
621 "name": "ctx"
622 },
623 {
624 "type": "lineagepb.ListLineageEventsRequest",
625 "name": "req"
626 },
627 {
628 "type": "...gax.CallOption",
629 "name": "opts"
630 }
631 ],
632 "resultType": "LineageEventIterator",
633 "client": {
634 "shortName": "Client",
635 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
636 },
637 "method": {
638 "shortName": "ListLineageEvents",
639 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents",
640 "service": {
641 "shortName": "Lineage",
642 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
643 }
644 }
645 },
646 "origin": "API_DEFINITION",
647 "segments": [
648 {
649 "start": 18,
650 "end": 66,
651 "type": "FULL"
652 }
653 ]
654 },
655 {
656 "regionTag": "datalineage_v1_generated_Lineage_ListOperations_sync",
657 "title": "datalineage ListOperations Sample",
658 "description": "ListOperations is a utility method from google.longrunning.Operations.",
659 "file": "Client/ListOperations/main.go",
660 "language": "GO",
661 "clientMethod": {
662 "shortName": "ListOperations",
663 "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListOperations",
664 "parameters": [
665 {
666 "type": "context.Context",
667 "name": "ctx"
668 },
669 {
670 "type": "longrunningpb.ListOperationsRequest",
671 "name": "req"
672 },
673 {
674 "type": "...gax.CallOption",
675 "name": "opts"
676 }
677 ],
678 "resultType": "OperationIterator",
679 "client": {
680 "shortName": "Client",
681 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
682 },
683 "method": {
684 "shortName": "ListOperations",
685 "fullName": "google.longrunning.Operations.ListOperations",
686 "service": {
687 "shortName": "Operations",
688 "fullName": "google.longrunning.Operations"
689 }
690 }
691 },
692 "origin": "API_DEFINITION",
693 "segments": [
694 {
695 "start": 18,
696 "end": 66,
697 "type": "FULL"
698 }
699 ]
700 },
701 {
702 "regionTag": "datalineage_v1_generated_Lineage_ListProcesses_sync",
703 "title": "datalineage ListProcesses Sample",
704 "description": "ListProcesses list processes in the given project and location. List order is descending\nby insertion time.",
705 "file": "Client/ListProcesses/main.go",
706 "language": "GO",
707 "clientMethod": {
708 "shortName": "ListProcesses",
709 "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListProcesses",
710 "parameters": [
711 {
712 "type": "context.Context",
713 "name": "ctx"
714 },
715 {
716 "type": "lineagepb.ListProcessesRequest",
717 "name": "req"
718 },
719 {
720 "type": "...gax.CallOption",
721 "name": "opts"
722 }
723 ],
724 "resultType": "ProcessIterator",
725 "client": {
726 "shortName": "Client",
727 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
728 },
729 "method": {
730 "shortName": "ListProcesses",
731 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses",
732 "service": {
733 "shortName": "Lineage",
734 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
735 }
736 }
737 },
738 "origin": "API_DEFINITION",
739 "segments": [
740 {
741 "start": 18,
742 "end": 66,
743 "type": "FULL"
744 }
745 ]
746 },
747 {
748 "regionTag": "datalineage_v1_generated_Lineage_ListRuns_sync",
749 "title": "datalineage ListRuns Sample",
750 "description": "ListRuns lists runs in the given project and location. List order is descending by\n`start_time`.",
751 "file": "Client/ListRuns/main.go",
752 "language": "GO",
753 "clientMethod": {
754 "shortName": "ListRuns",
755 "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListRuns",
756 "parameters": [
757 {
758 "type": "context.Context",
759 "name": "ctx"
760 },
761 {
762 "type": "lineagepb.ListRunsRequest",
763 "name": "req"
764 },
765 {
766 "type": "...gax.CallOption",
767 "name": "opts"
768 }
769 ],
770 "resultType": "RunIterator",
771 "client": {
772 "shortName": "Client",
773 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
774 },
775 "method": {
776 "shortName": "ListRuns",
777 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListRuns",
778 "service": {
779 "shortName": "Lineage",
780 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
781 }
782 }
783 },
784 "origin": "API_DEFINITION",
785 "segments": [
786 {
787 "start": 18,
788 "end": 66,
789 "type": "FULL"
790 }
791 ]
792 },
793 {
794 "regionTag": "datalineage_v1_generated_Lineage_ProcessOpenLineageRunEvent_sync",
795 "title": "datalineage ProcessOpenLineageRunEvent Sample",
796 "description": "ProcessOpenLineageRunEvent creates new lineage events together with their parents: process and run.\nUpdates the process and run if they already exist.\nMapped from Open Lineage specification: \nhttps: //github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.",
797 "file": "Client/ProcessOpenLineageRunEvent/main.go",
798 "language": "GO",
799 "clientMethod": {
800 "shortName": "ProcessOpenLineageRunEvent",
801 "fullName": "google.cloud.datacatalog.lineage.v1.Client.ProcessOpenLineageRunEvent",
802 "parameters": [
803 {
804 "type": "context.Context",
805 "name": "ctx"
806 },
807 {
808 "type": "lineagepb.ProcessOpenLineageRunEventRequest",
809 "name": "req"
810 },
811 {
812 "type": "...gax.CallOption",
813 "name": "opts"
814 }
815 ],
816 "resultType": "*lineagepb.ProcessOpenLineageRunEventResponse",
817 "client": {
818 "shortName": "Client",
819 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
820 },
821 "method": {
822 "shortName": "ProcessOpenLineageRunEvent",
823 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent",
824 "service": {
825 "shortName": "Lineage",
826 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
827 }
828 }
829 },
830 "origin": "API_DEFINITION",
831 "segments": [
832 {
833 "start": 18,
834 "end": 53,
835 "type": "FULL"
836 }
837 ]
838 },
839 {
840 "regionTag": "datalineage_v1_generated_Lineage_SearchLinks_sync",
841 "title": "datalineage SearchLinks Sample",
842 "description": "SearchLinks retrieve a list of links connected to a specific asset.\nLinks represent the data flow between **source** (upstream)\nand **target** (downstream) assets in transformation pipelines.\nLinks are stored in the same project as the Lineage Events that create\nthem.\n\nYou can retrieve links in every project where you have the\n`datalineage.events.get` permission. The project provided in the URL\nis used for Billing and Quota.",
843 "file": "Client/SearchLinks/main.go",
844 "language": "GO",
845 "clientMethod": {
846 "shortName": "SearchLinks",
847 "fullName": "google.cloud.datacatalog.lineage.v1.Client.SearchLinks",
848 "parameters": [
849 {
850 "type": "context.Context",
851 "name": "ctx"
852 },
853 {
854 "type": "lineagepb.SearchLinksRequest",
855 "name": "req"
856 },
857 {
858 "type": "...gax.CallOption",
859 "name": "opts"
860 }
861 ],
862 "resultType": "LinkIterator",
863 "client": {
864 "shortName": "Client",
865 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
866 },
867 "method": {
868 "shortName": "SearchLinks",
869 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks",
870 "service": {
871 "shortName": "Lineage",
872 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
873 }
874 }
875 },
876 "origin": "API_DEFINITION",
877 "segments": [
878 {
879 "start": 18,
880 "end": 66,
881 "type": "FULL"
882 }
883 ]
884 },
885 {
886 "regionTag": "datalineage_v1_generated_Lineage_UpdateProcess_sync",
887 "title": "datalineage UpdateProcess Sample",
888 "description": "UpdateProcess updates a process.",
889 "file": "Client/UpdateProcess/main.go",
890 "language": "GO",
891 "clientMethod": {
892 "shortName": "UpdateProcess",
893 "fullName": "google.cloud.datacatalog.lineage.v1.Client.UpdateProcess",
894 "parameters": [
895 {
896 "type": "context.Context",
897 "name": "ctx"
898 },
899 {
900 "type": "lineagepb.UpdateProcessRequest",
901 "name": "req"
902 },
903 {
904 "type": "...gax.CallOption",
905 "name": "opts"
906 }
907 ],
908 "resultType": "*lineagepb.Process",
909 "client": {
910 "shortName": "Client",
911 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
912 },
913 "method": {
914 "shortName": "UpdateProcess",
915 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess",
916 "service": {
917 "shortName": "Lineage",
918 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
919 }
920 }
921 },
922 "origin": "API_DEFINITION",
923 "segments": [
924 {
925 "start": 18,
926 "end": 53,
927 "type": "FULL"
928 }
929 ]
930 },
931 {
932 "regionTag": "datalineage_v1_generated_Lineage_UpdateRun_sync",
933 "title": "datalineage UpdateRun Sample",
934 "description": "UpdateRun updates a run.",
935 "file": "Client/UpdateRun/main.go",
936 "language": "GO",
937 "clientMethod": {
938 "shortName": "UpdateRun",
939 "fullName": "google.cloud.datacatalog.lineage.v1.Client.UpdateRun",
940 "parameters": [
941 {
942 "type": "context.Context",
943 "name": "ctx"
944 },
945 {
946 "type": "lineagepb.UpdateRunRequest",
947 "name": "req"
948 },
949 {
950 "type": "...gax.CallOption",
951 "name": "opts"
952 }
953 ],
954 "resultType": "*lineagepb.Run",
955 "client": {
956 "shortName": "Client",
957 "fullName": "google.cloud.datacatalog.lineage.v1.Client"
958 },
959 "method": {
960 "shortName": "UpdateRun",
961 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun",
962 "service": {
963 "shortName": "Lineage",
964 "fullName": "google.cloud.datacatalog.lineage.v1.Lineage"
965 }
966 }
967 },
968 "origin": "API_DEFINITION",
969 "segments": [
970 {
971 "start": 18,
972 "end": 53,
973 "type": "FULL"
974 }
975 ]
976 }
977 ]
978 }