Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/datacatalog/apiv1",
4 "version": "1.26.1",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.datacatalog.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "datacatalog_v1_generated_DataCatalog_CancelOperation_sync",
16 "title": "datacatalog CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "Client/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.datacatalog.v1.Client.CancelOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.CancelOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "Client",
39 "fullName": "google.cloud.datacatalog.v1.Client"
40 },
41 "method": {
42 "shortName": "CancelOperation",
43 "fullName": "google.longrunning.Operations.CancelOperation",
44 "service": {
45 "shortName": "Operations",
46 "fullName": "google.longrunning.Operations"
47 }
48 }
49 },
50 "origin": "API_DEFINITION",
51 "segments": [
52 {
53 "start": 18,
54 "end": 51,
55 "type": "FULL"
56 }
57 ]
58 },
59 {
60 "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntry_sync",
61 "title": "datacatalog CreateEntry Sample",
62 "description": "CreateEntry creates an entry.\n\nYou can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',\nor custom types. Data Catalog automatically creates entries with other\ntypes during metadata ingestion from integrated systems.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\nAn entry group can have a maximum of 100,000 entries.\n\n\nDeprecated: CreateEntry may be removed in a future version.",
63 "file": "Client/CreateEntry/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateEntry",
67 "fullName": "google.cloud.datacatalog.v1.Client.CreateEntry",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "datacatalogpb.CreateEntryRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "*datacatalogpb.Entry",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.datacatalog.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateEntry",
89 "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntry",
90 "service": {
91 "shortName": "DataCatalog",
92 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 53,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync",
107 "title": "datacatalog CreateEntryGroup Sample",
108 "description": "CreateEntryGroup creates an entry group.\n\nAn entry group contains logically related entries together with [Cloud\nIdentity and Access Management](/data-catalog/docs/concepts/iam) policies.\nThese policies specify users who can create, edit, and view entries\nwithin entry groups.\n\nData Catalog automatically creates entry groups with names that start with\nthe `@` symbol for the following resources: \n\n* BigQuery entries (`@bigquery`)\n* Pub/Sub topics (`@pubsub`)\n* Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)\n\nYou can create your own entry groups for Cloud Storage fileset entries\nand custom entries together with the corresponding IAM policies.\nUser-created entry groups can't contain the `@` symbol, it is reserved\nfor automatically created groups.\n\nEntry groups, like entries, can be searched.\n\nA maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateEntryGroup may be removed in a future version.",
109 "file": "Client/CreateEntryGroup/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateEntryGroup",
113 "fullName": "google.cloud.datacatalog.v1.Client.CreateEntryGroup",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "datacatalogpb.CreateEntryGroupRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*datacatalogpb.EntryGroup",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.datacatalog.v1.Client"
132 },
133 "method": {
134 "shortName": "CreateEntryGroup",
135 "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup",
136 "service": {
137 "shortName": "DataCatalog",
138 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
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": "datacatalog_v1_generated_DataCatalog_CreateTag_sync",
153 "title": "datacatalog CreateTag Sample",
154 "description": "CreateTag creates a tag and assigns it to: \n\n* An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is\n`projects.locations.entryGroups.entries.tags.create`.\n* Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method\nname is `projects.locations.entryGroups.tags.create`.\n\nNote: The project identified by the `parent` parameter for the [tag]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the [tag template]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be in the same organization.\n\n\nDeprecated: CreateTag may be removed in a future version.",
155 "file": "Client/CreateTag/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateTag",
159 "fullName": "google.cloud.datacatalog.v1.Client.CreateTag",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "datacatalogpb.CreateTagRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*datacatalogpb.Tag",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.datacatalog.v1.Client"
178 },
179 "method": {
180 "shortName": "CreateTag",
181 "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTag",
182 "service": {
183 "shortName": "DataCatalog",
184 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
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": "datacatalog_v1_generated_DataCatalog_CreateTagTemplate_sync",
199 "title": "datacatalog CreateTagTemplate Sample",
200 "description": "CreateTagTemplate creates a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`parent` parameter.\nFor more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplate may be removed in a future version.",
201 "file": "Client/CreateTagTemplate/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateTagTemplate",
205 "fullName": "google.cloud.datacatalog.v1.Client.CreateTagTemplate",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "datacatalogpb.CreateTagTemplateRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "*datacatalogpb.TagTemplate",
221 "client": {
222 "shortName": "Client",
223 "fullName": "google.cloud.datacatalog.v1.Client"
224 },
225 "method": {
226 "shortName": "CreateTagTemplate",
227 "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate",
228 "service": {
229 "shortName": "DataCatalog",
230 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
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": "datacatalog_v1_generated_DataCatalog_CreateTagTemplateField_sync",
245 "title": "datacatalog CreateTagTemplateField Sample",
246 "description": "CreateTagTemplateField creates a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplateField may be removed in a future version.",
247 "file": "Client/CreateTagTemplateField/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateTagTemplateField",
251 "fullName": "google.cloud.datacatalog.v1.Client.CreateTagTemplateField",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "datacatalogpb.CreateTagTemplateFieldRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "*datacatalogpb.TagTemplateField",
267 "client": {
268 "shortName": "Client",
269 "fullName": "google.cloud.datacatalog.v1.Client"
270 },
271 "method": {
272 "shortName": "CreateTagTemplateField",
273 "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField",
274 "service": {
275 "shortName": "DataCatalog",
276 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 53,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntry_sync",
291 "title": "datacatalog DeleteEntry Sample",
292 "description": "DeleteEntry deletes an existing entry.\n\nYou can delete only the entries created by the\n[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]\nmethod.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntry may be removed in a future version.",
293 "file": "Client/DeleteEntry/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "DeleteEntry",
297 "fullName": "google.cloud.datacatalog.v1.Client.DeleteEntry",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "datacatalogpb.DeleteEntryRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "client": {
313 "shortName": "Client",
314 "fullName": "google.cloud.datacatalog.v1.Client"
315 },
316 "method": {
317 "shortName": "DeleteEntry",
318 "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntry",
319 "service": {
320 "shortName": "DataCatalog",
321 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 51,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntryGroup_sync",
336 "title": "datacatalog DeleteEntryGroup Sample",
337 "description": "DeleteEntryGroup deletes an entry group.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntryGroup may be removed in a future version.",
338 "file": "Client/DeleteEntryGroup/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "DeleteEntryGroup",
342 "fullName": "google.cloud.datacatalog.v1.Client.DeleteEntryGroup",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "datacatalogpb.DeleteEntryGroupRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "client": {
358 "shortName": "Client",
359 "fullName": "google.cloud.datacatalog.v1.Client"
360 },
361 "method": {
362 "shortName": "DeleteEntryGroup",
363 "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup",
364 "service": {
365 "shortName": "DataCatalog",
366 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
367 }
368 }
369 },
370 "origin": "API_DEFINITION",
371 "segments": [
372 {
373 "start": 18,
374 "end": 51,
375 "type": "FULL"
376 }
377 ]
378 },
379 {
380 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteOperation_sync",
381 "title": "datacatalog DeleteOperation Sample",
382 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
383 "file": "Client/DeleteOperation/main.go",
384 "language": "GO",
385 "clientMethod": {
386 "shortName": "DeleteOperation",
387 "fullName": "google.cloud.datacatalog.v1.Client.DeleteOperation",
388 "parameters": [
389 {
390 "type": "context.Context",
391 "name": "ctx"
392 },
393 {
394 "type": "longrunningpb.DeleteOperationRequest",
395 "name": "req"
396 },
397 {
398 "type": "...gax.CallOption",
399 "name": "opts"
400 }
401 ],
402 "client": {
403 "shortName": "Client",
404 "fullName": "google.cloud.datacatalog.v1.Client"
405 },
406 "method": {
407 "shortName": "DeleteOperation",
408 "fullName": "google.longrunning.Operations.DeleteOperation",
409 "service": {
410 "shortName": "Operations",
411 "fullName": "google.longrunning.Operations"
412 }
413 }
414 },
415 "origin": "API_DEFINITION",
416 "segments": [
417 {
418 "start": 18,
419 "end": 51,
420 "type": "FULL"
421 }
422 ]
423 },
424 {
425 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTag_sync",
426 "title": "datacatalog DeleteTag Sample",
427 "description": "DeleteTag deletes a tag.\n\n\nDeprecated: DeleteTag may be removed in a future version.",
428 "file": "Client/DeleteTag/main.go",
429 "language": "GO",
430 "clientMethod": {
431 "shortName": "DeleteTag",
432 "fullName": "google.cloud.datacatalog.v1.Client.DeleteTag",
433 "parameters": [
434 {
435 "type": "context.Context",
436 "name": "ctx"
437 },
438 {
439 "type": "datacatalogpb.DeleteTagRequest",
440 "name": "req"
441 },
442 {
443 "type": "...gax.CallOption",
444 "name": "opts"
445 }
446 ],
447 "client": {
448 "shortName": "Client",
449 "fullName": "google.cloud.datacatalog.v1.Client"
450 },
451 "method": {
452 "shortName": "DeleteTag",
453 "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTag",
454 "service": {
455 "shortName": "DataCatalog",
456 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
457 }
458 }
459 },
460 "origin": "API_DEFINITION",
461 "segments": [
462 {
463 "start": 18,
464 "end": 51,
465 "type": "FULL"
466 }
467 ]
468 },
469 {
470 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplate_sync",
471 "title": "datacatalog DeleteTagTemplate Sample",
472 "description": "DeleteTagTemplate deletes a tag template and all tags that use it.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplate may be removed in a future version.",
473 "file": "Client/DeleteTagTemplate/main.go",
474 "language": "GO",
475 "clientMethod": {
476 "shortName": "DeleteTagTemplate",
477 "fullName": "google.cloud.datacatalog.v1.Client.DeleteTagTemplate",
478 "parameters": [
479 {
480 "type": "context.Context",
481 "name": "ctx"
482 },
483 {
484 "type": "datacatalogpb.DeleteTagTemplateRequest",
485 "name": "req"
486 },
487 {
488 "type": "...gax.CallOption",
489 "name": "opts"
490 }
491 ],
492 "client": {
493 "shortName": "Client",
494 "fullName": "google.cloud.datacatalog.v1.Client"
495 },
496 "method": {
497 "shortName": "DeleteTagTemplate",
498 "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate",
499 "service": {
500 "shortName": "DataCatalog",
501 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
502 }
503 }
504 },
505 "origin": "API_DEFINITION",
506 "segments": [
507 {
508 "start": 18,
509 "end": 51,
510 "type": "FULL"
511 }
512 ]
513 },
514 {
515 "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplateField_sync",
516 "title": "datacatalog DeleteTagTemplateField Sample",
517 "description": "DeleteTagTemplateField deletes a field in a tag template and all uses of this field from the tags\nbased on this template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplateField may be removed in a future version.",
518 "file": "Client/DeleteTagTemplateField/main.go",
519 "language": "GO",
520 "clientMethod": {
521 "shortName": "DeleteTagTemplateField",
522 "fullName": "google.cloud.datacatalog.v1.Client.DeleteTagTemplateField",
523 "parameters": [
524 {
525 "type": "context.Context",
526 "name": "ctx"
527 },
528 {
529 "type": "datacatalogpb.DeleteTagTemplateFieldRequest",
530 "name": "req"
531 },
532 {
533 "type": "...gax.CallOption",
534 "name": "opts"
535 }
536 ],
537 "client": {
538 "shortName": "Client",
539 "fullName": "google.cloud.datacatalog.v1.Client"
540 },
541 "method": {
542 "shortName": "DeleteTagTemplateField",
543 "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField",
544 "service": {
545 "shortName": "DataCatalog",
546 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
547 }
548 }
549 },
550 "origin": "API_DEFINITION",
551 "segments": [
552 {
553 "start": 18,
554 "end": 51,
555 "type": "FULL"
556 }
557 ]
558 },
559 {
560 "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntry_sync",
561 "title": "datacatalog GetEntry Sample",
562 "description": "GetEntry gets an entry.\n\n\nDeprecated: GetEntry may be removed in a future version.",
563 "file": "Client/GetEntry/main.go",
564 "language": "GO",
565 "clientMethod": {
566 "shortName": "GetEntry",
567 "fullName": "google.cloud.datacatalog.v1.Client.GetEntry",
568 "parameters": [
569 {
570 "type": "context.Context",
571 "name": "ctx"
572 },
573 {
574 "type": "datacatalogpb.GetEntryRequest",
575 "name": "req"
576 },
577 {
578 "type": "...gax.CallOption",
579 "name": "opts"
580 }
581 ],
582 "resultType": "*datacatalogpb.Entry",
583 "client": {
584 "shortName": "Client",
585 "fullName": "google.cloud.datacatalog.v1.Client"
586 },
587 "method": {
588 "shortName": "GetEntry",
589 "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntry",
590 "service": {
591 "shortName": "DataCatalog",
592 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
593 }
594 }
595 },
596 "origin": "API_DEFINITION",
597 "segments": [
598 {
599 "start": 18,
600 "end": 53,
601 "type": "FULL"
602 }
603 ]
604 },
605 {
606 "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntryGroup_sync",
607 "title": "datacatalog GetEntryGroup Sample",
608 "description": "GetEntryGroup gets an entry group.\n\n\nDeprecated: GetEntryGroup may be removed in a future version.",
609 "file": "Client/GetEntryGroup/main.go",
610 "language": "GO",
611 "clientMethod": {
612 "shortName": "GetEntryGroup",
613 "fullName": "google.cloud.datacatalog.v1.Client.GetEntryGroup",
614 "parameters": [
615 {
616 "type": "context.Context",
617 "name": "ctx"
618 },
619 {
620 "type": "datacatalogpb.GetEntryGroupRequest",
621 "name": "req"
622 },
623 {
624 "type": "...gax.CallOption",
625 "name": "opts"
626 }
627 ],
628 "resultType": "*datacatalogpb.EntryGroup",
629 "client": {
630 "shortName": "Client",
631 "fullName": "google.cloud.datacatalog.v1.Client"
632 },
633 "method": {
634 "shortName": "GetEntryGroup",
635 "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup",
636 "service": {
637 "shortName": "DataCatalog",
638 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
639 }
640 }
641 },
642 "origin": "API_DEFINITION",
643 "segments": [
644 {
645 "start": 18,
646 "end": 53,
647 "type": "FULL"
648 }
649 ]
650 },
651 {
652 "regionTag": "datacatalog_v1_generated_DataCatalog_GetIamPolicy_sync",
653 "title": "datacatalog GetIamPolicy Sample",
654 "description": "GetIamPolicy gets the access control policy for a resource.\n\nMay return: \n\n* A`NOT_FOUND` error if the resource doesn't exist or you don't have the\npermission to view it.\n* An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method doesn't get policies from Google Cloud Platform\nresources ingested into Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag\ntemplates.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n\nDeprecated: GetIamPolicy may be removed in a future version.",
655 "file": "Client/GetIamPolicy/main.go",
656 "language": "GO",
657 "clientMethod": {
658 "shortName": "GetIamPolicy",
659 "fullName": "google.cloud.datacatalog.v1.Client.GetIamPolicy",
660 "parameters": [
661 {
662 "type": "context.Context",
663 "name": "ctx"
664 },
665 {
666 "type": "iampb.GetIamPolicyRequest",
667 "name": "req"
668 },
669 {
670 "type": "...gax.CallOption",
671 "name": "opts"
672 }
673 ],
674 "resultType": "*iampb.Policy",
675 "client": {
676 "shortName": "Client",
677 "fullName": "google.cloud.datacatalog.v1.Client"
678 },
679 "method": {
680 "shortName": "GetIamPolicy",
681 "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetIamPolicy",
682 "service": {
683 "shortName": "DataCatalog",
684 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
685 }
686 }
687 },
688 "origin": "API_DEFINITION",
689 "segments": [
690 {
691 "start": 18,
692 "end": 53,
693 "type": "FULL"
694 }
695 ]
696 },
697 {
698 "regionTag": "datacatalog_v1_generated_DataCatalog_GetOperation_sync",
699 "title": "datacatalog GetOperation Sample",
700 "description": "GetOperation is a utility method from google.longrunning.Operations.",
701 "file": "Client/GetOperation/main.go",
702 "language": "GO",
703 "clientMethod": {
704 "shortName": "GetOperation",
705 "fullName": "google.cloud.datacatalog.v1.Client.GetOperation",
706 "parameters": [
707 {
708 "type": "context.Context",
709 "name": "ctx"
710 },
711 {
712 "type": "longrunningpb.GetOperationRequest",
713 "name": "req"
714 },
715 {
716 "type": "...gax.CallOption",
717 "name": "opts"
718 }
719 ],
720 "resultType": "*longrunningpb.Operation",
721 "client": {
722 "shortName": "Client",
723 "fullName": "google.cloud.datacatalog.v1.Client"
724 },
725 "method": {
726 "shortName": "GetOperation",
727 "fullName": "google.longrunning.Operations.GetOperation",
728 "service": {
729 "shortName": "Operations",
730 "fullName": "google.longrunning.Operations"
731 }
732 }
733 },
734 "origin": "API_DEFINITION",
735 "segments": [
736 {
737 "start": 18,
738 "end": 53,
739 "type": "FULL"
740 }
741 ]
742 },
743 {
744 "regionTag": "datacatalog_v1_generated_DataCatalog_GetTagTemplate_sync",
745 "title": "datacatalog GetTagTemplate Sample",
746 "description": "GetTagTemplate gets a tag template.\n\n\nDeprecated: GetTagTemplate may be removed in a future version.",
747 "file": "Client/GetTagTemplate/main.go",
748 "language": "GO",
749 "clientMethod": {
750 "shortName": "GetTagTemplate",
751 "fullName": "google.cloud.datacatalog.v1.Client.GetTagTemplate",
752 "parameters": [
753 {
754 "type": "context.Context",
755 "name": "ctx"
756 },
757 {
758 "type": "datacatalogpb.GetTagTemplateRequest",
759 "name": "req"
760 },
761 {
762 "type": "...gax.CallOption",
763 "name": "opts"
764 }
765 ],
766 "resultType": "*datacatalogpb.TagTemplate",
767 "client": {
768 "shortName": "Client",
769 "fullName": "google.cloud.datacatalog.v1.Client"
770 },
771 "method": {
772 "shortName": "GetTagTemplate",
773 "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate",
774 "service": {
775 "shortName": "DataCatalog",
776 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
777 }
778 }
779 },
780 "origin": "API_DEFINITION",
781 "segments": [
782 {
783 "start": 18,
784 "end": 53,
785 "type": "FULL"
786 }
787 ]
788 },
789 {
790 "regionTag": "datacatalog_v1_generated_DataCatalog_ImportEntries_sync",
791 "title": "datacatalog ImportEntries Sample",
792 "description": "ImportEntries imports entries from a source, such as data previously dumped into a\nCloud Storage bucket, into Data Catalog. Import of entries\nis a sync operation that reconciles the state of the third-party system\nwith the Data Catalog.\n\n`ImportEntries` accepts source data snapshots of a third-party system.\nSnapshot should be delivered as a .wire or base65-encoded .txt file\ncontaining a sequence of Protocol Buffer messages of\n[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.\n\n`ImportEntries` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return\n[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]\nand an\n[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]\nmessage.\n\n\nDeprecated: ImportEntries may be removed in a future version.",
793 "file": "Client/ImportEntries/main.go",
794 "language": "GO",
795 "clientMethod": {
796 "shortName": "ImportEntries",
797 "fullName": "google.cloud.datacatalog.v1.Client.ImportEntries",
798 "parameters": [
799 {
800 "type": "context.Context",
801 "name": "ctx"
802 },
803 {
804 "type": "datacatalogpb.ImportEntriesRequest",
805 "name": "req"
806 },
807 {
808 "type": "...gax.CallOption",
809 "name": "opts"
810 }
811 ],
812 "resultType": "ImportEntriesOperation",
813 "client": {
814 "shortName": "Client",
815 "fullName": "google.cloud.datacatalog.v1.Client"
816 },
817 "method": {
818 "shortName": "ImportEntries",
819 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ImportEntries",
820 "service": {
821 "shortName": "DataCatalog",
822 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
823 }
824 }
825 },
826 "origin": "API_DEFINITION",
827 "segments": [
828 {
829 "start": 18,
830 "end": 58,
831 "type": "FULL"
832 }
833 ]
834 },
835 {
836 "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntries_sync",
837 "title": "datacatalog ListEntries Sample",
838 "description": "ListEntries lists entries.\n\nNote: Currently, this method can list only custom entries.\nTo get a list of both custom and automatically created entries, use\n[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].\n\n\nDeprecated: ListEntries may be removed in a future version.",
839 "file": "Client/ListEntries/main.go",
840 "language": "GO",
841 "clientMethod": {
842 "shortName": "ListEntries",
843 "fullName": "google.cloud.datacatalog.v1.Client.ListEntries",
844 "parameters": [
845 {
846 "type": "context.Context",
847 "name": "ctx"
848 },
849 {
850 "type": "datacatalogpb.ListEntriesRequest",
851 "name": "req"
852 },
853 {
854 "type": "...gax.CallOption",
855 "name": "opts"
856 }
857 ],
858 "resultType": "EntryIterator",
859 "client": {
860 "shortName": "Client",
861 "fullName": "google.cloud.datacatalog.v1.Client"
862 },
863 "method": {
864 "shortName": "ListEntries",
865 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntries",
866 "service": {
867 "shortName": "DataCatalog",
868 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
869 }
870 }
871 },
872 "origin": "API_DEFINITION",
873 "segments": [
874 {
875 "start": 18,
876 "end": 66,
877 "type": "FULL"
878 }
879 ]
880 },
881 {
882 "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntryGroups_sync",
883 "title": "datacatalog ListEntryGroups Sample",
884 "description": "ListEntryGroups lists entry groups.\n\n\nDeprecated: ListEntryGroups may be removed in a future version.",
885 "file": "Client/ListEntryGroups/main.go",
886 "language": "GO",
887 "clientMethod": {
888 "shortName": "ListEntryGroups",
889 "fullName": "google.cloud.datacatalog.v1.Client.ListEntryGroups",
890 "parameters": [
891 {
892 "type": "context.Context",
893 "name": "ctx"
894 },
895 {
896 "type": "datacatalogpb.ListEntryGroupsRequest",
897 "name": "req"
898 },
899 {
900 "type": "...gax.CallOption",
901 "name": "opts"
902 }
903 ],
904 "resultType": "EntryGroupIterator",
905 "client": {
906 "shortName": "Client",
907 "fullName": "google.cloud.datacatalog.v1.Client"
908 },
909 "method": {
910 "shortName": "ListEntryGroups",
911 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups",
912 "service": {
913 "shortName": "DataCatalog",
914 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
915 }
916 }
917 },
918 "origin": "API_DEFINITION",
919 "segments": [
920 {
921 "start": 18,
922 "end": 66,
923 "type": "FULL"
924 }
925 ]
926 },
927 {
928 "regionTag": "datacatalog_v1_generated_DataCatalog_ListOperations_sync",
929 "title": "datacatalog ListOperations Sample",
930 "description": "ListOperations is a utility method from google.longrunning.Operations.",
931 "file": "Client/ListOperations/main.go",
932 "language": "GO",
933 "clientMethod": {
934 "shortName": "ListOperations",
935 "fullName": "google.cloud.datacatalog.v1.Client.ListOperations",
936 "parameters": [
937 {
938 "type": "context.Context",
939 "name": "ctx"
940 },
941 {
942 "type": "longrunningpb.ListOperationsRequest",
943 "name": "req"
944 },
945 {
946 "type": "...gax.CallOption",
947 "name": "opts"
948 }
949 ],
950 "resultType": "OperationIterator",
951 "client": {
952 "shortName": "Client",
953 "fullName": "google.cloud.datacatalog.v1.Client"
954 },
955 "method": {
956 "shortName": "ListOperations",
957 "fullName": "google.longrunning.Operations.ListOperations",
958 "service": {
959 "shortName": "Operations",
960 "fullName": "google.longrunning.Operations"
961 }
962 }
963 },
964 "origin": "API_DEFINITION",
965 "segments": [
966 {
967 "start": 18,
968 "end": 66,
969 "type": "FULL"
970 }
971 ]
972 },
973 {
974 "regionTag": "datacatalog_v1_generated_DataCatalog_ListTags_sync",
975 "title": "datacatalog ListTags Sample",
976 "description": "ListTags lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].\nThe [columns][google.cloud.datacatalog.v1.Tag.column] in the response are\nlowercased.\n\n\nDeprecated: ListTags may be removed in a future version.",
977 "file": "Client/ListTags/main.go",
978 "language": "GO",
979 "clientMethod": {
980 "shortName": "ListTags",
981 "fullName": "google.cloud.datacatalog.v1.Client.ListTags",
982 "parameters": [
983 {
984 "type": "context.Context",
985 "name": "ctx"
986 },
987 {
988 "type": "datacatalogpb.ListTagsRequest",
989 "name": "req"
990 },
991 {
992 "type": "...gax.CallOption",
993 "name": "opts"
994 }
995 ],
996 "resultType": "TagIterator",
997 "client": {
998 "shortName": "Client",
999 "fullName": "google.cloud.datacatalog.v1.Client"
1000 },
1001 "method": {
1002 "shortName": "ListTags",
1003 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListTags",
1004 "service": {
1005 "shortName": "DataCatalog",
1006 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1007 }
1008 }
1009 },
1010 "origin": "API_DEFINITION",
1011 "segments": [
1012 {
1013 "start": 18,
1014 "end": 66,
1015 "type": "FULL"
1016 }
1017 ]
1018 },
1019 {
1020 "regionTag": "datacatalog_v1_generated_DataCatalog_LookupEntry_sync",
1021 "title": "datacatalog LookupEntry Sample",
1022 "description": "LookupEntry gets an entry by its target resource name.\n\nThe resource name comes from the source Google Cloud Platform service.\n\n\nDeprecated: LookupEntry may be removed in a future version.",
1023 "file": "Client/LookupEntry/main.go",
1024 "language": "GO",
1025 "clientMethod": {
1026 "shortName": "LookupEntry",
1027 "fullName": "google.cloud.datacatalog.v1.Client.LookupEntry",
1028 "parameters": [
1029 {
1030 "type": "context.Context",
1031 "name": "ctx"
1032 },
1033 {
1034 "type": "datacatalogpb.LookupEntryRequest",
1035 "name": "req"
1036 },
1037 {
1038 "type": "...gax.CallOption",
1039 "name": "opts"
1040 }
1041 ],
1042 "resultType": "*datacatalogpb.Entry",
1043 "client": {
1044 "shortName": "Client",
1045 "fullName": "google.cloud.datacatalog.v1.Client"
1046 },
1047 "method": {
1048 "shortName": "LookupEntry",
1049 "fullName": "google.cloud.datacatalog.v1.DataCatalog.LookupEntry",
1050 "service": {
1051 "shortName": "DataCatalog",
1052 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1053 }
1054 }
1055 },
1056 "origin": "API_DEFINITION",
1057 "segments": [
1058 {
1059 "start": 18,
1060 "end": 53,
1061 "type": "FULL"
1062 }
1063 ]
1064 },
1065 {
1066 "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryContacts_sync",
1067 "title": "datacatalog ModifyEntryContacts Sample",
1068 "description": "ModifyEntryContacts modifies contacts, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateContacts`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryContacts may be removed in a future version.",
1069 "file": "Client/ModifyEntryContacts/main.go",
1070 "language": "GO",
1071 "clientMethod": {
1072 "shortName": "ModifyEntryContacts",
1073 "fullName": "google.cloud.datacatalog.v1.Client.ModifyEntryContacts",
1074 "parameters": [
1075 {
1076 "type": "context.Context",
1077 "name": "ctx"
1078 },
1079 {
1080 "type": "datacatalogpb.ModifyEntryContactsRequest",
1081 "name": "req"
1082 },
1083 {
1084 "type": "...gax.CallOption",
1085 "name": "opts"
1086 }
1087 ],
1088 "resultType": "*datacatalogpb.Contacts",
1089 "client": {
1090 "shortName": "Client",
1091 "fullName": "google.cloud.datacatalog.v1.Client"
1092 },
1093 "method": {
1094 "shortName": "ModifyEntryContacts",
1095 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts",
1096 "service": {
1097 "shortName": "DataCatalog",
1098 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1099 }
1100 }
1101 },
1102 "origin": "API_DEFINITION",
1103 "segments": [
1104 {
1105 "start": 18,
1106 "end": 53,
1107 "type": "FULL"
1108 }
1109 ]
1110 },
1111 {
1112 "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryOverview_sync",
1113 "title": "datacatalog ModifyEntryOverview Sample",
1114 "description": "ModifyEntryOverview modifies entry overview, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateOverview`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryOverview may be removed in a future version.",
1115 "file": "Client/ModifyEntryOverview/main.go",
1116 "language": "GO",
1117 "clientMethod": {
1118 "shortName": "ModifyEntryOverview",
1119 "fullName": "google.cloud.datacatalog.v1.Client.ModifyEntryOverview",
1120 "parameters": [
1121 {
1122 "type": "context.Context",
1123 "name": "ctx"
1124 },
1125 {
1126 "type": "datacatalogpb.ModifyEntryOverviewRequest",
1127 "name": "req"
1128 },
1129 {
1130 "type": "...gax.CallOption",
1131 "name": "opts"
1132 }
1133 ],
1134 "resultType": "*datacatalogpb.EntryOverview",
1135 "client": {
1136 "shortName": "Client",
1137 "fullName": "google.cloud.datacatalog.v1.Client"
1138 },
1139 "method": {
1140 "shortName": "ModifyEntryOverview",
1141 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview",
1142 "service": {
1143 "shortName": "DataCatalog",
1144 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1145 }
1146 }
1147 },
1148 "origin": "API_DEFINITION",
1149 "segments": [
1150 {
1151 "start": 18,
1152 "end": 53,
1153 "type": "FULL"
1154 }
1155 ]
1156 },
1157 {
1158 "regionTag": "datacatalog_v1_generated_DataCatalog_ReconcileTags_sync",
1159 "title": "datacatalog ReconcileTags Sample",
1160 "description": "ReconcileTags `ReconcileTags` creates or updates a list of tags on the entry.\nIf the\n[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]\nparameter is set, the operation deletes tags not included in the input tag\nlist.\n\n`ReconcileTags` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return [ReconcileTagsMetadata]\n[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and\na [ReconcileTagsResponse]\n[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.\n\n\nDeprecated: ReconcileTags may be removed in a future version.",
1161 "file": "Client/ReconcileTags/main.go",
1162 "language": "GO",
1163 "clientMethod": {
1164 "shortName": "ReconcileTags",
1165 "fullName": "google.cloud.datacatalog.v1.Client.ReconcileTags",
1166 "parameters": [
1167 {
1168 "type": "context.Context",
1169 "name": "ctx"
1170 },
1171 {
1172 "type": "datacatalogpb.ReconcileTagsRequest",
1173 "name": "req"
1174 },
1175 {
1176 "type": "...gax.CallOption",
1177 "name": "opts"
1178 }
1179 ],
1180 "resultType": "ReconcileTagsOperation",
1181 "client": {
1182 "shortName": "Client",
1183 "fullName": "google.cloud.datacatalog.v1.Client"
1184 },
1185 "method": {
1186 "shortName": "ReconcileTags",
1187 "fullName": "google.cloud.datacatalog.v1.DataCatalog.ReconcileTags",
1188 "service": {
1189 "shortName": "DataCatalog",
1190 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1191 }
1192 }
1193 },
1194 "origin": "API_DEFINITION",
1195 "segments": [
1196 {
1197 "start": 18,
1198 "end": 58,
1199 "type": "FULL"
1200 }
1201 ]
1202 },
1203 {
1204 "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateField_sync",
1205 "title": "datacatalog RenameTagTemplateField Sample",
1206 "description": "RenameTagTemplateField renames a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`name` parameter. For more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: RenameTagTemplateField may be removed in a future version.",
1207 "file": "Client/RenameTagTemplateField/main.go",
1208 "language": "GO",
1209 "clientMethod": {
1210 "shortName": "RenameTagTemplateField",
1211 "fullName": "google.cloud.datacatalog.v1.Client.RenameTagTemplateField",
1212 "parameters": [
1213 {
1214 "type": "context.Context",
1215 "name": "ctx"
1216 },
1217 {
1218 "type": "datacatalogpb.RenameTagTemplateFieldRequest",
1219 "name": "req"
1220 },
1221 {
1222 "type": "...gax.CallOption",
1223 "name": "opts"
1224 }
1225 ],
1226 "resultType": "*datacatalogpb.TagTemplateField",
1227 "client": {
1228 "shortName": "Client",
1229 "fullName": "google.cloud.datacatalog.v1.Client"
1230 },
1231 "method": {
1232 "shortName": "RenameTagTemplateField",
1233 "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField",
1234 "service": {
1235 "shortName": "DataCatalog",
1236 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1237 }
1238 }
1239 },
1240 "origin": "API_DEFINITION",
1241 "segments": [
1242 {
1243 "start": 18,
1244 "end": 53,
1245 "type": "FULL"
1246 }
1247 ]
1248 },
1249 {
1250 "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync",
1251 "title": "datacatalog RenameTagTemplateFieldEnumValue Sample",
1252 "description": "RenameTagTemplateFieldEnumValue renames an enum value in a tag template.\n\nWithin a single enum field, enum values must be unique.\n\n\nDeprecated: RenameTagTemplateFieldEnumValue may be removed in a future version.",
1253 "file": "Client/RenameTagTemplateFieldEnumValue/main.go",
1254 "language": "GO",
1255 "clientMethod": {
1256 "shortName": "RenameTagTemplateFieldEnumValue",
1257 "fullName": "google.cloud.datacatalog.v1.Client.RenameTagTemplateFieldEnumValue",
1258 "parameters": [
1259 {
1260 "type": "context.Context",
1261 "name": "ctx"
1262 },
1263 {
1264 "type": "datacatalogpb.RenameTagTemplateFieldEnumValueRequest",
1265 "name": "req"
1266 },
1267 {
1268 "type": "...gax.CallOption",
1269 "name": "opts"
1270 }
1271 ],
1272 "resultType": "*datacatalogpb.TagTemplateField",
1273 "client": {
1274 "shortName": "Client",
1275 "fullName": "google.cloud.datacatalog.v1.Client"
1276 },
1277 "method": {
1278 "shortName": "RenameTagTemplateFieldEnumValue",
1279 "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue",
1280 "service": {
1281 "shortName": "DataCatalog",
1282 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1283 }
1284 }
1285 },
1286 "origin": "API_DEFINITION",
1287 "segments": [
1288 {
1289 "start": 18,
1290 "end": 53,
1291 "type": "FULL"
1292 }
1293 ]
1294 },
1295 {
1296 "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveConfig_sync",
1297 "title": "datacatalog RetrieveConfig Sample",
1298 "description": "RetrieveConfig retrieves the configuration related to the migration from Data Catalog to\nDataplex for a specific organization, including all the projects under it\nwhich have a separate configuration set.\n\n\nDeprecated: RetrieveConfig may be removed in a future version.",
1299 "file": "Client/RetrieveConfig/main.go",
1300 "language": "GO",
1301 "clientMethod": {
1302 "shortName": "RetrieveConfig",
1303 "fullName": "google.cloud.datacatalog.v1.Client.RetrieveConfig",
1304 "parameters": [
1305 {
1306 "type": "context.Context",
1307 "name": "ctx"
1308 },
1309 {
1310 "type": "datacatalogpb.RetrieveConfigRequest",
1311 "name": "req"
1312 },
1313 {
1314 "type": "...gax.CallOption",
1315 "name": "opts"
1316 }
1317 ],
1318 "resultType": "*datacatalogpb.OrganizationConfig",
1319 "client": {
1320 "shortName": "Client",
1321 "fullName": "google.cloud.datacatalog.v1.Client"
1322 },
1323 "method": {
1324 "shortName": "RetrieveConfig",
1325 "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveConfig",
1326 "service": {
1327 "shortName": "DataCatalog",
1328 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1329 }
1330 }
1331 },
1332 "origin": "API_DEFINITION",
1333 "segments": [
1334 {
1335 "start": 18,
1336 "end": 53,
1337 "type": "FULL"
1338 }
1339 ]
1340 },
1341 {
1342 "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveEffectiveConfig_sync",
1343 "title": "datacatalog RetrieveEffectiveConfig Sample",
1344 "description": "RetrieveEffectiveConfig retrieves the effective configuration related to the migration from Data\nCatalog to Dataplex for a specific organization or project. If there is no\nspecific configuration set for the resource, the setting is checked\nhierarchicahlly through the ancestors of the resource, starting from the\nresource itself.\n\n\nDeprecated: RetrieveEffectiveConfig may be removed in a future version.",
1345 "file": "Client/RetrieveEffectiveConfig/main.go",
1346 "language": "GO",
1347 "clientMethod": {
1348 "shortName": "RetrieveEffectiveConfig",
1349 "fullName": "google.cloud.datacatalog.v1.Client.RetrieveEffectiveConfig",
1350 "parameters": [
1351 {
1352 "type": "context.Context",
1353 "name": "ctx"
1354 },
1355 {
1356 "type": "datacatalogpb.RetrieveEffectiveConfigRequest",
1357 "name": "req"
1358 },
1359 {
1360 "type": "...gax.CallOption",
1361 "name": "opts"
1362 }
1363 ],
1364 "resultType": "*datacatalogpb.MigrationConfig",
1365 "client": {
1366 "shortName": "Client",
1367 "fullName": "google.cloud.datacatalog.v1.Client"
1368 },
1369 "method": {
1370 "shortName": "RetrieveEffectiveConfig",
1371 "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveEffectiveConfig",
1372 "service": {
1373 "shortName": "DataCatalog",
1374 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1375 }
1376 }
1377 },
1378 "origin": "API_DEFINITION",
1379 "segments": [
1380 {
1381 "start": 18,
1382 "end": 53,
1383 "type": "FULL"
1384 }
1385 ]
1386 },
1387 {
1388 "regionTag": "datacatalog_v1_generated_DataCatalog_SearchCatalog_sync",
1389 "title": "datacatalog SearchCatalog Sample",
1390 "description": "SearchCatalog searches Data Catalog for multiple resources like entries and tags that\nmatch a query.\n\nThis is a [Custom Method]\n(https: //cloud.google.com/apis/design/custom_methods) that doesn't return\nall information on a resource, only its ID and high level fields. To get\nmore information, you can subsequently call specific get methods.\n\nNote: Data Catalog search queries don't guarantee full recall. Results\nthat match your query might not be returned, even in subsequent\nresult pages. Additionally, returned (and not returned) results can vary\nif you repeat search queries.\n\nFor more information, see [Data Catalog search syntax]\n(https: //cloud.google.com/data-catalog/docs/how-to/search-reference).\n\n\nDeprecated: SearchCatalog may be removed in a future version.",
1391 "file": "Client/SearchCatalog/main.go",
1392 "language": "GO",
1393 "clientMethod": {
1394 "shortName": "SearchCatalog",
1395 "fullName": "google.cloud.datacatalog.v1.Client.SearchCatalog",
1396 "parameters": [
1397 {
1398 "type": "context.Context",
1399 "name": "ctx"
1400 },
1401 {
1402 "type": "datacatalogpb.SearchCatalogRequest",
1403 "name": "req"
1404 },
1405 {
1406 "type": "...gax.CallOption",
1407 "name": "opts"
1408 }
1409 ],
1410 "resultType": "SearchCatalogResultIterator",
1411 "client": {
1412 "shortName": "Client",
1413 "fullName": "google.cloud.datacatalog.v1.Client"
1414 },
1415 "method": {
1416 "shortName": "SearchCatalog",
1417 "fullName": "google.cloud.datacatalog.v1.DataCatalog.SearchCatalog",
1418 "service": {
1419 "shortName": "DataCatalog",
1420 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1421 }
1422 }
1423 },
1424 "origin": "API_DEFINITION",
1425 "segments": [
1426 {
1427 "start": 18,
1428 "end": 66,
1429 "type": "FULL"
1430 }
1431 ]
1432 },
1433 {
1434 "regionTag": "datacatalog_v1_generated_DataCatalog_SetConfig_sync",
1435 "title": "datacatalog SetConfig Sample",
1436 "description": "SetConfig sets the configuration related to the migration to Dataplex for an\norganization or project.\n\n\nDeprecated: SetConfig may be removed in a future version.",
1437 "file": "Client/SetConfig/main.go",
1438 "language": "GO",
1439 "clientMethod": {
1440 "shortName": "SetConfig",
1441 "fullName": "google.cloud.datacatalog.v1.Client.SetConfig",
1442 "parameters": [
1443 {
1444 "type": "context.Context",
1445 "name": "ctx"
1446 },
1447 {
1448 "type": "datacatalogpb.SetConfigRequest",
1449 "name": "req"
1450 },
1451 {
1452 "type": "...gax.CallOption",
1453 "name": "opts"
1454 }
1455 ],
1456 "resultType": "*datacatalogpb.MigrationConfig",
1457 "client": {
1458 "shortName": "Client",
1459 "fullName": "google.cloud.datacatalog.v1.Client"
1460 },
1461 "method": {
1462 "shortName": "SetConfig",
1463 "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetConfig",
1464 "service": {
1465 "shortName": "DataCatalog",
1466 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1467 }
1468 }
1469 },
1470 "origin": "API_DEFINITION",
1471 "segments": [
1472 {
1473 "start": 18,
1474 "end": 53,
1475 "type": "FULL"
1476 }
1477 ]
1478 },
1479 {
1480 "regionTag": "datacatalog_v1_generated_DataCatalog_SetIamPolicy_sync",
1481 "title": "datacatalog SetIamPolicy Sample",
1482 "description": "SetIamPolicy sets an access control policy for a resource. Replaces any existing\npolicy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method sets policies only within Data Catalog and can't be\nused to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources synced with the Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag\ntemplates.\n- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.\n\n\nDeprecated: SetIamPolicy may be removed in a future version.",
1483 "file": "Client/SetIamPolicy/main.go",
1484 "language": "GO",
1485 "clientMethod": {
1486 "shortName": "SetIamPolicy",
1487 "fullName": "google.cloud.datacatalog.v1.Client.SetIamPolicy",
1488 "parameters": [
1489 {
1490 "type": "context.Context",
1491 "name": "ctx"
1492 },
1493 {
1494 "type": "iampb.SetIamPolicyRequest",
1495 "name": "req"
1496 },
1497 {
1498 "type": "...gax.CallOption",
1499 "name": "opts"
1500 }
1501 ],
1502 "resultType": "*iampb.Policy",
1503 "client": {
1504 "shortName": "Client",
1505 "fullName": "google.cloud.datacatalog.v1.Client"
1506 },
1507 "method": {
1508 "shortName": "SetIamPolicy",
1509 "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetIamPolicy",
1510 "service": {
1511 "shortName": "DataCatalog",
1512 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1513 }
1514 }
1515 },
1516 "origin": "API_DEFINITION",
1517 "segments": [
1518 {
1519 "start": 18,
1520 "end": 53,
1521 "type": "FULL"
1522 }
1523 ]
1524 },
1525 {
1526 "regionTag": "datacatalog_v1_generated_DataCatalog_StarEntry_sync",
1527 "title": "datacatalog StarEntry Sample",
1528 "description": "StarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: StarEntry may be removed in a future version.",
1529 "file": "Client/StarEntry/main.go",
1530 "language": "GO",
1531 "clientMethod": {
1532 "shortName": "StarEntry",
1533 "fullName": "google.cloud.datacatalog.v1.Client.StarEntry",
1534 "parameters": [
1535 {
1536 "type": "context.Context",
1537 "name": "ctx"
1538 },
1539 {
1540 "type": "datacatalogpb.StarEntryRequest",
1541 "name": "req"
1542 },
1543 {
1544 "type": "...gax.CallOption",
1545 "name": "opts"
1546 }
1547 ],
1548 "resultType": "*datacatalogpb.StarEntryResponse",
1549 "client": {
1550 "shortName": "Client",
1551 "fullName": "google.cloud.datacatalog.v1.Client"
1552 },
1553 "method": {
1554 "shortName": "StarEntry",
1555 "fullName": "google.cloud.datacatalog.v1.DataCatalog.StarEntry",
1556 "service": {
1557 "shortName": "DataCatalog",
1558 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1559 }
1560 }
1561 },
1562 "origin": "API_DEFINITION",
1563 "segments": [
1564 {
1565 "start": 18,
1566 "end": 53,
1567 "type": "FULL"
1568 }
1569 ]
1570 },
1571 {
1572 "regionTag": "datacatalog_v1_generated_DataCatalog_TestIamPermissions_sync",
1573 "title": "datacatalog TestIamPermissions Sample",
1574 "description": "TestIamPermissions gets your permissions on a resource.\n\nReturns an empty set of permissions if the resource doesn't exist.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method gets policies only within Data Catalog and can't be\nused to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources ingested into Data Catalog.\n\nNo Google IAM permissions are required to call this method.\n\n\nDeprecated: TestIamPermissions may be removed in a future version.",
1575 "file": "Client/TestIamPermissions/main.go",
1576 "language": "GO",
1577 "clientMethod": {
1578 "shortName": "TestIamPermissions",
1579 "fullName": "google.cloud.datacatalog.v1.Client.TestIamPermissions",
1580 "parameters": [
1581 {
1582 "type": "context.Context",
1583 "name": "ctx"
1584 },
1585 {
1586 "type": "iampb.TestIamPermissionsRequest",
1587 "name": "req"
1588 },
1589 {
1590 "type": "...gax.CallOption",
1591 "name": "opts"
1592 }
1593 ],
1594 "resultType": "*iampb.TestIamPermissionsResponse",
1595 "client": {
1596 "shortName": "Client",
1597 "fullName": "google.cloud.datacatalog.v1.Client"
1598 },
1599 "method": {
1600 "shortName": "TestIamPermissions",
1601 "fullName": "google.cloud.datacatalog.v1.DataCatalog.TestIamPermissions",
1602 "service": {
1603 "shortName": "DataCatalog",
1604 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1605 }
1606 }
1607 },
1608 "origin": "API_DEFINITION",
1609 "segments": [
1610 {
1611 "start": 18,
1612 "end": 53,
1613 "type": "FULL"
1614 }
1615 ]
1616 },
1617 {
1618 "regionTag": "datacatalog_v1_generated_DataCatalog_UnstarEntry_sync",
1619 "title": "datacatalog UnstarEntry Sample",
1620 "description": "UnstarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: UnstarEntry may be removed in a future version.",
1621 "file": "Client/UnstarEntry/main.go",
1622 "language": "GO",
1623 "clientMethod": {
1624 "shortName": "UnstarEntry",
1625 "fullName": "google.cloud.datacatalog.v1.Client.UnstarEntry",
1626 "parameters": [
1627 {
1628 "type": "context.Context",
1629 "name": "ctx"
1630 },
1631 {
1632 "type": "datacatalogpb.UnstarEntryRequest",
1633 "name": "req"
1634 },
1635 {
1636 "type": "...gax.CallOption",
1637 "name": "opts"
1638 }
1639 ],
1640 "resultType": "*datacatalogpb.UnstarEntryResponse",
1641 "client": {
1642 "shortName": "Client",
1643 "fullName": "google.cloud.datacatalog.v1.Client"
1644 },
1645 "method": {
1646 "shortName": "UnstarEntry",
1647 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UnstarEntry",
1648 "service": {
1649 "shortName": "DataCatalog",
1650 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1651 }
1652 }
1653 },
1654 "origin": "API_DEFINITION",
1655 "segments": [
1656 {
1657 "start": 18,
1658 "end": 53,
1659 "type": "FULL"
1660 }
1661 ]
1662 },
1663 {
1664 "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntry_sync",
1665 "title": "datacatalog UpdateEntry Sample",
1666 "description": "UpdateEntry updates an existing entry.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntry may be removed in a future version.",
1667 "file": "Client/UpdateEntry/main.go",
1668 "language": "GO",
1669 "clientMethod": {
1670 "shortName": "UpdateEntry",
1671 "fullName": "google.cloud.datacatalog.v1.Client.UpdateEntry",
1672 "parameters": [
1673 {
1674 "type": "context.Context",
1675 "name": "ctx"
1676 },
1677 {
1678 "type": "datacatalogpb.UpdateEntryRequest",
1679 "name": "req"
1680 },
1681 {
1682 "type": "...gax.CallOption",
1683 "name": "opts"
1684 }
1685 ],
1686 "resultType": "*datacatalogpb.Entry",
1687 "client": {
1688 "shortName": "Client",
1689 "fullName": "google.cloud.datacatalog.v1.Client"
1690 },
1691 "method": {
1692 "shortName": "UpdateEntry",
1693 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntry",
1694 "service": {
1695 "shortName": "DataCatalog",
1696 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1697 }
1698 }
1699 },
1700 "origin": "API_DEFINITION",
1701 "segments": [
1702 {
1703 "start": 18,
1704 "end": 53,
1705 "type": "FULL"
1706 }
1707 ]
1708 },
1709 {
1710 "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntryGroup_sync",
1711 "title": "datacatalog UpdateEntryGroup Sample",
1712 "description": "UpdateEntryGroup updates an entry group.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry_group.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntryGroup may be removed in a future version.",
1713 "file": "Client/UpdateEntryGroup/main.go",
1714 "language": "GO",
1715 "clientMethod": {
1716 "shortName": "UpdateEntryGroup",
1717 "fullName": "google.cloud.datacatalog.v1.Client.UpdateEntryGroup",
1718 "parameters": [
1719 {
1720 "type": "context.Context",
1721 "name": "ctx"
1722 },
1723 {
1724 "type": "datacatalogpb.UpdateEntryGroupRequest",
1725 "name": "req"
1726 },
1727 {
1728 "type": "...gax.CallOption",
1729 "name": "opts"
1730 }
1731 ],
1732 "resultType": "*datacatalogpb.EntryGroup",
1733 "client": {
1734 "shortName": "Client",
1735 "fullName": "google.cloud.datacatalog.v1.Client"
1736 },
1737 "method": {
1738 "shortName": "UpdateEntryGroup",
1739 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup",
1740 "service": {
1741 "shortName": "DataCatalog",
1742 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1743 }
1744 }
1745 },
1746 "origin": "API_DEFINITION",
1747 "segments": [
1748 {
1749 "start": 18,
1750 "end": 53,
1751 "type": "FULL"
1752 }
1753 ]
1754 },
1755 {
1756 "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTag_sync",
1757 "title": "datacatalog UpdateTag Sample",
1758 "description": "UpdateTag updates an existing tag.\n\n\nDeprecated: UpdateTag may be removed in a future version.",
1759 "file": "Client/UpdateTag/main.go",
1760 "language": "GO",
1761 "clientMethod": {
1762 "shortName": "UpdateTag",
1763 "fullName": "google.cloud.datacatalog.v1.Client.UpdateTag",
1764 "parameters": [
1765 {
1766 "type": "context.Context",
1767 "name": "ctx"
1768 },
1769 {
1770 "type": "datacatalogpb.UpdateTagRequest",
1771 "name": "req"
1772 },
1773 {
1774 "type": "...gax.CallOption",
1775 "name": "opts"
1776 }
1777 ],
1778 "resultType": "*datacatalogpb.Tag",
1779 "client": {
1780 "shortName": "Client",
1781 "fullName": "google.cloud.datacatalog.v1.Client"
1782 },
1783 "method": {
1784 "shortName": "UpdateTag",
1785 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTag",
1786 "service": {
1787 "shortName": "DataCatalog",
1788 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1789 }
1790 }
1791 },
1792 "origin": "API_DEFINITION",
1793 "segments": [
1794 {
1795 "start": 18,
1796 "end": 53,
1797 "type": "FULL"
1798 }
1799 ]
1800 },
1801 {
1802 "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplate_sync",
1803 "title": "datacatalog UpdateTagTemplate Sample",
1804 "description": "UpdateTagTemplate updates a tag template.\n\nYou can't update template fields with this method. These fields are\nseparate resources with their own create, update, and delete methods.\n\nYou must enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplate may be removed in a future version.",
1805 "file": "Client/UpdateTagTemplate/main.go",
1806 "language": "GO",
1807 "clientMethod": {
1808 "shortName": "UpdateTagTemplate",
1809 "fullName": "google.cloud.datacatalog.v1.Client.UpdateTagTemplate",
1810 "parameters": [
1811 {
1812 "type": "context.Context",
1813 "name": "ctx"
1814 },
1815 {
1816 "type": "datacatalogpb.UpdateTagTemplateRequest",
1817 "name": "req"
1818 },
1819 {
1820 "type": "...gax.CallOption",
1821 "name": "opts"
1822 }
1823 ],
1824 "resultType": "*datacatalogpb.TagTemplate",
1825 "client": {
1826 "shortName": "Client",
1827 "fullName": "google.cloud.datacatalog.v1.Client"
1828 },
1829 "method": {
1830 "shortName": "UpdateTagTemplate",
1831 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate",
1832 "service": {
1833 "shortName": "DataCatalog",
1834 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1835 }
1836 }
1837 },
1838 "origin": "API_DEFINITION",
1839 "segments": [
1840 {
1841 "start": 18,
1842 "end": 53,
1843 "type": "FULL"
1844 }
1845 ]
1846 },
1847 {
1848 "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplateField_sync",
1849 "title": "datacatalog UpdateTagTemplateField Sample",
1850 "description": "UpdateTagTemplateField updates a field in a tag template.\n\nYou can't update the field type with this method.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplateField may be removed in a future version.",
1851 "file": "Client/UpdateTagTemplateField/main.go",
1852 "language": "GO",
1853 "clientMethod": {
1854 "shortName": "UpdateTagTemplateField",
1855 "fullName": "google.cloud.datacatalog.v1.Client.UpdateTagTemplateField",
1856 "parameters": [
1857 {
1858 "type": "context.Context",
1859 "name": "ctx"
1860 },
1861 {
1862 "type": "datacatalogpb.UpdateTagTemplateFieldRequest",
1863 "name": "req"
1864 },
1865 {
1866 "type": "...gax.CallOption",
1867 "name": "opts"
1868 }
1869 ],
1870 "resultType": "*datacatalogpb.TagTemplateField",
1871 "client": {
1872 "shortName": "Client",
1873 "fullName": "google.cloud.datacatalog.v1.Client"
1874 },
1875 "method": {
1876 "shortName": "UpdateTagTemplateField",
1877 "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField",
1878 "service": {
1879 "shortName": "DataCatalog",
1880 "fullName": "google.cloud.datacatalog.v1.DataCatalog"
1881 }
1882 }
1883 },
1884 "origin": "API_DEFINITION",
1885 "segments": [
1886 {
1887 "start": 18,
1888 "end": 53,
1889 "type": "FULL"
1890 }
1891 ]
1892 },
1893 {
1894 "regionTag": "datacatalog_v1_generated_PolicyTagManager_CancelOperation_sync",
1895 "title": "datacatalog CancelOperation Sample",
1896 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1897 "file": "PolicyTagManagerClient/CancelOperation/main.go",
1898 "language": "GO",
1899 "clientMethod": {
1900 "shortName": "CancelOperation",
1901 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CancelOperation",
1902 "parameters": [
1903 {
1904 "type": "context.Context",
1905 "name": "ctx"
1906 },
1907 {
1908 "type": "longrunningpb.CancelOperationRequest",
1909 "name": "req"
1910 },
1911 {
1912 "type": "...gax.CallOption",
1913 "name": "opts"
1914 }
1915 ],
1916 "client": {
1917 "shortName": "PolicyTagManagerClient",
1918 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
1919 },
1920 "method": {
1921 "shortName": "CancelOperation",
1922 "fullName": "google.longrunning.Operations.CancelOperation",
1923 "service": {
1924 "shortName": "Operations",
1925 "fullName": "google.longrunning.Operations"
1926 }
1927 }
1928 },
1929 "origin": "API_DEFINITION",
1930 "segments": [
1931 {
1932 "start": 18,
1933 "end": 51,
1934 "type": "FULL"
1935 }
1936 ]
1937 },
1938 {
1939 "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreatePolicyTag_sync",
1940 "title": "datacatalog CreatePolicyTag Sample",
1941 "description": "CreatePolicyTag creates a policy tag in a taxonomy.",
1942 "file": "PolicyTagManagerClient/CreatePolicyTag/main.go",
1943 "language": "GO",
1944 "clientMethod": {
1945 "shortName": "CreatePolicyTag",
1946 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CreatePolicyTag",
1947 "parameters": [
1948 {
1949 "type": "context.Context",
1950 "name": "ctx"
1951 },
1952 {
1953 "type": "datacatalogpb.CreatePolicyTagRequest",
1954 "name": "req"
1955 },
1956 {
1957 "type": "...gax.CallOption",
1958 "name": "opts"
1959 }
1960 ],
1961 "resultType": "*datacatalogpb.PolicyTag",
1962 "client": {
1963 "shortName": "PolicyTagManagerClient",
1964 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
1965 },
1966 "method": {
1967 "shortName": "CreatePolicyTag",
1968 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag",
1969 "service": {
1970 "shortName": "PolicyTagManager",
1971 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
1972 }
1973 }
1974 },
1975 "origin": "API_DEFINITION",
1976 "segments": [
1977 {
1978 "start": 18,
1979 "end": 53,
1980 "type": "FULL"
1981 }
1982 ]
1983 },
1984 {
1985 "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreateTaxonomy_sync",
1986 "title": "datacatalog CreateTaxonomy Sample",
1987 "description": "CreateTaxonomy creates a taxonomy in a specified project.\n\nThe taxonomy is initially empty, that is, it doesn't contain policy tags.",
1988 "file": "PolicyTagManagerClient/CreateTaxonomy/main.go",
1989 "language": "GO",
1990 "clientMethod": {
1991 "shortName": "CreateTaxonomy",
1992 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CreateTaxonomy",
1993 "parameters": [
1994 {
1995 "type": "context.Context",
1996 "name": "ctx"
1997 },
1998 {
1999 "type": "datacatalogpb.CreateTaxonomyRequest",
2000 "name": "req"
2001 },
2002 {
2003 "type": "...gax.CallOption",
2004 "name": "opts"
2005 }
2006 ],
2007 "resultType": "*datacatalogpb.Taxonomy",
2008 "client": {
2009 "shortName": "PolicyTagManagerClient",
2010 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2011 },
2012 "method": {
2013 "shortName": "CreateTaxonomy",
2014 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy",
2015 "service": {
2016 "shortName": "PolicyTagManager",
2017 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2018 }
2019 }
2020 },
2021 "origin": "API_DEFINITION",
2022 "segments": [
2023 {
2024 "start": 18,
2025 "end": 53,
2026 "type": "FULL"
2027 }
2028 ]
2029 },
2030 {
2031 "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteOperation_sync",
2032 "title": "datacatalog DeleteOperation Sample",
2033 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2034 "file": "PolicyTagManagerClient/DeleteOperation/main.go",
2035 "language": "GO",
2036 "clientMethod": {
2037 "shortName": "DeleteOperation",
2038 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeleteOperation",
2039 "parameters": [
2040 {
2041 "type": "context.Context",
2042 "name": "ctx"
2043 },
2044 {
2045 "type": "longrunningpb.DeleteOperationRequest",
2046 "name": "req"
2047 },
2048 {
2049 "type": "...gax.CallOption",
2050 "name": "opts"
2051 }
2052 ],
2053 "client": {
2054 "shortName": "PolicyTagManagerClient",
2055 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2056 },
2057 "method": {
2058 "shortName": "DeleteOperation",
2059 "fullName": "google.longrunning.Operations.DeleteOperation",
2060 "service": {
2061 "shortName": "Operations",
2062 "fullName": "google.longrunning.Operations"
2063 }
2064 }
2065 },
2066 "origin": "API_DEFINITION",
2067 "segments": [
2068 {
2069 "start": 18,
2070 "end": 51,
2071 "type": "FULL"
2072 }
2073 ]
2074 },
2075 {
2076 "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeletePolicyTag_sync",
2077 "title": "datacatalog DeletePolicyTag Sample",
2078 "description": "DeletePolicyTag deletes a policy tag together with the following: \n\n* All of its descendant policy tags, if any\n* Policies associated with the policy tag and its descendants\n* References from BigQuery table schema of the policy tag and its\ndescendants",
2079 "file": "PolicyTagManagerClient/DeletePolicyTag/main.go",
2080 "language": "GO",
2081 "clientMethod": {
2082 "shortName": "DeletePolicyTag",
2083 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeletePolicyTag",
2084 "parameters": [
2085 {
2086 "type": "context.Context",
2087 "name": "ctx"
2088 },
2089 {
2090 "type": "datacatalogpb.DeletePolicyTagRequest",
2091 "name": "req"
2092 },
2093 {
2094 "type": "...gax.CallOption",
2095 "name": "opts"
2096 }
2097 ],
2098 "client": {
2099 "shortName": "PolicyTagManagerClient",
2100 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2101 },
2102 "method": {
2103 "shortName": "DeletePolicyTag",
2104 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag",
2105 "service": {
2106 "shortName": "PolicyTagManager",
2107 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2108 }
2109 }
2110 },
2111 "origin": "API_DEFINITION",
2112 "segments": [
2113 {
2114 "start": 18,
2115 "end": 51,
2116 "type": "FULL"
2117 }
2118 ]
2119 },
2120 {
2121 "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteTaxonomy_sync",
2122 "title": "datacatalog DeleteTaxonomy Sample",
2123 "description": "DeleteTaxonomy deletes a taxonomy, including all policy tags in this\ntaxonomy, their associated policies, and the policy tags references from\nBigQuery columns.",
2124 "file": "PolicyTagManagerClient/DeleteTaxonomy/main.go",
2125 "language": "GO",
2126 "clientMethod": {
2127 "shortName": "DeleteTaxonomy",
2128 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeleteTaxonomy",
2129 "parameters": [
2130 {
2131 "type": "context.Context",
2132 "name": "ctx"
2133 },
2134 {
2135 "type": "datacatalogpb.DeleteTaxonomyRequest",
2136 "name": "req"
2137 },
2138 {
2139 "type": "...gax.CallOption",
2140 "name": "opts"
2141 }
2142 ],
2143 "client": {
2144 "shortName": "PolicyTagManagerClient",
2145 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2146 },
2147 "method": {
2148 "shortName": "DeleteTaxonomy",
2149 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy",
2150 "service": {
2151 "shortName": "PolicyTagManager",
2152 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2153 }
2154 }
2155 },
2156 "origin": "API_DEFINITION",
2157 "segments": [
2158 {
2159 "start": 18,
2160 "end": 51,
2161 "type": "FULL"
2162 }
2163 ]
2164 },
2165 {
2166 "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetIamPolicy_sync",
2167 "title": "datacatalog GetIamPolicy Sample",
2168 "description": "GetIamPolicy gets the IAM policy for a policy tag or a taxonomy.",
2169 "file": "PolicyTagManagerClient/GetIamPolicy/main.go",
2170 "language": "GO",
2171 "clientMethod": {
2172 "shortName": "GetIamPolicy",
2173 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetIamPolicy",
2174 "parameters": [
2175 {
2176 "type": "context.Context",
2177 "name": "ctx"
2178 },
2179 {
2180 "type": "iampb.GetIamPolicyRequest",
2181 "name": "req"
2182 },
2183 {
2184 "type": "...gax.CallOption",
2185 "name": "opts"
2186 }
2187 ],
2188 "resultType": "*iampb.Policy",
2189 "client": {
2190 "shortName": "PolicyTagManagerClient",
2191 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2192 },
2193 "method": {
2194 "shortName": "GetIamPolicy",
2195 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicy",
2196 "service": {
2197 "shortName": "PolicyTagManager",
2198 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2199 }
2200 }
2201 },
2202 "origin": "API_DEFINITION",
2203 "segments": [
2204 {
2205 "start": 18,
2206 "end": 53,
2207 "type": "FULL"
2208 }
2209 ]
2210 },
2211 {
2212 "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetOperation_sync",
2213 "title": "datacatalog GetOperation Sample",
2214 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2215 "file": "PolicyTagManagerClient/GetOperation/main.go",
2216 "language": "GO",
2217 "clientMethod": {
2218 "shortName": "GetOperation",
2219 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetOperation",
2220 "parameters": [
2221 {
2222 "type": "context.Context",
2223 "name": "ctx"
2224 },
2225 {
2226 "type": "longrunningpb.GetOperationRequest",
2227 "name": "req"
2228 },
2229 {
2230 "type": "...gax.CallOption",
2231 "name": "opts"
2232 }
2233 ],
2234 "resultType": "*longrunningpb.Operation",
2235 "client": {
2236 "shortName": "PolicyTagManagerClient",
2237 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2238 },
2239 "method": {
2240 "shortName": "GetOperation",
2241 "fullName": "google.longrunning.Operations.GetOperation",
2242 "service": {
2243 "shortName": "Operations",
2244 "fullName": "google.longrunning.Operations"
2245 }
2246 }
2247 },
2248 "origin": "API_DEFINITION",
2249 "segments": [
2250 {
2251 "start": 18,
2252 "end": 53,
2253 "type": "FULL"
2254 }
2255 ]
2256 },
2257 {
2258 "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetPolicyTag_sync",
2259 "title": "datacatalog GetPolicyTag Sample",
2260 "description": "GetPolicyTag gets a policy tag.",
2261 "file": "PolicyTagManagerClient/GetPolicyTag/main.go",
2262 "language": "GO",
2263 "clientMethod": {
2264 "shortName": "GetPolicyTag",
2265 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetPolicyTag",
2266 "parameters": [
2267 {
2268 "type": "context.Context",
2269 "name": "ctx"
2270 },
2271 {
2272 "type": "datacatalogpb.GetPolicyTagRequest",
2273 "name": "req"
2274 },
2275 {
2276 "type": "...gax.CallOption",
2277 "name": "opts"
2278 }
2279 ],
2280 "resultType": "*datacatalogpb.PolicyTag",
2281 "client": {
2282 "shortName": "PolicyTagManagerClient",
2283 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2284 },
2285 "method": {
2286 "shortName": "GetPolicyTag",
2287 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag",
2288 "service": {
2289 "shortName": "PolicyTagManager",
2290 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2291 }
2292 }
2293 },
2294 "origin": "API_DEFINITION",
2295 "segments": [
2296 {
2297 "start": 18,
2298 "end": 53,
2299 "type": "FULL"
2300 }
2301 ]
2302 },
2303 {
2304 "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetTaxonomy_sync",
2305 "title": "datacatalog GetTaxonomy Sample",
2306 "description": "GetTaxonomy gets a taxonomy.",
2307 "file": "PolicyTagManagerClient/GetTaxonomy/main.go",
2308 "language": "GO",
2309 "clientMethod": {
2310 "shortName": "GetTaxonomy",
2311 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetTaxonomy",
2312 "parameters": [
2313 {
2314 "type": "context.Context",
2315 "name": "ctx"
2316 },
2317 {
2318 "type": "datacatalogpb.GetTaxonomyRequest",
2319 "name": "req"
2320 },
2321 {
2322 "type": "...gax.CallOption",
2323 "name": "opts"
2324 }
2325 ],
2326 "resultType": "*datacatalogpb.Taxonomy",
2327 "client": {
2328 "shortName": "PolicyTagManagerClient",
2329 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2330 },
2331 "method": {
2332 "shortName": "GetTaxonomy",
2333 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy",
2334 "service": {
2335 "shortName": "PolicyTagManager",
2336 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2337 }
2338 }
2339 },
2340 "origin": "API_DEFINITION",
2341 "segments": [
2342 {
2343 "start": 18,
2344 "end": 53,
2345 "type": "FULL"
2346 }
2347 ]
2348 },
2349 {
2350 "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListOperations_sync",
2351 "title": "datacatalog ListOperations Sample",
2352 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2353 "file": "PolicyTagManagerClient/ListOperations/main.go",
2354 "language": "GO",
2355 "clientMethod": {
2356 "shortName": "ListOperations",
2357 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListOperations",
2358 "parameters": [
2359 {
2360 "type": "context.Context",
2361 "name": "ctx"
2362 },
2363 {
2364 "type": "longrunningpb.ListOperationsRequest",
2365 "name": "req"
2366 },
2367 {
2368 "type": "...gax.CallOption",
2369 "name": "opts"
2370 }
2371 ],
2372 "resultType": "OperationIterator",
2373 "client": {
2374 "shortName": "PolicyTagManagerClient",
2375 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2376 },
2377 "method": {
2378 "shortName": "ListOperations",
2379 "fullName": "google.longrunning.Operations.ListOperations",
2380 "service": {
2381 "shortName": "Operations",
2382 "fullName": "google.longrunning.Operations"
2383 }
2384 }
2385 },
2386 "origin": "API_DEFINITION",
2387 "segments": [
2388 {
2389 "start": 18,
2390 "end": 66,
2391 "type": "FULL"
2392 }
2393 ]
2394 },
2395 {
2396 "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListPolicyTags_sync",
2397 "title": "datacatalog ListPolicyTags Sample",
2398 "description": "ListPolicyTags lists all policy tags in a taxonomy.",
2399 "file": "PolicyTagManagerClient/ListPolicyTags/main.go",
2400 "language": "GO",
2401 "clientMethod": {
2402 "shortName": "ListPolicyTags",
2403 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListPolicyTags",
2404 "parameters": [
2405 {
2406 "type": "context.Context",
2407 "name": "ctx"
2408 },
2409 {
2410 "type": "datacatalogpb.ListPolicyTagsRequest",
2411 "name": "req"
2412 },
2413 {
2414 "type": "...gax.CallOption",
2415 "name": "opts"
2416 }
2417 ],
2418 "resultType": "PolicyTagIterator",
2419 "client": {
2420 "shortName": "PolicyTagManagerClient",
2421 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2422 },
2423 "method": {
2424 "shortName": "ListPolicyTags",
2425 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags",
2426 "service": {
2427 "shortName": "PolicyTagManager",
2428 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2429 }
2430 }
2431 },
2432 "origin": "API_DEFINITION",
2433 "segments": [
2434 {
2435 "start": 18,
2436 "end": 66,
2437 "type": "FULL"
2438 }
2439 ]
2440 },
2441 {
2442 "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListTaxonomies_sync",
2443 "title": "datacatalog ListTaxonomies Sample",
2444 "description": "ListTaxonomies lists all taxonomies in a project in a particular location that you\nhave a permission to view.",
2445 "file": "PolicyTagManagerClient/ListTaxonomies/main.go",
2446 "language": "GO",
2447 "clientMethod": {
2448 "shortName": "ListTaxonomies",
2449 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListTaxonomies",
2450 "parameters": [
2451 {
2452 "type": "context.Context",
2453 "name": "ctx"
2454 },
2455 {
2456 "type": "datacatalogpb.ListTaxonomiesRequest",
2457 "name": "req"
2458 },
2459 {
2460 "type": "...gax.CallOption",
2461 "name": "opts"
2462 }
2463 ],
2464 "resultType": "TaxonomyIterator",
2465 "client": {
2466 "shortName": "PolicyTagManagerClient",
2467 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2468 },
2469 "method": {
2470 "shortName": "ListTaxonomies",
2471 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies",
2472 "service": {
2473 "shortName": "PolicyTagManager",
2474 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2475 }
2476 }
2477 },
2478 "origin": "API_DEFINITION",
2479 "segments": [
2480 {
2481 "start": 18,
2482 "end": 66,
2483 "type": "FULL"
2484 }
2485 ]
2486 },
2487 {
2488 "regionTag": "datacatalog_v1_generated_PolicyTagManager_SetIamPolicy_sync",
2489 "title": "datacatalog SetIamPolicy Sample",
2490 "description": "SetIamPolicy sets the IAM policy for a policy tag or a taxonomy.",
2491 "file": "PolicyTagManagerClient/SetIamPolicy/main.go",
2492 "language": "GO",
2493 "clientMethod": {
2494 "shortName": "SetIamPolicy",
2495 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.SetIamPolicy",
2496 "parameters": [
2497 {
2498 "type": "context.Context",
2499 "name": "ctx"
2500 },
2501 {
2502 "type": "iampb.SetIamPolicyRequest",
2503 "name": "req"
2504 },
2505 {
2506 "type": "...gax.CallOption",
2507 "name": "opts"
2508 }
2509 ],
2510 "resultType": "*iampb.Policy",
2511 "client": {
2512 "shortName": "PolicyTagManagerClient",
2513 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2514 },
2515 "method": {
2516 "shortName": "SetIamPolicy",
2517 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicy",
2518 "service": {
2519 "shortName": "PolicyTagManager",
2520 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2521 }
2522 }
2523 },
2524 "origin": "API_DEFINITION",
2525 "segments": [
2526 {
2527 "start": 18,
2528 "end": 53,
2529 "type": "FULL"
2530 }
2531 ]
2532 },
2533 {
2534 "regionTag": "datacatalog_v1_generated_PolicyTagManager_TestIamPermissions_sync",
2535 "title": "datacatalog TestIamPermissions Sample",
2536 "description": "TestIamPermissions returns your permissions on a specified policy tag or\ntaxonomy.",
2537 "file": "PolicyTagManagerClient/TestIamPermissions/main.go",
2538 "language": "GO",
2539 "clientMethod": {
2540 "shortName": "TestIamPermissions",
2541 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.TestIamPermissions",
2542 "parameters": [
2543 {
2544 "type": "context.Context",
2545 "name": "ctx"
2546 },
2547 {
2548 "type": "iampb.TestIamPermissionsRequest",
2549 "name": "req"
2550 },
2551 {
2552 "type": "...gax.CallOption",
2553 "name": "opts"
2554 }
2555 ],
2556 "resultType": "*iampb.TestIamPermissionsResponse",
2557 "client": {
2558 "shortName": "PolicyTagManagerClient",
2559 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2560 },
2561 "method": {
2562 "shortName": "TestIamPermissions",
2563 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissions",
2564 "service": {
2565 "shortName": "PolicyTagManager",
2566 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2567 }
2568 }
2569 },
2570 "origin": "API_DEFINITION",
2571 "segments": [
2572 {
2573 "start": 18,
2574 "end": 53,
2575 "type": "FULL"
2576 }
2577 ]
2578 },
2579 {
2580 "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdatePolicyTag_sync",
2581 "title": "datacatalog UpdatePolicyTag Sample",
2582 "description": "UpdatePolicyTag updates a policy tag, including its display\nname, description, and parent policy tag.",
2583 "file": "PolicyTagManagerClient/UpdatePolicyTag/main.go",
2584 "language": "GO",
2585 "clientMethod": {
2586 "shortName": "UpdatePolicyTag",
2587 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.UpdatePolicyTag",
2588 "parameters": [
2589 {
2590 "type": "context.Context",
2591 "name": "ctx"
2592 },
2593 {
2594 "type": "datacatalogpb.UpdatePolicyTagRequest",
2595 "name": "req"
2596 },
2597 {
2598 "type": "...gax.CallOption",
2599 "name": "opts"
2600 }
2601 ],
2602 "resultType": "*datacatalogpb.PolicyTag",
2603 "client": {
2604 "shortName": "PolicyTagManagerClient",
2605 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2606 },
2607 "method": {
2608 "shortName": "UpdatePolicyTag",
2609 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag",
2610 "service": {
2611 "shortName": "PolicyTagManager",
2612 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2613 }
2614 }
2615 },
2616 "origin": "API_DEFINITION",
2617 "segments": [
2618 {
2619 "start": 18,
2620 "end": 53,
2621 "type": "FULL"
2622 }
2623 ]
2624 },
2625 {
2626 "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdateTaxonomy_sync",
2627 "title": "datacatalog UpdateTaxonomy Sample",
2628 "description": "UpdateTaxonomy updates a taxonomy, including its display name,\ndescription, and activated policy types.",
2629 "file": "PolicyTagManagerClient/UpdateTaxonomy/main.go",
2630 "language": "GO",
2631 "clientMethod": {
2632 "shortName": "UpdateTaxonomy",
2633 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.UpdateTaxonomy",
2634 "parameters": [
2635 {
2636 "type": "context.Context",
2637 "name": "ctx"
2638 },
2639 {
2640 "type": "datacatalogpb.UpdateTaxonomyRequest",
2641 "name": "req"
2642 },
2643 {
2644 "type": "...gax.CallOption",
2645 "name": "opts"
2646 }
2647 ],
2648 "resultType": "*datacatalogpb.Taxonomy",
2649 "client": {
2650 "shortName": "PolicyTagManagerClient",
2651 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient"
2652 },
2653 "method": {
2654 "shortName": "UpdateTaxonomy",
2655 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy",
2656 "service": {
2657 "shortName": "PolicyTagManager",
2658 "fullName": "google.cloud.datacatalog.v1.PolicyTagManager"
2659 }
2660 }
2661 },
2662 "origin": "API_DEFINITION",
2663 "segments": [
2664 {
2665 "start": 18,
2666 "end": 53,
2667 "type": "FULL"
2668 }
2669 ]
2670 },
2671 {
2672 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_CancelOperation_sync",
2673 "title": "datacatalog CancelOperation Sample",
2674 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
2675 "file": "PolicyTagManagerSerializationClient/CancelOperation/main.go",
2676 "language": "GO",
2677 "clientMethod": {
2678 "shortName": "CancelOperation",
2679 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.CancelOperation",
2680 "parameters": [
2681 {
2682 "type": "context.Context",
2683 "name": "ctx"
2684 },
2685 {
2686 "type": "longrunningpb.CancelOperationRequest",
2687 "name": "req"
2688 },
2689 {
2690 "type": "...gax.CallOption",
2691 "name": "opts"
2692 }
2693 ],
2694 "client": {
2695 "shortName": "PolicyTagManagerSerializationClient",
2696 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2697 },
2698 "method": {
2699 "shortName": "CancelOperation",
2700 "fullName": "google.longrunning.Operations.CancelOperation",
2701 "service": {
2702 "shortName": "Operations",
2703 "fullName": "google.longrunning.Operations"
2704 }
2705 }
2706 },
2707 "origin": "API_DEFINITION",
2708 "segments": [
2709 {
2710 "start": 18,
2711 "end": 51,
2712 "type": "FULL"
2713 }
2714 ]
2715 },
2716 {
2717 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_DeleteOperation_sync",
2718 "title": "datacatalog DeleteOperation Sample",
2719 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
2720 "file": "PolicyTagManagerSerializationClient/DeleteOperation/main.go",
2721 "language": "GO",
2722 "clientMethod": {
2723 "shortName": "DeleteOperation",
2724 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.DeleteOperation",
2725 "parameters": [
2726 {
2727 "type": "context.Context",
2728 "name": "ctx"
2729 },
2730 {
2731 "type": "longrunningpb.DeleteOperationRequest",
2732 "name": "req"
2733 },
2734 {
2735 "type": "...gax.CallOption",
2736 "name": "opts"
2737 }
2738 ],
2739 "client": {
2740 "shortName": "PolicyTagManagerSerializationClient",
2741 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2742 },
2743 "method": {
2744 "shortName": "DeleteOperation",
2745 "fullName": "google.longrunning.Operations.DeleteOperation",
2746 "service": {
2747 "shortName": "Operations",
2748 "fullName": "google.longrunning.Operations"
2749 }
2750 }
2751 },
2752 "origin": "API_DEFINITION",
2753 "segments": [
2754 {
2755 "start": 18,
2756 "end": 51,
2757 "type": "FULL"
2758 }
2759 ]
2760 },
2761 {
2762 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ExportTaxonomies_sync",
2763 "title": "datacatalog ExportTaxonomies Sample",
2764 "description": "ExportTaxonomies exports taxonomies in the requested type and returns them,\nincluding their policy tags. The requested taxonomies must belong to the\nsame project.\n\nThis method generates `SerializedTaxonomy` protocol buffers with nested\npolicy tags that can be used as input for `ImportTaxonomies` calls.",
2765 "file": "PolicyTagManagerSerializationClient/ExportTaxonomies/main.go",
2766 "language": "GO",
2767 "clientMethod": {
2768 "shortName": "ExportTaxonomies",
2769 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ExportTaxonomies",
2770 "parameters": [
2771 {
2772 "type": "context.Context",
2773 "name": "ctx"
2774 },
2775 {
2776 "type": "datacatalogpb.ExportTaxonomiesRequest",
2777 "name": "req"
2778 },
2779 {
2780 "type": "...gax.CallOption",
2781 "name": "opts"
2782 }
2783 ],
2784 "resultType": "*datacatalogpb.ExportTaxonomiesResponse",
2785 "client": {
2786 "shortName": "PolicyTagManagerSerializationClient",
2787 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2788 },
2789 "method": {
2790 "shortName": "ExportTaxonomies",
2791 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies",
2792 "service": {
2793 "shortName": "PolicyTagManagerSerialization",
2794 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization"
2795 }
2796 }
2797 },
2798 "origin": "API_DEFINITION",
2799 "segments": [
2800 {
2801 "start": 18,
2802 "end": 53,
2803 "type": "FULL"
2804 }
2805 ]
2806 },
2807 {
2808 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_GetOperation_sync",
2809 "title": "datacatalog GetOperation Sample",
2810 "description": "GetOperation is a utility method from google.longrunning.Operations.",
2811 "file": "PolicyTagManagerSerializationClient/GetOperation/main.go",
2812 "language": "GO",
2813 "clientMethod": {
2814 "shortName": "GetOperation",
2815 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.GetOperation",
2816 "parameters": [
2817 {
2818 "type": "context.Context",
2819 "name": "ctx"
2820 },
2821 {
2822 "type": "longrunningpb.GetOperationRequest",
2823 "name": "req"
2824 },
2825 {
2826 "type": "...gax.CallOption",
2827 "name": "opts"
2828 }
2829 ],
2830 "resultType": "*longrunningpb.Operation",
2831 "client": {
2832 "shortName": "PolicyTagManagerSerializationClient",
2833 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2834 },
2835 "method": {
2836 "shortName": "GetOperation",
2837 "fullName": "google.longrunning.Operations.GetOperation",
2838 "service": {
2839 "shortName": "Operations",
2840 "fullName": "google.longrunning.Operations"
2841 }
2842 }
2843 },
2844 "origin": "API_DEFINITION",
2845 "segments": [
2846 {
2847 "start": 18,
2848 "end": 53,
2849 "type": "FULL"
2850 }
2851 ]
2852 },
2853 {
2854 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ImportTaxonomies_sync",
2855 "title": "datacatalog ImportTaxonomies Sample",
2856 "description": "ImportTaxonomies creates new taxonomies (including their policy tags) in a given project\nby importing from inlined or cross-regional sources.\n\nFor a cross-regional source, new taxonomies are created by copying\nfrom a source in another region.\n\nFor an inlined source, taxonomies and policy tags are created in bulk using\nnested protocol buffer structures.",
2857 "file": "PolicyTagManagerSerializationClient/ImportTaxonomies/main.go",
2858 "language": "GO",
2859 "clientMethod": {
2860 "shortName": "ImportTaxonomies",
2861 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ImportTaxonomies",
2862 "parameters": [
2863 {
2864 "type": "context.Context",
2865 "name": "ctx"
2866 },
2867 {
2868 "type": "datacatalogpb.ImportTaxonomiesRequest",
2869 "name": "req"
2870 },
2871 {
2872 "type": "...gax.CallOption",
2873 "name": "opts"
2874 }
2875 ],
2876 "resultType": "*datacatalogpb.ImportTaxonomiesResponse",
2877 "client": {
2878 "shortName": "PolicyTagManagerSerializationClient",
2879 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2880 },
2881 "method": {
2882 "shortName": "ImportTaxonomies",
2883 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies",
2884 "service": {
2885 "shortName": "PolicyTagManagerSerialization",
2886 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization"
2887 }
2888 }
2889 },
2890 "origin": "API_DEFINITION",
2891 "segments": [
2892 {
2893 "start": 18,
2894 "end": 53,
2895 "type": "FULL"
2896 }
2897 ]
2898 },
2899 {
2900 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ListOperations_sync",
2901 "title": "datacatalog ListOperations Sample",
2902 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2903 "file": "PolicyTagManagerSerializationClient/ListOperations/main.go",
2904 "language": "GO",
2905 "clientMethod": {
2906 "shortName": "ListOperations",
2907 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ListOperations",
2908 "parameters": [
2909 {
2910 "type": "context.Context",
2911 "name": "ctx"
2912 },
2913 {
2914 "type": "longrunningpb.ListOperationsRequest",
2915 "name": "req"
2916 },
2917 {
2918 "type": "...gax.CallOption",
2919 "name": "opts"
2920 }
2921 ],
2922 "resultType": "OperationIterator",
2923 "client": {
2924 "shortName": "PolicyTagManagerSerializationClient",
2925 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2926 },
2927 "method": {
2928 "shortName": "ListOperations",
2929 "fullName": "google.longrunning.Operations.ListOperations",
2930 "service": {
2931 "shortName": "Operations",
2932 "fullName": "google.longrunning.Operations"
2933 }
2934 }
2935 },
2936 "origin": "API_DEFINITION",
2937 "segments": [
2938 {
2939 "start": 18,
2940 "end": 66,
2941 "type": "FULL"
2942 }
2943 ]
2944 },
2945 {
2946 "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ReplaceTaxonomy_sync",
2947 "title": "datacatalog ReplaceTaxonomy Sample",
2948 "description": "ReplaceTaxonomy replaces (updates) a taxonomy and all its policy tags.\n\nThe taxonomy and its entire hierarchy of policy tags must be\nrepresented literally by `SerializedTaxonomy` and the nested\n`SerializedPolicyTag` messages.\n\nThis operation automatically does the following: \n\n- Deletes the existing policy tags that are missing from the\n`SerializedPolicyTag`.\n- Creates policy tags that don't have resource names. They are considered\nnew.\n- Updates policy tags with valid resources names accordingly.",
2949 "file": "PolicyTagManagerSerializationClient/ReplaceTaxonomy/main.go",
2950 "language": "GO",
2951 "clientMethod": {
2952 "shortName": "ReplaceTaxonomy",
2953 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ReplaceTaxonomy",
2954 "parameters": [
2955 {
2956 "type": "context.Context",
2957 "name": "ctx"
2958 },
2959 {
2960 "type": "datacatalogpb.ReplaceTaxonomyRequest",
2961 "name": "req"
2962 },
2963 {
2964 "type": "...gax.CallOption",
2965 "name": "opts"
2966 }
2967 ],
2968 "resultType": "*datacatalogpb.Taxonomy",
2969 "client": {
2970 "shortName": "PolicyTagManagerSerializationClient",
2971 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient"
2972 },
2973 "method": {
2974 "shortName": "ReplaceTaxonomy",
2975 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy",
2976 "service": {
2977 "shortName": "PolicyTagManagerSerialization",
2978 "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization"
2979 }
2980 }
2981 },
2982 "origin": "API_DEFINITION",
2983 "segments": [
2984 {
2985 "start": 18,
2986 "end": 53,
2987 "type": "FULL"
2988 }
2989 ]
2990 }
2991 ]
2992 }