source: vendor/google/apiclient-services/src/DataCatalog.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 33.6 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for DataCatalog (v1).
24 *
25 * <p>
26 * A fully managed and highly scalable data discovery and metadata management
27 * service.</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/data-catalog/docs/" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class DataCatalog extends \Google\Service
37{
38 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
39 const CLOUD_PLATFORM =
40 "https://www.googleapis.com/auth/cloud-platform";
41
42 public $catalog;
43 public $entries;
44 public $organizations_locations;
45 public $projects_locations;
46 public $projects_locations_entryGroups;
47 public $projects_locations_entryGroups_entries;
48 public $projects_locations_entryGroups_entries_tags;
49 public $projects_locations_entryGroups_tags;
50 public $projects_locations_operations;
51 public $projects_locations_tagTemplates;
52 public $projects_locations_tagTemplates_fields;
53 public $projects_locations_tagTemplates_fields_enumValues;
54 public $projects_locations_taxonomies;
55 public $projects_locations_taxonomies_policyTags;
56 public $rootUrlTemplate;
57
58 /**
59 * Constructs the internal representation of the DataCatalog service.
60 *
61 * @param Client|array $clientOrConfig The client used to deliver requests, or a
62 * config array to pass to a new Client instance.
63 * @param string $rootUrl The root URL used for requests to the service.
64 */
65 public function __construct($clientOrConfig = [], $rootUrl = null)
66 {
67 parent::__construct($clientOrConfig);
68 $this->rootUrl = $rootUrl ?: 'https://datacatalog.googleapis.com/';
69 $this->rootUrlTemplate = $rootUrl ?: 'https://datacatalog.UNIVERSE_DOMAIN/';
70 $this->servicePath = '';
71 $this->batchPath = 'batch';
72 $this->version = 'v1';
73 $this->serviceName = 'datacatalog';
74
75 $this->catalog = new DataCatalog\Resource\Catalog(
76 $this,
77 $this->serviceName,
78 'catalog',
79 [
80 'methods' => [
81 'search' => [
82 'path' => 'v1/catalog:search',
83 'httpMethod' => 'POST',
84 'parameters' => [],
85 ],
86 ]
87 ]
88 );
89 $this->entries = new DataCatalog\Resource\Entries(
90 $this,
91 $this->serviceName,
92 'entries',
93 [
94 'methods' => [
95 'lookup' => [
96 'path' => 'v1/entries:lookup',
97 'httpMethod' => 'GET',
98 'parameters' => [
99 'fullyQualifiedName' => [
100 'location' => 'query',
101 'type' => 'string',
102 ],
103 'linkedResource' => [
104 'location' => 'query',
105 'type' => 'string',
106 ],
107 'location' => [
108 'location' => 'query',
109 'type' => 'string',
110 ],
111 'project' => [
112 'location' => 'query',
113 'type' => 'string',
114 ],
115 'sqlResource' => [
116 'location' => 'query',
117 'type' => 'string',
118 ],
119 ],
120 ],
121 ]
122 ]
123 );
124 $this->organizations_locations = new DataCatalog\Resource\OrganizationsLocations(
125 $this,
126 $this->serviceName,
127 'locations',
128 [
129 'methods' => [
130 'retrieveConfig' => [
131 'path' => 'v1/{+name}:retrieveConfig',
132 'httpMethod' => 'GET',
133 'parameters' => [
134 'name' => [
135 'location' => 'path',
136 'type' => 'string',
137 'required' => true,
138 ],
139 ],
140 ],'retrieveEffectiveConfig' => [
141 'path' => 'v1/{+name}:retrieveEffectiveConfig',
142 'httpMethod' => 'GET',
143 'parameters' => [
144 'name' => [
145 'location' => 'path',
146 'type' => 'string',
147 'required' => true,
148 ],
149 ],
150 ],'setConfig' => [
151 'path' => 'v1/{+name}:setConfig',
152 'httpMethod' => 'POST',
153 'parameters' => [
154 'name' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 ],
160 ],
161 ]
162 ]
163 );
164 $this->projects_locations = new DataCatalog\Resource\ProjectsLocations(
165 $this,
166 $this->serviceName,
167 'locations',
168 [
169 'methods' => [
170 'retrieveEffectiveConfig' => [
171 'path' => 'v1/{+name}:retrieveEffectiveConfig',
172 'httpMethod' => 'GET',
173 'parameters' => [
174 'name' => [
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ],
179 ],
180 ],'setConfig' => [
181 'path' => 'v1/{+name}:setConfig',
182 'httpMethod' => 'POST',
183 'parameters' => [
184 'name' => [
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ],
189 ],
190 ],
191 ]
192 ]
193 );
194 $this->projects_locations_entryGroups = new DataCatalog\Resource\ProjectsLocationsEntryGroups(
195 $this,
196 $this->serviceName,
197 'entryGroups',
198 [
199 'methods' => [
200 'create' => [
201 'path' => 'v1/{+parent}/entryGroups',
202 'httpMethod' => 'POST',
203 'parameters' => [
204 'parent' => [
205 'location' => 'path',
206 'type' => 'string',
207 'required' => true,
208 ],
209 'entryGroupId' => [
210 'location' => 'query',
211 'type' => 'string',
212 ],
213 ],
214 ],'delete' => [
215 'path' => 'v1/{+name}',
216 'httpMethod' => 'DELETE',
217 'parameters' => [
218 'name' => [
219 'location' => 'path',
220 'type' => 'string',
221 'required' => true,
222 ],
223 'force' => [
224 'location' => 'query',
225 'type' => 'boolean',
226 ],
227 ],
228 ],'get' => [
229 'path' => 'v1/{+name}',
230 'httpMethod' => 'GET',
231 'parameters' => [
232 'name' => [
233 'location' => 'path',
234 'type' => 'string',
235 'required' => true,
236 ],
237 'readMask' => [
238 'location' => 'query',
239 'type' => 'string',
240 ],
241 ],
242 ],'getIamPolicy' => [
243 'path' => 'v1/{+resource}:getIamPolicy',
244 'httpMethod' => 'POST',
245 'parameters' => [
246 'resource' => [
247 'location' => 'path',
248 'type' => 'string',
249 'required' => true,
250 ],
251 ],
252 ],'list' => [
253 'path' => 'v1/{+parent}/entryGroups',
254 'httpMethod' => 'GET',
255 'parameters' => [
256 'parent' => [
257 'location' => 'path',
258 'type' => 'string',
259 'required' => true,
260 ],
261 'pageSize' => [
262 'location' => 'query',
263 'type' => 'integer',
264 ],
265 'pageToken' => [
266 'location' => 'query',
267 'type' => 'string',
268 ],
269 ],
270 ],'patch' => [
271 'path' => 'v1/{+name}',
272 'httpMethod' => 'PATCH',
273 'parameters' => [
274 'name' => [
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ],
279 'updateMask' => [
280 'location' => 'query',
281 'type' => 'string',
282 ],
283 ],
284 ],'setIamPolicy' => [
285 'path' => 'v1/{+resource}:setIamPolicy',
286 'httpMethod' => 'POST',
287 'parameters' => [
288 'resource' => [
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ],
293 ],
294 ],'testIamPermissions' => [
295 'path' => 'v1/{+resource}:testIamPermissions',
296 'httpMethod' => 'POST',
297 'parameters' => [
298 'resource' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 ],
304 ],
305 ]
306 ]
307 );
308 $this->projects_locations_entryGroups_entries = new DataCatalog\Resource\ProjectsLocationsEntryGroupsEntries(
309 $this,
310 $this->serviceName,
311 'entries',
312 [
313 'methods' => [
314 'create' => [
315 'path' => 'v1/{+parent}/entries',
316 'httpMethod' => 'POST',
317 'parameters' => [
318 'parent' => [
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ],
323 'entryId' => [
324 'location' => 'query',
325 'type' => 'string',
326 ],
327 ],
328 ],'delete' => [
329 'path' => 'v1/{+name}',
330 'httpMethod' => 'DELETE',
331 'parameters' => [
332 'name' => [
333 'location' => 'path',
334 'type' => 'string',
335 'required' => true,
336 ],
337 ],
338 ],'get' => [
339 'path' => 'v1/{+name}',
340 'httpMethod' => 'GET',
341 'parameters' => [
342 'name' => [
343 'location' => 'path',
344 'type' => 'string',
345 'required' => true,
346 ],
347 ],
348 ],'getIamPolicy' => [
349 'path' => 'v1/{+resource}:getIamPolicy',
350 'httpMethod' => 'POST',
351 'parameters' => [
352 'resource' => [
353 'location' => 'path',
354 'type' => 'string',
355 'required' => true,
356 ],
357 ],
358 ],'import' => [
359 'path' => 'v1/{+parent}/entries:import',
360 'httpMethod' => 'POST',
361 'parameters' => [
362 'parent' => [
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ],
367 ],
368 ],'list' => [
369 'path' => 'v1/{+parent}/entries',
370 'httpMethod' => 'GET',
371 'parameters' => [
372 'parent' => [
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ],
377 'pageSize' => [
378 'location' => 'query',
379 'type' => 'integer',
380 ],
381 'pageToken' => [
382 'location' => 'query',
383 'type' => 'string',
384 ],
385 'readMask' => [
386 'location' => 'query',
387 'type' => 'string',
388 ],
389 ],
390 ],'modifyEntryContacts' => [
391 'path' => 'v1/{+name}:modifyEntryContacts',
392 'httpMethod' => 'POST',
393 'parameters' => [
394 'name' => [
395 'location' => 'path',
396 'type' => 'string',
397 'required' => true,
398 ],
399 ],
400 ],'modifyEntryOverview' => [
401 'path' => 'v1/{+name}:modifyEntryOverview',
402 'httpMethod' => 'POST',
403 'parameters' => [
404 'name' => [
405 'location' => 'path',
406 'type' => 'string',
407 'required' => true,
408 ],
409 ],
410 ],'patch' => [
411 'path' => 'v1/{+name}',
412 'httpMethod' => 'PATCH',
413 'parameters' => [
414 'name' => [
415 'location' => 'path',
416 'type' => 'string',
417 'required' => true,
418 ],
419 'updateMask' => [
420 'location' => 'query',
421 'type' => 'string',
422 ],
423 ],
424 ],'star' => [
425 'path' => 'v1/{+name}:star',
426 'httpMethod' => 'POST',
427 'parameters' => [
428 'name' => [
429 'location' => 'path',
430 'type' => 'string',
431 'required' => true,
432 ],
433 ],
434 ],'testIamPermissions' => [
435 'path' => 'v1/{+resource}:testIamPermissions',
436 'httpMethod' => 'POST',
437 'parameters' => [
438 'resource' => [
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ],
443 ],
444 ],'unstar' => [
445 'path' => 'v1/{+name}:unstar',
446 'httpMethod' => 'POST',
447 'parameters' => [
448 'name' => [
449 'location' => 'path',
450 'type' => 'string',
451 'required' => true,
452 ],
453 ],
454 ],
455 ]
456 ]
457 );
458 $this->projects_locations_entryGroups_entries_tags = new DataCatalog\Resource\ProjectsLocationsEntryGroupsEntriesTags(
459 $this,
460 $this->serviceName,
461 'tags',
462 [
463 'methods' => [
464 'create' => [
465 'path' => 'v1/{+parent}/tags',
466 'httpMethod' => 'POST',
467 'parameters' => [
468 'parent' => [
469 'location' => 'path',
470 'type' => 'string',
471 'required' => true,
472 ],
473 ],
474 ],'delete' => [
475 'path' => 'v1/{+name}',
476 'httpMethod' => 'DELETE',
477 'parameters' => [
478 'name' => [
479 'location' => 'path',
480 'type' => 'string',
481 'required' => true,
482 ],
483 ],
484 ],'list' => [
485 'path' => 'v1/{+parent}/tags',
486 'httpMethod' => 'GET',
487 'parameters' => [
488 'parent' => [
489 'location' => 'path',
490 'type' => 'string',
491 'required' => true,
492 ],
493 'pageSize' => [
494 'location' => 'query',
495 'type' => 'integer',
496 ],
497 'pageToken' => [
498 'location' => 'query',
499 'type' => 'string',
500 ],
501 ],
502 ],'patch' => [
503 'path' => 'v1/{+name}',
504 'httpMethod' => 'PATCH',
505 'parameters' => [
506 'name' => [
507 'location' => 'path',
508 'type' => 'string',
509 'required' => true,
510 ],
511 'updateMask' => [
512 'location' => 'query',
513 'type' => 'string',
514 ],
515 ],
516 ],'reconcile' => [
517 'path' => 'v1/{+parent}/tags:reconcile',
518 'httpMethod' => 'POST',
519 'parameters' => [
520 'parent' => [
521 'location' => 'path',
522 'type' => 'string',
523 'required' => true,
524 ],
525 ],
526 ],
527 ]
528 ]
529 );
530 $this->projects_locations_entryGroups_tags = new DataCatalog\Resource\ProjectsLocationsEntryGroupsTags(
531 $this,
532 $this->serviceName,
533 'tags',
534 [
535 'methods' => [
536 'create' => [
537 'path' => 'v1/{+parent}/tags',
538 'httpMethod' => 'POST',
539 'parameters' => [
540 'parent' => [
541 'location' => 'path',
542 'type' => 'string',
543 'required' => true,
544 ],
545 ],
546 ],'delete' => [
547 'path' => 'v1/{+name}',
548 'httpMethod' => 'DELETE',
549 'parameters' => [
550 'name' => [
551 'location' => 'path',
552 'type' => 'string',
553 'required' => true,
554 ],
555 ],
556 ],'list' => [
557 'path' => 'v1/{+parent}/tags',
558 'httpMethod' => 'GET',
559 'parameters' => [
560 'parent' => [
561 'location' => 'path',
562 'type' => 'string',
563 'required' => true,
564 ],
565 'pageSize' => [
566 'location' => 'query',
567 'type' => 'integer',
568 ],
569 'pageToken' => [
570 'location' => 'query',
571 'type' => 'string',
572 ],
573 ],
574 ],'patch' => [
575 'path' => 'v1/{+name}',
576 'httpMethod' => 'PATCH',
577 'parameters' => [
578 'name' => [
579 'location' => 'path',
580 'type' => 'string',
581 'required' => true,
582 ],
583 'updateMask' => [
584 'location' => 'query',
585 'type' => 'string',
586 ],
587 ],
588 ],
589 ]
590 ]
591 );
592 $this->projects_locations_operations = new DataCatalog\Resource\ProjectsLocationsOperations(
593 $this,
594 $this->serviceName,
595 'operations',
596 [
597 'methods' => [
598 'cancel' => [
599 'path' => 'v1/{+name}:cancel',
600 'httpMethod' => 'POST',
601 'parameters' => [
602 'name' => [
603 'location' => 'path',
604 'type' => 'string',
605 'required' => true,
606 ],
607 ],
608 ],'delete' => [
609 'path' => 'v1/{+name}',
610 'httpMethod' => 'DELETE',
611 'parameters' => [
612 'name' => [
613 'location' => 'path',
614 'type' => 'string',
615 'required' => true,
616 ],
617 ],
618 ],'get' => [
619 'path' => 'v1/{+name}',
620 'httpMethod' => 'GET',
621 'parameters' => [
622 'name' => [
623 'location' => 'path',
624 'type' => 'string',
625 'required' => true,
626 ],
627 ],
628 ],'list' => [
629 'path' => 'v1/{+name}/operations',
630 'httpMethod' => 'GET',
631 'parameters' => [
632 'name' => [
633 'location' => 'path',
634 'type' => 'string',
635 'required' => true,
636 ],
637 'filter' => [
638 'location' => 'query',
639 'type' => 'string',
640 ],
641 'pageSize' => [
642 'location' => 'query',
643 'type' => 'integer',
644 ],
645 'pageToken' => [
646 'location' => 'query',
647 'type' => 'string',
648 ],
649 ],
650 ],
651 ]
652 ]
653 );
654 $this->projects_locations_tagTemplates = new DataCatalog\Resource\ProjectsLocationsTagTemplates(
655 $this,
656 $this->serviceName,
657 'tagTemplates',
658 [
659 'methods' => [
660 'create' => [
661 'path' => 'v1/{+parent}/tagTemplates',
662 'httpMethod' => 'POST',
663 'parameters' => [
664 'parent' => [
665 'location' => 'path',
666 'type' => 'string',
667 'required' => true,
668 ],
669 'tagTemplateId' => [
670 'location' => 'query',
671 'type' => 'string',
672 ],
673 ],
674 ],'delete' => [
675 'path' => 'v1/{+name}',
676 'httpMethod' => 'DELETE',
677 'parameters' => [
678 'name' => [
679 'location' => 'path',
680 'type' => 'string',
681 'required' => true,
682 ],
683 'force' => [
684 'location' => 'query',
685 'type' => 'boolean',
686 ],
687 ],
688 ],'get' => [
689 'path' => 'v1/{+name}',
690 'httpMethod' => 'GET',
691 'parameters' => [
692 'name' => [
693 'location' => 'path',
694 'type' => 'string',
695 'required' => true,
696 ],
697 ],
698 ],'getIamPolicy' => [
699 'path' => 'v1/{+resource}:getIamPolicy',
700 'httpMethod' => 'POST',
701 'parameters' => [
702 'resource' => [
703 'location' => 'path',
704 'type' => 'string',
705 'required' => true,
706 ],
707 ],
708 ],'patch' => [
709 'path' => 'v1/{+name}',
710 'httpMethod' => 'PATCH',
711 'parameters' => [
712 'name' => [
713 'location' => 'path',
714 'type' => 'string',
715 'required' => true,
716 ],
717 'updateMask' => [
718 'location' => 'query',
719 'type' => 'string',
720 ],
721 ],
722 ],'setIamPolicy' => [
723 'path' => 'v1/{+resource}:setIamPolicy',
724 'httpMethod' => 'POST',
725 'parameters' => [
726 'resource' => [
727 'location' => 'path',
728 'type' => 'string',
729 'required' => true,
730 ],
731 ],
732 ],'testIamPermissions' => [
733 'path' => 'v1/{+resource}:testIamPermissions',
734 'httpMethod' => 'POST',
735 'parameters' => [
736 'resource' => [
737 'location' => 'path',
738 'type' => 'string',
739 'required' => true,
740 ],
741 ],
742 ],
743 ]
744 ]
745 );
746 $this->projects_locations_tagTemplates_fields = new DataCatalog\Resource\ProjectsLocationsTagTemplatesFields(
747 $this,
748 $this->serviceName,
749 'fields',
750 [
751 'methods' => [
752 'create' => [
753 'path' => 'v1/{+parent}/fields',
754 'httpMethod' => 'POST',
755 'parameters' => [
756 'parent' => [
757 'location' => 'path',
758 'type' => 'string',
759 'required' => true,
760 ],
761 'tagTemplateFieldId' => [
762 'location' => 'query',
763 'type' => 'string',
764 ],
765 ],
766 ],'delete' => [
767 'path' => 'v1/{+name}',
768 'httpMethod' => 'DELETE',
769 'parameters' => [
770 'name' => [
771 'location' => 'path',
772 'type' => 'string',
773 'required' => true,
774 ],
775 'force' => [
776 'location' => 'query',
777 'type' => 'boolean',
778 ],
779 ],
780 ],'patch' => [
781 'path' => 'v1/{+name}',
782 'httpMethod' => 'PATCH',
783 'parameters' => [
784 'name' => [
785 'location' => 'path',
786 'type' => 'string',
787 'required' => true,
788 ],
789 'updateMask' => [
790 'location' => 'query',
791 'type' => 'string',
792 ],
793 ],
794 ],'rename' => [
795 'path' => 'v1/{+name}:rename',
796 'httpMethod' => 'POST',
797 'parameters' => [
798 'name' => [
799 'location' => 'path',
800 'type' => 'string',
801 'required' => true,
802 ],
803 ],
804 ],
805 ]
806 ]
807 );
808 $this->projects_locations_tagTemplates_fields_enumValues = new DataCatalog\Resource\ProjectsLocationsTagTemplatesFieldsEnumValues(
809 $this,
810 $this->serviceName,
811 'enumValues',
812 [
813 'methods' => [
814 'rename' => [
815 'path' => 'v1/{+name}:rename',
816 'httpMethod' => 'POST',
817 'parameters' => [
818 'name' => [
819 'location' => 'path',
820 'type' => 'string',
821 'required' => true,
822 ],
823 ],
824 ],
825 ]
826 ]
827 );
828 $this->projects_locations_taxonomies = new DataCatalog\Resource\ProjectsLocationsTaxonomies(
829 $this,
830 $this->serviceName,
831 'taxonomies',
832 [
833 'methods' => [
834 'create' => [
835 'path' => 'v1/{+parent}/taxonomies',
836 'httpMethod' => 'POST',
837 'parameters' => [
838 'parent' => [
839 'location' => 'path',
840 'type' => 'string',
841 'required' => true,
842 ],
843 ],
844 ],'delete' => [
845 'path' => 'v1/{+name}',
846 'httpMethod' => 'DELETE',
847 'parameters' => [
848 'name' => [
849 'location' => 'path',
850 'type' => 'string',
851 'required' => true,
852 ],
853 ],
854 ],'export' => [
855 'path' => 'v1/{+parent}/taxonomies:export',
856 'httpMethod' => 'GET',
857 'parameters' => [
858 'parent' => [
859 'location' => 'path',
860 'type' => 'string',
861 'required' => true,
862 ],
863 'serializedTaxonomies' => [
864 'location' => 'query',
865 'type' => 'boolean',
866 ],
867 'taxonomies' => [
868 'location' => 'query',
869 'type' => 'string',
870 'repeated' => true,
871 ],
872 ],
873 ],'get' => [
874 'path' => 'v1/{+name}',
875 'httpMethod' => 'GET',
876 'parameters' => [
877 'name' => [
878 'location' => 'path',
879 'type' => 'string',
880 'required' => true,
881 ],
882 ],
883 ],'getIamPolicy' => [
884 'path' => 'v1/{+resource}:getIamPolicy',
885 'httpMethod' => 'POST',
886 'parameters' => [
887 'resource' => [
888 'location' => 'path',
889 'type' => 'string',
890 'required' => true,
891 ],
892 ],
893 ],'import' => [
894 'path' => 'v1/{+parent}/taxonomies:import',
895 'httpMethod' => 'POST',
896 'parameters' => [
897 'parent' => [
898 'location' => 'path',
899 'type' => 'string',
900 'required' => true,
901 ],
902 ],
903 ],'list' => [
904 'path' => 'v1/{+parent}/taxonomies',
905 'httpMethod' => 'GET',
906 'parameters' => [
907 'parent' => [
908 'location' => 'path',
909 'type' => 'string',
910 'required' => true,
911 ],
912 'filter' => [
913 'location' => 'query',
914 'type' => 'string',
915 ],
916 'pageSize' => [
917 'location' => 'query',
918 'type' => 'integer',
919 ],
920 'pageToken' => [
921 'location' => 'query',
922 'type' => 'string',
923 ],
924 ],
925 ],'patch' => [
926 'path' => 'v1/{+name}',
927 'httpMethod' => 'PATCH',
928 'parameters' => [
929 'name' => [
930 'location' => 'path',
931 'type' => 'string',
932 'required' => true,
933 ],
934 'updateMask' => [
935 'location' => 'query',
936 'type' => 'string',
937 ],
938 ],
939 ],'replace' => [
940 'path' => 'v1/{+name}:replace',
941 'httpMethod' => 'POST',
942 'parameters' => [
943 'name' => [
944 'location' => 'path',
945 'type' => 'string',
946 'required' => true,
947 ],
948 ],
949 ],'setIamPolicy' => [
950 'path' => 'v1/{+resource}:setIamPolicy',
951 'httpMethod' => 'POST',
952 'parameters' => [
953 'resource' => [
954 'location' => 'path',
955 'type' => 'string',
956 'required' => true,
957 ],
958 ],
959 ],'testIamPermissions' => [
960 'path' => 'v1/{+resource}:testIamPermissions',
961 'httpMethod' => 'POST',
962 'parameters' => [
963 'resource' => [
964 'location' => 'path',
965 'type' => 'string',
966 'required' => true,
967 ],
968 ],
969 ],
970 ]
971 ]
972 );
973 $this->projects_locations_taxonomies_policyTags = new DataCatalog\Resource\ProjectsLocationsTaxonomiesPolicyTags(
974 $this,
975 $this->serviceName,
976 'policyTags',
977 [
978 'methods' => [
979 'create' => [
980 'path' => 'v1/{+parent}/policyTags',
981 'httpMethod' => 'POST',
982 'parameters' => [
983 'parent' => [
984 'location' => 'path',
985 'type' => 'string',
986 'required' => true,
987 ],
988 ],
989 ],'delete' => [
990 'path' => 'v1/{+name}',
991 'httpMethod' => 'DELETE',
992 'parameters' => [
993 'name' => [
994 'location' => 'path',
995 'type' => 'string',
996 'required' => true,
997 ],
998 ],
999 ],'get' => [
1000 'path' => 'v1/{+name}',
1001 'httpMethod' => 'GET',
1002 'parameters' => [
1003 'name' => [
1004 'location' => 'path',
1005 'type' => 'string',
1006 'required' => true,
1007 ],
1008 ],
1009 ],'getIamPolicy' => [
1010 'path' => 'v1/{+resource}:getIamPolicy',
1011 'httpMethod' => 'POST',
1012 'parameters' => [
1013 'resource' => [
1014 'location' => 'path',
1015 'type' => 'string',
1016 'required' => true,
1017 ],
1018 ],
1019 ],'list' => [
1020 'path' => 'v1/{+parent}/policyTags',
1021 'httpMethod' => 'GET',
1022 'parameters' => [
1023 'parent' => [
1024 'location' => 'path',
1025 'type' => 'string',
1026 'required' => true,
1027 ],
1028 'pageSize' => [
1029 'location' => 'query',
1030 'type' => 'integer',
1031 ],
1032 'pageToken' => [
1033 'location' => 'query',
1034 'type' => 'string',
1035 ],
1036 ],
1037 ],'patch' => [
1038 'path' => 'v1/{+name}',
1039 'httpMethod' => 'PATCH',
1040 'parameters' => [
1041 'name' => [
1042 'location' => 'path',
1043 'type' => 'string',
1044 'required' => true,
1045 ],
1046 'updateMask' => [
1047 'location' => 'query',
1048 'type' => 'string',
1049 ],
1050 ],
1051 ],'setIamPolicy' => [
1052 'path' => 'v1/{+resource}:setIamPolicy',
1053 'httpMethod' => 'POST',
1054 'parameters' => [
1055 'resource' => [
1056 'location' => 'path',
1057 'type' => 'string',
1058 'required' => true,
1059 ],
1060 ],
1061 ],'testIamPermissions' => [
1062 'path' => 'v1/{+resource}:testIamPermissions',
1063 'httpMethod' => 'POST',
1064 'parameters' => [
1065 'resource' => [
1066 'location' => 'path',
1067 'type' => 'string',
1068 'required' => true,
1069 ],
1070 ],
1071 ],
1072 ]
1073 ]
1074 );
1075 }
1076}
1077
1078// Adding a class alias for backwards compatibility with the previous class name.
1079class_alias(DataCatalog::class, 'Google_Service_DataCatalog');
Note: See TracBrowser for help on using the repository browser.