source: vendor/google/apiclient-services/src/DLP.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: 75.1 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 DLP (v2).
24 *
25 * <p>
26 * Discover and protect your sensitive data. A fully managed service designed to
27 * help you discover, classify, and protect your valuable data assets with ease.</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/sensitive-data-protection/docs/" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class DLP 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 $infoTypes;
43 public $locations_infoTypes;
44 public $organizations_deidentifyTemplates;
45 public $organizations_inspectTemplates;
46 public $organizations_locations_columnDataProfiles;
47 public $organizations_locations_connections;
48 public $organizations_locations_deidentifyTemplates;
49 public $organizations_locations_discoveryConfigs;
50 public $organizations_locations_dlpJobs;
51 public $organizations_locations_fileStoreDataProfiles;
52 public $organizations_locations_inspectTemplates;
53 public $organizations_locations_jobTriggers;
54 public $organizations_locations_projectDataProfiles;
55 public $organizations_locations_storedInfoTypes;
56 public $organizations_locations_tableDataProfiles;
57 public $organizations_storedInfoTypes;
58 public $projects_content;
59 public $projects_deidentifyTemplates;
60 public $projects_dlpJobs;
61 public $projects_image;
62 public $projects_inspectTemplates;
63 public $projects_jobTriggers;
64 public $projects_locations_columnDataProfiles;
65 public $projects_locations_connections;
66 public $projects_locations_content;
67 public $projects_locations_deidentifyTemplates;
68 public $projects_locations_discoveryConfigs;
69 public $projects_locations_dlpJobs;
70 public $projects_locations_fileStoreDataProfiles;
71 public $projects_locations_image;
72 public $projects_locations_inspectTemplates;
73 public $projects_locations_jobTriggers;
74 public $projects_locations_projectDataProfiles;
75 public $projects_locations_storedInfoTypes;
76 public $projects_locations_tableDataProfiles;
77 public $projects_storedInfoTypes;
78 public $rootUrlTemplate;
79
80 /**
81 * Constructs the internal representation of the DLP service.
82 *
83 * @param Client|array $clientOrConfig The client used to deliver requests, or a
84 * config array to pass to a new Client instance.
85 * @param string $rootUrl The root URL used for requests to the service.
86 */
87 public function __construct($clientOrConfig = [], $rootUrl = null)
88 {
89 parent::__construct($clientOrConfig);
90 $this->rootUrl = $rootUrl ?: 'https://dlp.googleapis.com/';
91 $this->rootUrlTemplate = $rootUrl ?: 'https://dlp.UNIVERSE_DOMAIN/';
92 $this->servicePath = '';
93 $this->batchPath = 'batch';
94 $this->version = 'v2';
95 $this->serviceName = 'dlp';
96
97 $this->infoTypes = new DLP\Resource\InfoTypes(
98 $this,
99 $this->serviceName,
100 'infoTypes',
101 [
102 'methods' => [
103 'list' => [
104 'path' => 'v2/infoTypes',
105 'httpMethod' => 'GET',
106 'parameters' => [
107 'filter' => [
108 'location' => 'query',
109 'type' => 'string',
110 ],
111 'languageCode' => [
112 'location' => 'query',
113 'type' => 'string',
114 ],
115 'locationId' => [
116 'location' => 'query',
117 'type' => 'string',
118 ],
119 'parent' => [
120 'location' => 'query',
121 'type' => 'string',
122 ],
123 ],
124 ],
125 ]
126 ]
127 );
128 $this->locations_infoTypes = new DLP\Resource\LocationsInfoTypes(
129 $this,
130 $this->serviceName,
131 'infoTypes',
132 [
133 'methods' => [
134 'list' => [
135 'path' => 'v2/{+parent}/infoTypes',
136 'httpMethod' => 'GET',
137 'parameters' => [
138 'parent' => [
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ],
143 'filter' => [
144 'location' => 'query',
145 'type' => 'string',
146 ],
147 'languageCode' => [
148 'location' => 'query',
149 'type' => 'string',
150 ],
151 'locationId' => [
152 'location' => 'query',
153 'type' => 'string',
154 ],
155 ],
156 ],
157 ]
158 ]
159 );
160 $this->organizations_deidentifyTemplates = new DLP\Resource\OrganizationsDeidentifyTemplates(
161 $this,
162 $this->serviceName,
163 'deidentifyTemplates',
164 [
165 'methods' => [
166 'create' => [
167 'path' => 'v2/{+parent}/deidentifyTemplates',
168 'httpMethod' => 'POST',
169 'parameters' => [
170 'parent' => [
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ],
175 ],
176 ],'delete' => [
177 'path' => 'v2/{+name}',
178 'httpMethod' => 'DELETE',
179 'parameters' => [
180 'name' => [
181 'location' => 'path',
182 'type' => 'string',
183 'required' => true,
184 ],
185 ],
186 ],'get' => [
187 'path' => 'v2/{+name}',
188 'httpMethod' => 'GET',
189 'parameters' => [
190 'name' => [
191 'location' => 'path',
192 'type' => 'string',
193 'required' => true,
194 ],
195 ],
196 ],'list' => [
197 'path' => 'v2/{+parent}/deidentifyTemplates',
198 'httpMethod' => 'GET',
199 'parameters' => [
200 'parent' => [
201 'location' => 'path',
202 'type' => 'string',
203 'required' => true,
204 ],
205 'locationId' => [
206 'location' => 'query',
207 'type' => 'string',
208 ],
209 'orderBy' => [
210 'location' => 'query',
211 'type' => 'string',
212 ],
213 'pageSize' => [
214 'location' => 'query',
215 'type' => 'integer',
216 ],
217 'pageToken' => [
218 'location' => 'query',
219 'type' => 'string',
220 ],
221 ],
222 ],'patch' => [
223 'path' => 'v2/{+name}',
224 'httpMethod' => 'PATCH',
225 'parameters' => [
226 'name' => [
227 'location' => 'path',
228 'type' => 'string',
229 'required' => true,
230 ],
231 ],
232 ],
233 ]
234 ]
235 );
236 $this->organizations_inspectTemplates = new DLP\Resource\OrganizationsInspectTemplates(
237 $this,
238 $this->serviceName,
239 'inspectTemplates',
240 [
241 'methods' => [
242 'create' => [
243 'path' => 'v2/{+parent}/inspectTemplates',
244 'httpMethod' => 'POST',
245 'parameters' => [
246 'parent' => [
247 'location' => 'path',
248 'type' => 'string',
249 'required' => true,
250 ],
251 ],
252 ],'delete' => [
253 'path' => 'v2/{+name}',
254 'httpMethod' => 'DELETE',
255 'parameters' => [
256 'name' => [
257 'location' => 'path',
258 'type' => 'string',
259 'required' => true,
260 ],
261 ],
262 ],'get' => [
263 'path' => 'v2/{+name}',
264 'httpMethod' => 'GET',
265 'parameters' => [
266 'name' => [
267 'location' => 'path',
268 'type' => 'string',
269 'required' => true,
270 ],
271 ],
272 ],'list' => [
273 'path' => 'v2/{+parent}/inspectTemplates',
274 'httpMethod' => 'GET',
275 'parameters' => [
276 'parent' => [
277 'location' => 'path',
278 'type' => 'string',
279 'required' => true,
280 ],
281 'locationId' => [
282 'location' => 'query',
283 'type' => 'string',
284 ],
285 'orderBy' => [
286 'location' => 'query',
287 'type' => 'string',
288 ],
289 'pageSize' => [
290 'location' => 'query',
291 'type' => 'integer',
292 ],
293 'pageToken' => [
294 'location' => 'query',
295 'type' => 'string',
296 ],
297 ],
298 ],'patch' => [
299 'path' => 'v2/{+name}',
300 'httpMethod' => 'PATCH',
301 'parameters' => [
302 'name' => [
303 'location' => 'path',
304 'type' => 'string',
305 'required' => true,
306 ],
307 ],
308 ],
309 ]
310 ]
311 );
312 $this->organizations_locations_columnDataProfiles = new DLP\Resource\OrganizationsLocationsColumnDataProfiles(
313 $this,
314 $this->serviceName,
315 'columnDataProfiles',
316 [
317 'methods' => [
318 'get' => [
319 'path' => 'v2/{+name}',
320 'httpMethod' => 'GET',
321 'parameters' => [
322 'name' => [
323 'location' => 'path',
324 'type' => 'string',
325 'required' => true,
326 ],
327 ],
328 ],'list' => [
329 'path' => 'v2/{+parent}/columnDataProfiles',
330 'httpMethod' => 'GET',
331 'parameters' => [
332 'parent' => [
333 'location' => 'path',
334 'type' => 'string',
335 'required' => true,
336 ],
337 'filter' => [
338 'location' => 'query',
339 'type' => 'string',
340 ],
341 'orderBy' => [
342 'location' => 'query',
343 'type' => 'string',
344 ],
345 'pageSize' => [
346 'location' => 'query',
347 'type' => 'integer',
348 ],
349 'pageToken' => [
350 'location' => 'query',
351 'type' => 'string',
352 ],
353 ],
354 ],
355 ]
356 ]
357 );
358 $this->organizations_locations_connections = new DLP\Resource\OrganizationsLocationsConnections(
359 $this,
360 $this->serviceName,
361 'connections',
362 [
363 'methods' => [
364 'create' => [
365 'path' => 'v2/{+parent}/connections',
366 'httpMethod' => 'POST',
367 'parameters' => [
368 'parent' => [
369 'location' => 'path',
370 'type' => 'string',
371 'required' => true,
372 ],
373 ],
374 ],'delete' => [
375 'path' => 'v2/{+name}',
376 'httpMethod' => 'DELETE',
377 'parameters' => [
378 'name' => [
379 'location' => 'path',
380 'type' => 'string',
381 'required' => true,
382 ],
383 ],
384 ],'get' => [
385 'path' => 'v2/{+name}',
386 'httpMethod' => 'GET',
387 'parameters' => [
388 'name' => [
389 'location' => 'path',
390 'type' => 'string',
391 'required' => true,
392 ],
393 ],
394 ],'list' => [
395 'path' => 'v2/{+parent}/connections',
396 'httpMethod' => 'GET',
397 'parameters' => [
398 'parent' => [
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ],
403 'filter' => [
404 'location' => 'query',
405 'type' => 'string',
406 ],
407 'pageSize' => [
408 'location' => 'query',
409 'type' => 'integer',
410 ],
411 'pageToken' => [
412 'location' => 'query',
413 'type' => 'string',
414 ],
415 ],
416 ],'patch' => [
417 'path' => 'v2/{+name}',
418 'httpMethod' => 'PATCH',
419 'parameters' => [
420 'name' => [
421 'location' => 'path',
422 'type' => 'string',
423 'required' => true,
424 ],
425 ],
426 ],'search' => [
427 'path' => 'v2/{+parent}/connections:search',
428 'httpMethod' => 'GET',
429 'parameters' => [
430 'parent' => [
431 'location' => 'path',
432 'type' => 'string',
433 'required' => true,
434 ],
435 'filter' => [
436 'location' => 'query',
437 'type' => 'string',
438 ],
439 'pageSize' => [
440 'location' => 'query',
441 'type' => 'integer',
442 ],
443 'pageToken' => [
444 'location' => 'query',
445 'type' => 'string',
446 ],
447 ],
448 ],
449 ]
450 ]
451 );
452 $this->organizations_locations_deidentifyTemplates = new DLP\Resource\OrganizationsLocationsDeidentifyTemplates(
453 $this,
454 $this->serviceName,
455 'deidentifyTemplates',
456 [
457 'methods' => [
458 'create' => [
459 'path' => 'v2/{+parent}/deidentifyTemplates',
460 'httpMethod' => 'POST',
461 'parameters' => [
462 'parent' => [
463 'location' => 'path',
464 'type' => 'string',
465 'required' => true,
466 ],
467 ],
468 ],'delete' => [
469 'path' => 'v2/{+name}',
470 'httpMethod' => 'DELETE',
471 'parameters' => [
472 'name' => [
473 'location' => 'path',
474 'type' => 'string',
475 'required' => true,
476 ],
477 ],
478 ],'get' => [
479 'path' => 'v2/{+name}',
480 'httpMethod' => 'GET',
481 'parameters' => [
482 'name' => [
483 'location' => 'path',
484 'type' => 'string',
485 'required' => true,
486 ],
487 ],
488 ],'list' => [
489 'path' => 'v2/{+parent}/deidentifyTemplates',
490 'httpMethod' => 'GET',
491 'parameters' => [
492 'parent' => [
493 'location' => 'path',
494 'type' => 'string',
495 'required' => true,
496 ],
497 'locationId' => [
498 'location' => 'query',
499 'type' => 'string',
500 ],
501 'orderBy' => [
502 'location' => 'query',
503 'type' => 'string',
504 ],
505 'pageSize' => [
506 'location' => 'query',
507 'type' => 'integer',
508 ],
509 'pageToken' => [
510 'location' => 'query',
511 'type' => 'string',
512 ],
513 ],
514 ],'patch' => [
515 'path' => 'v2/{+name}',
516 'httpMethod' => 'PATCH',
517 'parameters' => [
518 'name' => [
519 'location' => 'path',
520 'type' => 'string',
521 'required' => true,
522 ],
523 ],
524 ],
525 ]
526 ]
527 );
528 $this->organizations_locations_discoveryConfigs = new DLP\Resource\OrganizationsLocationsDiscoveryConfigs(
529 $this,
530 $this->serviceName,
531 'discoveryConfigs',
532 [
533 'methods' => [
534 'create' => [
535 'path' => 'v2/{+parent}/discoveryConfigs',
536 'httpMethod' => 'POST',
537 'parameters' => [
538 'parent' => [
539 'location' => 'path',
540 'type' => 'string',
541 'required' => true,
542 ],
543 ],
544 ],'delete' => [
545 'path' => 'v2/{+name}',
546 'httpMethod' => 'DELETE',
547 'parameters' => [
548 'name' => [
549 'location' => 'path',
550 'type' => 'string',
551 'required' => true,
552 ],
553 ],
554 ],'get' => [
555 'path' => 'v2/{+name}',
556 'httpMethod' => 'GET',
557 'parameters' => [
558 'name' => [
559 'location' => 'path',
560 'type' => 'string',
561 'required' => true,
562 ],
563 ],
564 ],'list' => [
565 'path' => 'v2/{+parent}/discoveryConfigs',
566 'httpMethod' => 'GET',
567 'parameters' => [
568 'parent' => [
569 'location' => 'path',
570 'type' => 'string',
571 'required' => true,
572 ],
573 'orderBy' => [
574 'location' => 'query',
575 'type' => 'string',
576 ],
577 'pageSize' => [
578 'location' => 'query',
579 'type' => 'integer',
580 ],
581 'pageToken' => [
582 'location' => 'query',
583 'type' => 'string',
584 ],
585 ],
586 ],'patch' => [
587 'path' => 'v2/{+name}',
588 'httpMethod' => 'PATCH',
589 'parameters' => [
590 'name' => [
591 'location' => 'path',
592 'type' => 'string',
593 'required' => true,
594 ],
595 ],
596 ],
597 ]
598 ]
599 );
600 $this->organizations_locations_dlpJobs = new DLP\Resource\OrganizationsLocationsDlpJobs(
601 $this,
602 $this->serviceName,
603 'dlpJobs',
604 [
605 'methods' => [
606 'list' => [
607 'path' => 'v2/{+parent}/dlpJobs',
608 'httpMethod' => 'GET',
609 'parameters' => [
610 'parent' => [
611 'location' => 'path',
612 'type' => 'string',
613 'required' => true,
614 ],
615 'filter' => [
616 'location' => 'query',
617 'type' => 'string',
618 ],
619 'locationId' => [
620 'location' => 'query',
621 'type' => 'string',
622 ],
623 'orderBy' => [
624 'location' => 'query',
625 'type' => 'string',
626 ],
627 'pageSize' => [
628 'location' => 'query',
629 'type' => 'integer',
630 ],
631 'pageToken' => [
632 'location' => 'query',
633 'type' => 'string',
634 ],
635 'type' => [
636 'location' => 'query',
637 'type' => 'string',
638 ],
639 ],
640 ],
641 ]
642 ]
643 );
644 $this->organizations_locations_fileStoreDataProfiles = new DLP\Resource\OrganizationsLocationsFileStoreDataProfiles(
645 $this,
646 $this->serviceName,
647 'fileStoreDataProfiles',
648 [
649 'methods' => [
650 'delete' => [
651 'path' => 'v2/{+name}',
652 'httpMethod' => 'DELETE',
653 'parameters' => [
654 'name' => [
655 'location' => 'path',
656 'type' => 'string',
657 'required' => true,
658 ],
659 ],
660 ],'get' => [
661 'path' => 'v2/{+name}',
662 'httpMethod' => 'GET',
663 'parameters' => [
664 'name' => [
665 'location' => 'path',
666 'type' => 'string',
667 'required' => true,
668 ],
669 ],
670 ],'list' => [
671 'path' => 'v2/{+parent}/fileStoreDataProfiles',
672 'httpMethod' => 'GET',
673 'parameters' => [
674 'parent' => [
675 'location' => 'path',
676 'type' => 'string',
677 'required' => true,
678 ],
679 'filter' => [
680 'location' => 'query',
681 'type' => 'string',
682 ],
683 'orderBy' => [
684 'location' => 'query',
685 'type' => 'string',
686 ],
687 'pageSize' => [
688 'location' => 'query',
689 'type' => 'integer',
690 ],
691 'pageToken' => [
692 'location' => 'query',
693 'type' => 'string',
694 ],
695 ],
696 ],
697 ]
698 ]
699 );
700 $this->organizations_locations_inspectTemplates = new DLP\Resource\OrganizationsLocationsInspectTemplates(
701 $this,
702 $this->serviceName,
703 'inspectTemplates',
704 [
705 'methods' => [
706 'create' => [
707 'path' => 'v2/{+parent}/inspectTemplates',
708 'httpMethod' => 'POST',
709 'parameters' => [
710 'parent' => [
711 'location' => 'path',
712 'type' => 'string',
713 'required' => true,
714 ],
715 ],
716 ],'delete' => [
717 'path' => 'v2/{+name}',
718 'httpMethod' => 'DELETE',
719 'parameters' => [
720 'name' => [
721 'location' => 'path',
722 'type' => 'string',
723 'required' => true,
724 ],
725 ],
726 ],'get' => [
727 'path' => 'v2/{+name}',
728 'httpMethod' => 'GET',
729 'parameters' => [
730 'name' => [
731 'location' => 'path',
732 'type' => 'string',
733 'required' => true,
734 ],
735 ],
736 ],'list' => [
737 'path' => 'v2/{+parent}/inspectTemplates',
738 'httpMethod' => 'GET',
739 'parameters' => [
740 'parent' => [
741 'location' => 'path',
742 'type' => 'string',
743 'required' => true,
744 ],
745 'locationId' => [
746 'location' => 'query',
747 'type' => 'string',
748 ],
749 'orderBy' => [
750 'location' => 'query',
751 'type' => 'string',
752 ],
753 'pageSize' => [
754 'location' => 'query',
755 'type' => 'integer',
756 ],
757 'pageToken' => [
758 'location' => 'query',
759 'type' => 'string',
760 ],
761 ],
762 ],'patch' => [
763 'path' => 'v2/{+name}',
764 'httpMethod' => 'PATCH',
765 'parameters' => [
766 'name' => [
767 'location' => 'path',
768 'type' => 'string',
769 'required' => true,
770 ],
771 ],
772 ],
773 ]
774 ]
775 );
776 $this->organizations_locations_jobTriggers = new DLP\Resource\OrganizationsLocationsJobTriggers(
777 $this,
778 $this->serviceName,
779 'jobTriggers',
780 [
781 'methods' => [
782 'create' => [
783 'path' => 'v2/{+parent}/jobTriggers',
784 'httpMethod' => 'POST',
785 'parameters' => [
786 'parent' => [
787 'location' => 'path',
788 'type' => 'string',
789 'required' => true,
790 ],
791 ],
792 ],'delete' => [
793 'path' => 'v2/{+name}',
794 'httpMethod' => 'DELETE',
795 'parameters' => [
796 'name' => [
797 'location' => 'path',
798 'type' => 'string',
799 'required' => true,
800 ],
801 ],
802 ],'get' => [
803 'path' => 'v2/{+name}',
804 'httpMethod' => 'GET',
805 'parameters' => [
806 'name' => [
807 'location' => 'path',
808 'type' => 'string',
809 'required' => true,
810 ],
811 ],
812 ],'list' => [
813 'path' => 'v2/{+parent}/jobTriggers',
814 'httpMethod' => 'GET',
815 'parameters' => [
816 'parent' => [
817 'location' => 'path',
818 'type' => 'string',
819 'required' => true,
820 ],
821 'filter' => [
822 'location' => 'query',
823 'type' => 'string',
824 ],
825 'locationId' => [
826 'location' => 'query',
827 'type' => 'string',
828 ],
829 'orderBy' => [
830 'location' => 'query',
831 'type' => 'string',
832 ],
833 'pageSize' => [
834 'location' => 'query',
835 'type' => 'integer',
836 ],
837 'pageToken' => [
838 'location' => 'query',
839 'type' => 'string',
840 ],
841 'type' => [
842 'location' => 'query',
843 'type' => 'string',
844 ],
845 ],
846 ],'patch' => [
847 'path' => 'v2/{+name}',
848 'httpMethod' => 'PATCH',
849 'parameters' => [
850 'name' => [
851 'location' => 'path',
852 'type' => 'string',
853 'required' => true,
854 ],
855 ],
856 ],
857 ]
858 ]
859 );
860 $this->organizations_locations_projectDataProfiles = new DLP\Resource\OrganizationsLocationsProjectDataProfiles(
861 $this,
862 $this->serviceName,
863 'projectDataProfiles',
864 [
865 'methods' => [
866 'get' => [
867 'path' => 'v2/{+name}',
868 'httpMethod' => 'GET',
869 'parameters' => [
870 'name' => [
871 'location' => 'path',
872 'type' => 'string',
873 'required' => true,
874 ],
875 ],
876 ],'list' => [
877 'path' => 'v2/{+parent}/projectDataProfiles',
878 'httpMethod' => 'GET',
879 'parameters' => [
880 'parent' => [
881 'location' => 'path',
882 'type' => 'string',
883 'required' => true,
884 ],
885 'filter' => [
886 'location' => 'query',
887 'type' => 'string',
888 ],
889 'orderBy' => [
890 'location' => 'query',
891 'type' => 'string',
892 ],
893 'pageSize' => [
894 'location' => 'query',
895 'type' => 'integer',
896 ],
897 'pageToken' => [
898 'location' => 'query',
899 'type' => 'string',
900 ],
901 ],
902 ],
903 ]
904 ]
905 );
906 $this->organizations_locations_storedInfoTypes = new DLP\Resource\OrganizationsLocationsStoredInfoTypes(
907 $this,
908 $this->serviceName,
909 'storedInfoTypes',
910 [
911 'methods' => [
912 'create' => [
913 'path' => 'v2/{+parent}/storedInfoTypes',
914 'httpMethod' => 'POST',
915 'parameters' => [
916 'parent' => [
917 'location' => 'path',
918 'type' => 'string',
919 'required' => true,
920 ],
921 ],
922 ],'delete' => [
923 'path' => 'v2/{+name}',
924 'httpMethod' => 'DELETE',
925 'parameters' => [
926 'name' => [
927 'location' => 'path',
928 'type' => 'string',
929 'required' => true,
930 ],
931 ],
932 ],'get' => [
933 'path' => 'v2/{+name}',
934 'httpMethod' => 'GET',
935 'parameters' => [
936 'name' => [
937 'location' => 'path',
938 'type' => 'string',
939 'required' => true,
940 ],
941 ],
942 ],'list' => [
943 'path' => 'v2/{+parent}/storedInfoTypes',
944 'httpMethod' => 'GET',
945 'parameters' => [
946 'parent' => [
947 'location' => 'path',
948 'type' => 'string',
949 'required' => true,
950 ],
951 'locationId' => [
952 'location' => 'query',
953 'type' => 'string',
954 ],
955 'orderBy' => [
956 'location' => 'query',
957 'type' => 'string',
958 ],
959 'pageSize' => [
960 'location' => 'query',
961 'type' => 'integer',
962 ],
963 'pageToken' => [
964 'location' => 'query',
965 'type' => 'string',
966 ],
967 ],
968 ],'patch' => [
969 'path' => 'v2/{+name}',
970 'httpMethod' => 'PATCH',
971 'parameters' => [
972 'name' => [
973 'location' => 'path',
974 'type' => 'string',
975 'required' => true,
976 ],
977 ],
978 ],
979 ]
980 ]
981 );
982 $this->organizations_locations_tableDataProfiles = new DLP\Resource\OrganizationsLocationsTableDataProfiles(
983 $this,
984 $this->serviceName,
985 'tableDataProfiles',
986 [
987 'methods' => [
988 'delete' => [
989 'path' => 'v2/{+name}',
990 'httpMethod' => 'DELETE',
991 'parameters' => [
992 'name' => [
993 'location' => 'path',
994 'type' => 'string',
995 'required' => true,
996 ],
997 ],
998 ],'get' => [
999 'path' => 'v2/{+name}',
1000 'httpMethod' => 'GET',
1001 'parameters' => [
1002 'name' => [
1003 'location' => 'path',
1004 'type' => 'string',
1005 'required' => true,
1006 ],
1007 ],
1008 ],'list' => [
1009 'path' => 'v2/{+parent}/tableDataProfiles',
1010 'httpMethod' => 'GET',
1011 'parameters' => [
1012 'parent' => [
1013 'location' => 'path',
1014 'type' => 'string',
1015 'required' => true,
1016 ],
1017 'filter' => [
1018 'location' => 'query',
1019 'type' => 'string',
1020 ],
1021 'orderBy' => [
1022 'location' => 'query',
1023 'type' => 'string',
1024 ],
1025 'pageSize' => [
1026 'location' => 'query',
1027 'type' => 'integer',
1028 ],
1029 'pageToken' => [
1030 'location' => 'query',
1031 'type' => 'string',
1032 ],
1033 ],
1034 ],
1035 ]
1036 ]
1037 );
1038 $this->organizations_storedInfoTypes = new DLP\Resource\OrganizationsStoredInfoTypes(
1039 $this,
1040 $this->serviceName,
1041 'storedInfoTypes',
1042 [
1043 'methods' => [
1044 'create' => [
1045 'path' => 'v2/{+parent}/storedInfoTypes',
1046 'httpMethod' => 'POST',
1047 'parameters' => [
1048 'parent' => [
1049 'location' => 'path',
1050 'type' => 'string',
1051 'required' => true,
1052 ],
1053 ],
1054 ],'delete' => [
1055 'path' => 'v2/{+name}',
1056 'httpMethod' => 'DELETE',
1057 'parameters' => [
1058 'name' => [
1059 'location' => 'path',
1060 'type' => 'string',
1061 'required' => true,
1062 ],
1063 ],
1064 ],'get' => [
1065 'path' => 'v2/{+name}',
1066 'httpMethod' => 'GET',
1067 'parameters' => [
1068 'name' => [
1069 'location' => 'path',
1070 'type' => 'string',
1071 'required' => true,
1072 ],
1073 ],
1074 ],'list' => [
1075 'path' => 'v2/{+parent}/storedInfoTypes',
1076 'httpMethod' => 'GET',
1077 'parameters' => [
1078 'parent' => [
1079 'location' => 'path',
1080 'type' => 'string',
1081 'required' => true,
1082 ],
1083 'locationId' => [
1084 'location' => 'query',
1085 'type' => 'string',
1086 ],
1087 'orderBy' => [
1088 'location' => 'query',
1089 'type' => 'string',
1090 ],
1091 'pageSize' => [
1092 'location' => 'query',
1093 'type' => 'integer',
1094 ],
1095 'pageToken' => [
1096 'location' => 'query',
1097 'type' => 'string',
1098 ],
1099 ],
1100 ],'patch' => [
1101 'path' => 'v2/{+name}',
1102 'httpMethod' => 'PATCH',
1103 'parameters' => [
1104 'name' => [
1105 'location' => 'path',
1106 'type' => 'string',
1107 'required' => true,
1108 ],
1109 ],
1110 ],
1111 ]
1112 ]
1113 );
1114 $this->projects_content = new DLP\Resource\ProjectsContent(
1115 $this,
1116 $this->serviceName,
1117 'content',
1118 [
1119 'methods' => [
1120 'deidentify' => [
1121 'path' => 'v2/{+parent}/content:deidentify',
1122 'httpMethod' => 'POST',
1123 'parameters' => [
1124 'parent' => [
1125 'location' => 'path',
1126 'type' => 'string',
1127 'required' => true,
1128 ],
1129 ],
1130 ],'inspect' => [
1131 'path' => 'v2/{+parent}/content:inspect',
1132 'httpMethod' => 'POST',
1133 'parameters' => [
1134 'parent' => [
1135 'location' => 'path',
1136 'type' => 'string',
1137 'required' => true,
1138 ],
1139 ],
1140 ],'reidentify' => [
1141 'path' => 'v2/{+parent}/content:reidentify',
1142 'httpMethod' => 'POST',
1143 'parameters' => [
1144 'parent' => [
1145 'location' => 'path',
1146 'type' => 'string',
1147 'required' => true,
1148 ],
1149 ],
1150 ],
1151 ]
1152 ]
1153 );
1154 $this->projects_deidentifyTemplates = new DLP\Resource\ProjectsDeidentifyTemplates(
1155 $this,
1156 $this->serviceName,
1157 'deidentifyTemplates',
1158 [
1159 'methods' => [
1160 'create' => [
1161 'path' => 'v2/{+parent}/deidentifyTemplates',
1162 'httpMethod' => 'POST',
1163 'parameters' => [
1164 'parent' => [
1165 'location' => 'path',
1166 'type' => 'string',
1167 'required' => true,
1168 ],
1169 ],
1170 ],'delete' => [
1171 'path' => 'v2/{+name}',
1172 'httpMethod' => 'DELETE',
1173 'parameters' => [
1174 'name' => [
1175 'location' => 'path',
1176 'type' => 'string',
1177 'required' => true,
1178 ],
1179 ],
1180 ],'get' => [
1181 'path' => 'v2/{+name}',
1182 'httpMethod' => 'GET',
1183 'parameters' => [
1184 'name' => [
1185 'location' => 'path',
1186 'type' => 'string',
1187 'required' => true,
1188 ],
1189 ],
1190 ],'list' => [
1191 'path' => 'v2/{+parent}/deidentifyTemplates',
1192 'httpMethod' => 'GET',
1193 'parameters' => [
1194 'parent' => [
1195 'location' => 'path',
1196 'type' => 'string',
1197 'required' => true,
1198 ],
1199 'locationId' => [
1200 'location' => 'query',
1201 'type' => 'string',
1202 ],
1203 'orderBy' => [
1204 'location' => 'query',
1205 'type' => 'string',
1206 ],
1207 'pageSize' => [
1208 'location' => 'query',
1209 'type' => 'integer',
1210 ],
1211 'pageToken' => [
1212 'location' => 'query',
1213 'type' => 'string',
1214 ],
1215 ],
1216 ],'patch' => [
1217 'path' => 'v2/{+name}',
1218 'httpMethod' => 'PATCH',
1219 'parameters' => [
1220 'name' => [
1221 'location' => 'path',
1222 'type' => 'string',
1223 'required' => true,
1224 ],
1225 ],
1226 ],
1227 ]
1228 ]
1229 );
1230 $this->projects_dlpJobs = new DLP\Resource\ProjectsDlpJobs(
1231 $this,
1232 $this->serviceName,
1233 'dlpJobs',
1234 [
1235 'methods' => [
1236 'cancel' => [
1237 'path' => 'v2/{+name}:cancel',
1238 'httpMethod' => 'POST',
1239 'parameters' => [
1240 'name' => [
1241 'location' => 'path',
1242 'type' => 'string',
1243 'required' => true,
1244 ],
1245 ],
1246 ],'create' => [
1247 'path' => 'v2/{+parent}/dlpJobs',
1248 'httpMethod' => 'POST',
1249 'parameters' => [
1250 'parent' => [
1251 'location' => 'path',
1252 'type' => 'string',
1253 'required' => true,
1254 ],
1255 ],
1256 ],'delete' => [
1257 'path' => 'v2/{+name}',
1258 'httpMethod' => 'DELETE',
1259 'parameters' => [
1260 'name' => [
1261 'location' => 'path',
1262 'type' => 'string',
1263 'required' => true,
1264 ],
1265 ],
1266 ],'get' => [
1267 'path' => 'v2/{+name}',
1268 'httpMethod' => 'GET',
1269 'parameters' => [
1270 'name' => [
1271 'location' => 'path',
1272 'type' => 'string',
1273 'required' => true,
1274 ],
1275 ],
1276 ],'list' => [
1277 'path' => 'v2/{+parent}/dlpJobs',
1278 'httpMethod' => 'GET',
1279 'parameters' => [
1280 'parent' => [
1281 'location' => 'path',
1282 'type' => 'string',
1283 'required' => true,
1284 ],
1285 'filter' => [
1286 'location' => 'query',
1287 'type' => 'string',
1288 ],
1289 'locationId' => [
1290 'location' => 'query',
1291 'type' => 'string',
1292 ],
1293 'orderBy' => [
1294 'location' => 'query',
1295 'type' => 'string',
1296 ],
1297 'pageSize' => [
1298 'location' => 'query',
1299 'type' => 'integer',
1300 ],
1301 'pageToken' => [
1302 'location' => 'query',
1303 'type' => 'string',
1304 ],
1305 'type' => [
1306 'location' => 'query',
1307 'type' => 'string',
1308 ],
1309 ],
1310 ],
1311 ]
1312 ]
1313 );
1314 $this->projects_image = new DLP\Resource\ProjectsImage(
1315 $this,
1316 $this->serviceName,
1317 'image',
1318 [
1319 'methods' => [
1320 'redact' => [
1321 'path' => 'v2/{+parent}/image:redact',
1322 'httpMethod' => 'POST',
1323 'parameters' => [
1324 'parent' => [
1325 'location' => 'path',
1326 'type' => 'string',
1327 'required' => true,
1328 ],
1329 ],
1330 ],
1331 ]
1332 ]
1333 );
1334 $this->projects_inspectTemplates = new DLP\Resource\ProjectsInspectTemplates(
1335 $this,
1336 $this->serviceName,
1337 'inspectTemplates',
1338 [
1339 'methods' => [
1340 'create' => [
1341 'path' => 'v2/{+parent}/inspectTemplates',
1342 'httpMethod' => 'POST',
1343 'parameters' => [
1344 'parent' => [
1345 'location' => 'path',
1346 'type' => 'string',
1347 'required' => true,
1348 ],
1349 ],
1350 ],'delete' => [
1351 'path' => 'v2/{+name}',
1352 'httpMethod' => 'DELETE',
1353 'parameters' => [
1354 'name' => [
1355 'location' => 'path',
1356 'type' => 'string',
1357 'required' => true,
1358 ],
1359 ],
1360 ],'get' => [
1361 'path' => 'v2/{+name}',
1362 'httpMethod' => 'GET',
1363 'parameters' => [
1364 'name' => [
1365 'location' => 'path',
1366 'type' => 'string',
1367 'required' => true,
1368 ],
1369 ],
1370 ],'list' => [
1371 'path' => 'v2/{+parent}/inspectTemplates',
1372 'httpMethod' => 'GET',
1373 'parameters' => [
1374 'parent' => [
1375 'location' => 'path',
1376 'type' => 'string',
1377 'required' => true,
1378 ],
1379 'locationId' => [
1380 'location' => 'query',
1381 'type' => 'string',
1382 ],
1383 'orderBy' => [
1384 'location' => 'query',
1385 'type' => 'string',
1386 ],
1387 'pageSize' => [
1388 'location' => 'query',
1389 'type' => 'integer',
1390 ],
1391 'pageToken' => [
1392 'location' => 'query',
1393 'type' => 'string',
1394 ],
1395 ],
1396 ],'patch' => [
1397 'path' => 'v2/{+name}',
1398 'httpMethod' => 'PATCH',
1399 'parameters' => [
1400 'name' => [
1401 'location' => 'path',
1402 'type' => 'string',
1403 'required' => true,
1404 ],
1405 ],
1406 ],
1407 ]
1408 ]
1409 );
1410 $this->projects_jobTriggers = new DLP\Resource\ProjectsJobTriggers(
1411 $this,
1412 $this->serviceName,
1413 'jobTriggers',
1414 [
1415 'methods' => [
1416 'activate' => [
1417 'path' => 'v2/{+name}:activate',
1418 'httpMethod' => 'POST',
1419 'parameters' => [
1420 'name' => [
1421 'location' => 'path',
1422 'type' => 'string',
1423 'required' => true,
1424 ],
1425 ],
1426 ],'create' => [
1427 'path' => 'v2/{+parent}/jobTriggers',
1428 'httpMethod' => 'POST',
1429 'parameters' => [
1430 'parent' => [
1431 'location' => 'path',
1432 'type' => 'string',
1433 'required' => true,
1434 ],
1435 ],
1436 ],'delete' => [
1437 'path' => 'v2/{+name}',
1438 'httpMethod' => 'DELETE',
1439 'parameters' => [
1440 'name' => [
1441 'location' => 'path',
1442 'type' => 'string',
1443 'required' => true,
1444 ],
1445 ],
1446 ],'get' => [
1447 'path' => 'v2/{+name}',
1448 'httpMethod' => 'GET',
1449 'parameters' => [
1450 'name' => [
1451 'location' => 'path',
1452 'type' => 'string',
1453 'required' => true,
1454 ],
1455 ],
1456 ],'list' => [
1457 'path' => 'v2/{+parent}/jobTriggers',
1458 'httpMethod' => 'GET',
1459 'parameters' => [
1460 'parent' => [
1461 'location' => 'path',
1462 'type' => 'string',
1463 'required' => true,
1464 ],
1465 'filter' => [
1466 'location' => 'query',
1467 'type' => 'string',
1468 ],
1469 'locationId' => [
1470 'location' => 'query',
1471 'type' => 'string',
1472 ],
1473 'orderBy' => [
1474 'location' => 'query',
1475 'type' => 'string',
1476 ],
1477 'pageSize' => [
1478 'location' => 'query',
1479 'type' => 'integer',
1480 ],
1481 'pageToken' => [
1482 'location' => 'query',
1483 'type' => 'string',
1484 ],
1485 'type' => [
1486 'location' => 'query',
1487 'type' => 'string',
1488 ],
1489 ],
1490 ],'patch' => [
1491 'path' => 'v2/{+name}',
1492 'httpMethod' => 'PATCH',
1493 'parameters' => [
1494 'name' => [
1495 'location' => 'path',
1496 'type' => 'string',
1497 'required' => true,
1498 ],
1499 ],
1500 ],
1501 ]
1502 ]
1503 );
1504 $this->projects_locations_columnDataProfiles = new DLP\Resource\ProjectsLocationsColumnDataProfiles(
1505 $this,
1506 $this->serviceName,
1507 'columnDataProfiles',
1508 [
1509 'methods' => [
1510 'get' => [
1511 'path' => 'v2/{+name}',
1512 'httpMethod' => 'GET',
1513 'parameters' => [
1514 'name' => [
1515 'location' => 'path',
1516 'type' => 'string',
1517 'required' => true,
1518 ],
1519 ],
1520 ],'list' => [
1521 'path' => 'v2/{+parent}/columnDataProfiles',
1522 'httpMethod' => 'GET',
1523 'parameters' => [
1524 'parent' => [
1525 'location' => 'path',
1526 'type' => 'string',
1527 'required' => true,
1528 ],
1529 'filter' => [
1530 'location' => 'query',
1531 'type' => 'string',
1532 ],
1533 'orderBy' => [
1534 'location' => 'query',
1535 'type' => 'string',
1536 ],
1537 'pageSize' => [
1538 'location' => 'query',
1539 'type' => 'integer',
1540 ],
1541 'pageToken' => [
1542 'location' => 'query',
1543 'type' => 'string',
1544 ],
1545 ],
1546 ],
1547 ]
1548 ]
1549 );
1550 $this->projects_locations_connections = new DLP\Resource\ProjectsLocationsConnections(
1551 $this,
1552 $this->serviceName,
1553 'connections',
1554 [
1555 'methods' => [
1556 'create' => [
1557 'path' => 'v2/{+parent}/connections',
1558 'httpMethod' => 'POST',
1559 'parameters' => [
1560 'parent' => [
1561 'location' => 'path',
1562 'type' => 'string',
1563 'required' => true,
1564 ],
1565 ],
1566 ],'delete' => [
1567 'path' => 'v2/{+name}',
1568 'httpMethod' => 'DELETE',
1569 'parameters' => [
1570 'name' => [
1571 'location' => 'path',
1572 'type' => 'string',
1573 'required' => true,
1574 ],
1575 ],
1576 ],'get' => [
1577 'path' => 'v2/{+name}',
1578 'httpMethod' => 'GET',
1579 'parameters' => [
1580 'name' => [
1581 'location' => 'path',
1582 'type' => 'string',
1583 'required' => true,
1584 ],
1585 ],
1586 ],'list' => [
1587 'path' => 'v2/{+parent}/connections',
1588 'httpMethod' => 'GET',
1589 'parameters' => [
1590 'parent' => [
1591 'location' => 'path',
1592 'type' => 'string',
1593 'required' => true,
1594 ],
1595 'filter' => [
1596 'location' => 'query',
1597 'type' => 'string',
1598 ],
1599 'pageSize' => [
1600 'location' => 'query',
1601 'type' => 'integer',
1602 ],
1603 'pageToken' => [
1604 'location' => 'query',
1605 'type' => 'string',
1606 ],
1607 ],
1608 ],'patch' => [
1609 'path' => 'v2/{+name}',
1610 'httpMethod' => 'PATCH',
1611 'parameters' => [
1612 'name' => [
1613 'location' => 'path',
1614 'type' => 'string',
1615 'required' => true,
1616 ],
1617 ],
1618 ],'search' => [
1619 'path' => 'v2/{+parent}/connections:search',
1620 'httpMethod' => 'GET',
1621 'parameters' => [
1622 'parent' => [
1623 'location' => 'path',
1624 'type' => 'string',
1625 'required' => true,
1626 ],
1627 'filter' => [
1628 'location' => 'query',
1629 'type' => 'string',
1630 ],
1631 'pageSize' => [
1632 'location' => 'query',
1633 'type' => 'integer',
1634 ],
1635 'pageToken' => [
1636 'location' => 'query',
1637 'type' => 'string',
1638 ],
1639 ],
1640 ],
1641 ]
1642 ]
1643 );
1644 $this->projects_locations_content = new DLP\Resource\ProjectsLocationsContent(
1645 $this,
1646 $this->serviceName,
1647 'content',
1648 [
1649 'methods' => [
1650 'deidentify' => [
1651 'path' => 'v2/{+parent}/content:deidentify',
1652 'httpMethod' => 'POST',
1653 'parameters' => [
1654 'parent' => [
1655 'location' => 'path',
1656 'type' => 'string',
1657 'required' => true,
1658 ],
1659 ],
1660 ],'inspect' => [
1661 'path' => 'v2/{+parent}/content:inspect',
1662 'httpMethod' => 'POST',
1663 'parameters' => [
1664 'parent' => [
1665 'location' => 'path',
1666 'type' => 'string',
1667 'required' => true,
1668 ],
1669 ],
1670 ],'reidentify' => [
1671 'path' => 'v2/{+parent}/content:reidentify',
1672 'httpMethod' => 'POST',
1673 'parameters' => [
1674 'parent' => [
1675 'location' => 'path',
1676 'type' => 'string',
1677 'required' => true,
1678 ],
1679 ],
1680 ],
1681 ]
1682 ]
1683 );
1684 $this->projects_locations_deidentifyTemplates = new DLP\Resource\ProjectsLocationsDeidentifyTemplates(
1685 $this,
1686 $this->serviceName,
1687 'deidentifyTemplates',
1688 [
1689 'methods' => [
1690 'create' => [
1691 'path' => 'v2/{+parent}/deidentifyTemplates',
1692 'httpMethod' => 'POST',
1693 'parameters' => [
1694 'parent' => [
1695 'location' => 'path',
1696 'type' => 'string',
1697 'required' => true,
1698 ],
1699 ],
1700 ],'delete' => [
1701 'path' => 'v2/{+name}',
1702 'httpMethod' => 'DELETE',
1703 'parameters' => [
1704 'name' => [
1705 'location' => 'path',
1706 'type' => 'string',
1707 'required' => true,
1708 ],
1709 ],
1710 ],'get' => [
1711 'path' => 'v2/{+name}',
1712 'httpMethod' => 'GET',
1713 'parameters' => [
1714 'name' => [
1715 'location' => 'path',
1716 'type' => 'string',
1717 'required' => true,
1718 ],
1719 ],
1720 ],'list' => [
1721 'path' => 'v2/{+parent}/deidentifyTemplates',
1722 'httpMethod' => 'GET',
1723 'parameters' => [
1724 'parent' => [
1725 'location' => 'path',
1726 'type' => 'string',
1727 'required' => true,
1728 ],
1729 'locationId' => [
1730 'location' => 'query',
1731 'type' => 'string',
1732 ],
1733 'orderBy' => [
1734 'location' => 'query',
1735 'type' => 'string',
1736 ],
1737 'pageSize' => [
1738 'location' => 'query',
1739 'type' => 'integer',
1740 ],
1741 'pageToken' => [
1742 'location' => 'query',
1743 'type' => 'string',
1744 ],
1745 ],
1746 ],'patch' => [
1747 'path' => 'v2/{+name}',
1748 'httpMethod' => 'PATCH',
1749 'parameters' => [
1750 'name' => [
1751 'location' => 'path',
1752 'type' => 'string',
1753 'required' => true,
1754 ],
1755 ],
1756 ],
1757 ]
1758 ]
1759 );
1760 $this->projects_locations_discoveryConfigs = new DLP\Resource\ProjectsLocationsDiscoveryConfigs(
1761 $this,
1762 $this->serviceName,
1763 'discoveryConfigs',
1764 [
1765 'methods' => [
1766 'create' => [
1767 'path' => 'v2/{+parent}/discoveryConfigs',
1768 'httpMethod' => 'POST',
1769 'parameters' => [
1770 'parent' => [
1771 'location' => 'path',
1772 'type' => 'string',
1773 'required' => true,
1774 ],
1775 ],
1776 ],'delete' => [
1777 'path' => 'v2/{+name}',
1778 'httpMethod' => 'DELETE',
1779 'parameters' => [
1780 'name' => [
1781 'location' => 'path',
1782 'type' => 'string',
1783 'required' => true,
1784 ],
1785 ],
1786 ],'get' => [
1787 'path' => 'v2/{+name}',
1788 'httpMethod' => 'GET',
1789 'parameters' => [
1790 'name' => [
1791 'location' => 'path',
1792 'type' => 'string',
1793 'required' => true,
1794 ],
1795 ],
1796 ],'list' => [
1797 'path' => 'v2/{+parent}/discoveryConfigs',
1798 'httpMethod' => 'GET',
1799 'parameters' => [
1800 'parent' => [
1801 'location' => 'path',
1802 'type' => 'string',
1803 'required' => true,
1804 ],
1805 'orderBy' => [
1806 'location' => 'query',
1807 'type' => 'string',
1808 ],
1809 'pageSize' => [
1810 'location' => 'query',
1811 'type' => 'integer',
1812 ],
1813 'pageToken' => [
1814 'location' => 'query',
1815 'type' => 'string',
1816 ],
1817 ],
1818 ],'patch' => [
1819 'path' => 'v2/{+name}',
1820 'httpMethod' => 'PATCH',
1821 'parameters' => [
1822 'name' => [
1823 'location' => 'path',
1824 'type' => 'string',
1825 'required' => true,
1826 ],
1827 ],
1828 ],
1829 ]
1830 ]
1831 );
1832 $this->projects_locations_dlpJobs = new DLP\Resource\ProjectsLocationsDlpJobs(
1833 $this,
1834 $this->serviceName,
1835 'dlpJobs',
1836 [
1837 'methods' => [
1838 'cancel' => [
1839 'path' => 'v2/{+name}:cancel',
1840 'httpMethod' => 'POST',
1841 'parameters' => [
1842 'name' => [
1843 'location' => 'path',
1844 'type' => 'string',
1845 'required' => true,
1846 ],
1847 ],
1848 ],'create' => [
1849 'path' => 'v2/{+parent}/dlpJobs',
1850 'httpMethod' => 'POST',
1851 'parameters' => [
1852 'parent' => [
1853 'location' => 'path',
1854 'type' => 'string',
1855 'required' => true,
1856 ],
1857 ],
1858 ],'delete' => [
1859 'path' => 'v2/{+name}',
1860 'httpMethod' => 'DELETE',
1861 'parameters' => [
1862 'name' => [
1863 'location' => 'path',
1864 'type' => 'string',
1865 'required' => true,
1866 ],
1867 ],
1868 ],'finish' => [
1869 'path' => 'v2/{+name}:finish',
1870 'httpMethod' => 'POST',
1871 'parameters' => [
1872 'name' => [
1873 'location' => 'path',
1874 'type' => 'string',
1875 'required' => true,
1876 ],
1877 ],
1878 ],'get' => [
1879 'path' => 'v2/{+name}',
1880 'httpMethod' => 'GET',
1881 'parameters' => [
1882 'name' => [
1883 'location' => 'path',
1884 'type' => 'string',
1885 'required' => true,
1886 ],
1887 ],
1888 ],'hybridInspect' => [
1889 'path' => 'v2/{+name}:hybridInspect',
1890 'httpMethod' => 'POST',
1891 'parameters' => [
1892 'name' => [
1893 'location' => 'path',
1894 'type' => 'string',
1895 'required' => true,
1896 ],
1897 ],
1898 ],'list' => [
1899 'path' => 'v2/{+parent}/dlpJobs',
1900 'httpMethod' => 'GET',
1901 'parameters' => [
1902 'parent' => [
1903 'location' => 'path',
1904 'type' => 'string',
1905 'required' => true,
1906 ],
1907 'filter' => [
1908 'location' => 'query',
1909 'type' => 'string',
1910 ],
1911 'locationId' => [
1912 'location' => 'query',
1913 'type' => 'string',
1914 ],
1915 'orderBy' => [
1916 'location' => 'query',
1917 'type' => 'string',
1918 ],
1919 'pageSize' => [
1920 'location' => 'query',
1921 'type' => 'integer',
1922 ],
1923 'pageToken' => [
1924 'location' => 'query',
1925 'type' => 'string',
1926 ],
1927 'type' => [
1928 'location' => 'query',
1929 'type' => 'string',
1930 ],
1931 ],
1932 ],
1933 ]
1934 ]
1935 );
1936 $this->projects_locations_fileStoreDataProfiles = new DLP\Resource\ProjectsLocationsFileStoreDataProfiles(
1937 $this,
1938 $this->serviceName,
1939 'fileStoreDataProfiles',
1940 [
1941 'methods' => [
1942 'delete' => [
1943 'path' => 'v2/{+name}',
1944 'httpMethod' => 'DELETE',
1945 'parameters' => [
1946 'name' => [
1947 'location' => 'path',
1948 'type' => 'string',
1949 'required' => true,
1950 ],
1951 ],
1952 ],'get' => [
1953 'path' => 'v2/{+name}',
1954 'httpMethod' => 'GET',
1955 'parameters' => [
1956 'name' => [
1957 'location' => 'path',
1958 'type' => 'string',
1959 'required' => true,
1960 ],
1961 ],
1962 ],'list' => [
1963 'path' => 'v2/{+parent}/fileStoreDataProfiles',
1964 'httpMethod' => 'GET',
1965 'parameters' => [
1966 'parent' => [
1967 'location' => 'path',
1968 'type' => 'string',
1969 'required' => true,
1970 ],
1971 'filter' => [
1972 'location' => 'query',
1973 'type' => 'string',
1974 ],
1975 'orderBy' => [
1976 'location' => 'query',
1977 'type' => 'string',
1978 ],
1979 'pageSize' => [
1980 'location' => 'query',
1981 'type' => 'integer',
1982 ],
1983 'pageToken' => [
1984 'location' => 'query',
1985 'type' => 'string',
1986 ],
1987 ],
1988 ],
1989 ]
1990 ]
1991 );
1992 $this->projects_locations_image = new DLP\Resource\ProjectsLocationsImage(
1993 $this,
1994 $this->serviceName,
1995 'image',
1996 [
1997 'methods' => [
1998 'redact' => [
1999 'path' => 'v2/{+parent}/image:redact',
2000 'httpMethod' => 'POST',
2001 'parameters' => [
2002 'parent' => [
2003 'location' => 'path',
2004 'type' => 'string',
2005 'required' => true,
2006 ],
2007 ],
2008 ],
2009 ]
2010 ]
2011 );
2012 $this->projects_locations_inspectTemplates = new DLP\Resource\ProjectsLocationsInspectTemplates(
2013 $this,
2014 $this->serviceName,
2015 'inspectTemplates',
2016 [
2017 'methods' => [
2018 'create' => [
2019 'path' => 'v2/{+parent}/inspectTemplates',
2020 'httpMethod' => 'POST',
2021 'parameters' => [
2022 'parent' => [
2023 'location' => 'path',
2024 'type' => 'string',
2025 'required' => true,
2026 ],
2027 ],
2028 ],'delete' => [
2029 'path' => 'v2/{+name}',
2030 'httpMethod' => 'DELETE',
2031 'parameters' => [
2032 'name' => [
2033 'location' => 'path',
2034 'type' => 'string',
2035 'required' => true,
2036 ],
2037 ],
2038 ],'get' => [
2039 'path' => 'v2/{+name}',
2040 'httpMethod' => 'GET',
2041 'parameters' => [
2042 'name' => [
2043 'location' => 'path',
2044 'type' => 'string',
2045 'required' => true,
2046 ],
2047 ],
2048 ],'list' => [
2049 'path' => 'v2/{+parent}/inspectTemplates',
2050 'httpMethod' => 'GET',
2051 'parameters' => [
2052 'parent' => [
2053 'location' => 'path',
2054 'type' => 'string',
2055 'required' => true,
2056 ],
2057 'locationId' => [
2058 'location' => 'query',
2059 'type' => 'string',
2060 ],
2061 'orderBy' => [
2062 'location' => 'query',
2063 'type' => 'string',
2064 ],
2065 'pageSize' => [
2066 'location' => 'query',
2067 'type' => 'integer',
2068 ],
2069 'pageToken' => [
2070 'location' => 'query',
2071 'type' => 'string',
2072 ],
2073 ],
2074 ],'patch' => [
2075 'path' => 'v2/{+name}',
2076 'httpMethod' => 'PATCH',
2077 'parameters' => [
2078 'name' => [
2079 'location' => 'path',
2080 'type' => 'string',
2081 'required' => true,
2082 ],
2083 ],
2084 ],
2085 ]
2086 ]
2087 );
2088 $this->projects_locations_jobTriggers = new DLP\Resource\ProjectsLocationsJobTriggers(
2089 $this,
2090 $this->serviceName,
2091 'jobTriggers',
2092 [
2093 'methods' => [
2094 'activate' => [
2095 'path' => 'v2/{+name}:activate',
2096 'httpMethod' => 'POST',
2097 'parameters' => [
2098 'name' => [
2099 'location' => 'path',
2100 'type' => 'string',
2101 'required' => true,
2102 ],
2103 ],
2104 ],'create' => [
2105 'path' => 'v2/{+parent}/jobTriggers',
2106 'httpMethod' => 'POST',
2107 'parameters' => [
2108 'parent' => [
2109 'location' => 'path',
2110 'type' => 'string',
2111 'required' => true,
2112 ],
2113 ],
2114 ],'delete' => [
2115 'path' => 'v2/{+name}',
2116 'httpMethod' => 'DELETE',
2117 'parameters' => [
2118 'name' => [
2119 'location' => 'path',
2120 'type' => 'string',
2121 'required' => true,
2122 ],
2123 ],
2124 ],'get' => [
2125 'path' => 'v2/{+name}',
2126 'httpMethod' => 'GET',
2127 'parameters' => [
2128 'name' => [
2129 'location' => 'path',
2130 'type' => 'string',
2131 'required' => true,
2132 ],
2133 ],
2134 ],'hybridInspect' => [
2135 'path' => 'v2/{+name}:hybridInspect',
2136 'httpMethod' => 'POST',
2137 'parameters' => [
2138 'name' => [
2139 'location' => 'path',
2140 'type' => 'string',
2141 'required' => true,
2142 ],
2143 ],
2144 ],'list' => [
2145 'path' => 'v2/{+parent}/jobTriggers',
2146 'httpMethod' => 'GET',
2147 'parameters' => [
2148 'parent' => [
2149 'location' => 'path',
2150 'type' => 'string',
2151 'required' => true,
2152 ],
2153 'filter' => [
2154 'location' => 'query',
2155 'type' => 'string',
2156 ],
2157 'locationId' => [
2158 'location' => 'query',
2159 'type' => 'string',
2160 ],
2161 'orderBy' => [
2162 'location' => 'query',
2163 'type' => 'string',
2164 ],
2165 'pageSize' => [
2166 'location' => 'query',
2167 'type' => 'integer',
2168 ],
2169 'pageToken' => [
2170 'location' => 'query',
2171 'type' => 'string',
2172 ],
2173 'type' => [
2174 'location' => 'query',
2175 'type' => 'string',
2176 ],
2177 ],
2178 ],'patch' => [
2179 'path' => 'v2/{+name}',
2180 'httpMethod' => 'PATCH',
2181 'parameters' => [
2182 'name' => [
2183 'location' => 'path',
2184 'type' => 'string',
2185 'required' => true,
2186 ],
2187 ],
2188 ],
2189 ]
2190 ]
2191 );
2192 $this->projects_locations_projectDataProfiles = new DLP\Resource\ProjectsLocationsProjectDataProfiles(
2193 $this,
2194 $this->serviceName,
2195 'projectDataProfiles',
2196 [
2197 'methods' => [
2198 'get' => [
2199 'path' => 'v2/{+name}',
2200 'httpMethod' => 'GET',
2201 'parameters' => [
2202 'name' => [
2203 'location' => 'path',
2204 'type' => 'string',
2205 'required' => true,
2206 ],
2207 ],
2208 ],'list' => [
2209 'path' => 'v2/{+parent}/projectDataProfiles',
2210 'httpMethod' => 'GET',
2211 'parameters' => [
2212 'parent' => [
2213 'location' => 'path',
2214 'type' => 'string',
2215 'required' => true,
2216 ],
2217 'filter' => [
2218 'location' => 'query',
2219 'type' => 'string',
2220 ],
2221 'orderBy' => [
2222 'location' => 'query',
2223 'type' => 'string',
2224 ],
2225 'pageSize' => [
2226 'location' => 'query',
2227 'type' => 'integer',
2228 ],
2229 'pageToken' => [
2230 'location' => 'query',
2231 'type' => 'string',
2232 ],
2233 ],
2234 ],
2235 ]
2236 ]
2237 );
2238 $this->projects_locations_storedInfoTypes = new DLP\Resource\ProjectsLocationsStoredInfoTypes(
2239 $this,
2240 $this->serviceName,
2241 'storedInfoTypes',
2242 [
2243 'methods' => [
2244 'create' => [
2245 'path' => 'v2/{+parent}/storedInfoTypes',
2246 'httpMethod' => 'POST',
2247 'parameters' => [
2248 'parent' => [
2249 'location' => 'path',
2250 'type' => 'string',
2251 'required' => true,
2252 ],
2253 ],
2254 ],'delete' => [
2255 'path' => 'v2/{+name}',
2256 'httpMethod' => 'DELETE',
2257 'parameters' => [
2258 'name' => [
2259 'location' => 'path',
2260 'type' => 'string',
2261 'required' => true,
2262 ],
2263 ],
2264 ],'get' => [
2265 'path' => 'v2/{+name}',
2266 'httpMethod' => 'GET',
2267 'parameters' => [
2268 'name' => [
2269 'location' => 'path',
2270 'type' => 'string',
2271 'required' => true,
2272 ],
2273 ],
2274 ],'list' => [
2275 'path' => 'v2/{+parent}/storedInfoTypes',
2276 'httpMethod' => 'GET',
2277 'parameters' => [
2278 'parent' => [
2279 'location' => 'path',
2280 'type' => 'string',
2281 'required' => true,
2282 ],
2283 'locationId' => [
2284 'location' => 'query',
2285 'type' => 'string',
2286 ],
2287 'orderBy' => [
2288 'location' => 'query',
2289 'type' => 'string',
2290 ],
2291 'pageSize' => [
2292 'location' => 'query',
2293 'type' => 'integer',
2294 ],
2295 'pageToken' => [
2296 'location' => 'query',
2297 'type' => 'string',
2298 ],
2299 ],
2300 ],'patch' => [
2301 'path' => 'v2/{+name}',
2302 'httpMethod' => 'PATCH',
2303 'parameters' => [
2304 'name' => [
2305 'location' => 'path',
2306 'type' => 'string',
2307 'required' => true,
2308 ],
2309 ],
2310 ],
2311 ]
2312 ]
2313 );
2314 $this->projects_locations_tableDataProfiles = new DLP\Resource\ProjectsLocationsTableDataProfiles(
2315 $this,
2316 $this->serviceName,
2317 'tableDataProfiles',
2318 [
2319 'methods' => [
2320 'delete' => [
2321 'path' => 'v2/{+name}',
2322 'httpMethod' => 'DELETE',
2323 'parameters' => [
2324 'name' => [
2325 'location' => 'path',
2326 'type' => 'string',
2327 'required' => true,
2328 ],
2329 ],
2330 ],'get' => [
2331 'path' => 'v2/{+name}',
2332 'httpMethod' => 'GET',
2333 'parameters' => [
2334 'name' => [
2335 'location' => 'path',
2336 'type' => 'string',
2337 'required' => true,
2338 ],
2339 ],
2340 ],'list' => [
2341 'path' => 'v2/{+parent}/tableDataProfiles',
2342 'httpMethod' => 'GET',
2343 'parameters' => [
2344 'parent' => [
2345 'location' => 'path',
2346 'type' => 'string',
2347 'required' => true,
2348 ],
2349 'filter' => [
2350 'location' => 'query',
2351 'type' => 'string',
2352 ],
2353 'orderBy' => [
2354 'location' => 'query',
2355 'type' => 'string',
2356 ],
2357 'pageSize' => [
2358 'location' => 'query',
2359 'type' => 'integer',
2360 ],
2361 'pageToken' => [
2362 'location' => 'query',
2363 'type' => 'string',
2364 ],
2365 ],
2366 ],
2367 ]
2368 ]
2369 );
2370 $this->projects_storedInfoTypes = new DLP\Resource\ProjectsStoredInfoTypes(
2371 $this,
2372 $this->serviceName,
2373 'storedInfoTypes',
2374 [
2375 'methods' => [
2376 'create' => [
2377 'path' => 'v2/{+parent}/storedInfoTypes',
2378 'httpMethod' => 'POST',
2379 'parameters' => [
2380 'parent' => [
2381 'location' => 'path',
2382 'type' => 'string',
2383 'required' => true,
2384 ],
2385 ],
2386 ],'delete' => [
2387 'path' => 'v2/{+name}',
2388 'httpMethod' => 'DELETE',
2389 'parameters' => [
2390 'name' => [
2391 'location' => 'path',
2392 'type' => 'string',
2393 'required' => true,
2394 ],
2395 ],
2396 ],'get' => [
2397 'path' => 'v2/{+name}',
2398 'httpMethod' => 'GET',
2399 'parameters' => [
2400 'name' => [
2401 'location' => 'path',
2402 'type' => 'string',
2403 'required' => true,
2404 ],
2405 ],
2406 ],'list' => [
2407 'path' => 'v2/{+parent}/storedInfoTypes',
2408 'httpMethod' => 'GET',
2409 'parameters' => [
2410 'parent' => [
2411 'location' => 'path',
2412 'type' => 'string',
2413 'required' => true,
2414 ],
2415 'locationId' => [
2416 'location' => 'query',
2417 'type' => 'string',
2418 ],
2419 'orderBy' => [
2420 'location' => 'query',
2421 'type' => 'string',
2422 ],
2423 'pageSize' => [
2424 'location' => 'query',
2425 'type' => 'integer',
2426 ],
2427 'pageToken' => [
2428 'location' => 'query',
2429 'type' => 'string',
2430 ],
2431 ],
2432 ],'patch' => [
2433 'path' => 'v2/{+name}',
2434 'httpMethod' => 'PATCH',
2435 'parameters' => [
2436 'name' => [
2437 'location' => 'path',
2438 'type' => 'string',
2439 'required' => true,
2440 ],
2441 ],
2442 ],
2443 ]
2444 ]
2445 );
2446 }
2447}
2448
2449// Adding a class alias for backwards compatibility with the previous class name.
2450class_alias(DLP::class, 'Google_Service_DLP');
Note: See TracBrowser for help on using the repository browser.