source: vendor/google/apiclient-services/src/Eventarc.php

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

Upload project files

  • Property mode set to 100644
File size: 37.9 KB
RevLine 
[e3d4e0a]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 Eventarc (v1).
24 *
25 * <p>
26 * Build event-driven applications on Google Cloud Platform.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/eventarc" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Eventarc extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40
41 public $projects_locations;
42 public $projects_locations_channelConnections;
43 public $projects_locations_channels;
44 public $projects_locations_enrollments;
45 public $projects_locations_googleApiSources;
46 public $projects_locations_messageBuses;
47 public $projects_locations_operations;
48 public $projects_locations_pipelines;
49 public $projects_locations_providers;
50 public $projects_locations_triggers;
51 public $rootUrlTemplate;
52
53 /**
54 * Constructs the internal representation of the Eventarc service.
55 *
56 * @param Client|array $clientOrConfig The client used to deliver requests, or a
57 * config array to pass to a new Client instance.
58 * @param string $rootUrl The root URL used for requests to the service.
59 */
60 public function __construct($clientOrConfig = [], $rootUrl = null)
61 {
62 parent::__construct($clientOrConfig);
63 $this->rootUrl = $rootUrl ?: 'https://eventarc.googleapis.com/';
64 $this->rootUrlTemplate = $rootUrl ?: 'https://eventarc.UNIVERSE_DOMAIN/';
65 $this->servicePath = '';
66 $this->batchPath = 'batch';
67 $this->version = 'v1';
68 $this->serviceName = 'eventarc';
69
70 $this->projects_locations = new Eventarc\Resource\ProjectsLocations(
71 $this,
72 $this->serviceName,
73 'locations',
74 [
75 'methods' => [
76 'get' => [
77 'path' => 'v1/{+name}',
78 'httpMethod' => 'GET',
79 'parameters' => [
80 'name' => [
81 'location' => 'path',
82 'type' => 'string',
83 'required' => true,
84 ],
85 ],
86 ],'getGoogleChannelConfig' => [
87 'path' => 'v1/{+name}',
88 'httpMethod' => 'GET',
89 'parameters' => [
90 'name' => [
91 'location' => 'path',
92 'type' => 'string',
93 'required' => true,
94 ],
95 ],
96 ],'list' => [
97 'path' => 'v1/{+name}/locations',
98 'httpMethod' => 'GET',
99 'parameters' => [
100 'name' => [
101 'location' => 'path',
102 'type' => 'string',
103 'required' => true,
104 ],
105 'filter' => [
106 'location' => 'query',
107 'type' => 'string',
108 ],
109 'pageSize' => [
110 'location' => 'query',
111 'type' => 'integer',
112 ],
113 'pageToken' => [
114 'location' => 'query',
115 'type' => 'string',
116 ],
117 ],
118 ],'updateGoogleChannelConfig' => [
119 'path' => 'v1/{+name}',
120 'httpMethod' => 'PATCH',
121 'parameters' => [
122 'name' => [
123 'location' => 'path',
124 'type' => 'string',
125 'required' => true,
126 ],
127 'updateMask' => [
128 'location' => 'query',
129 'type' => 'string',
130 ],
131 ],
132 ],
133 ]
134 ]
135 );
136 $this->projects_locations_channelConnections = new Eventarc\Resource\ProjectsLocationsChannelConnections(
137 $this,
138 $this->serviceName,
139 'channelConnections',
140 [
141 'methods' => [
142 'create' => [
143 'path' => 'v1/{+parent}/channelConnections',
144 'httpMethod' => 'POST',
145 'parameters' => [
146 'parent' => [
147 'location' => 'path',
148 'type' => 'string',
149 'required' => true,
150 ],
151 'channelConnectionId' => [
152 'location' => 'query',
153 'type' => 'string',
154 ],
155 ],
156 ],'delete' => [
157 'path' => 'v1/{+name}',
158 'httpMethod' => 'DELETE',
159 'parameters' => [
160 'name' => [
161 'location' => 'path',
162 'type' => 'string',
163 'required' => true,
164 ],
165 ],
166 ],'get' => [
167 'path' => 'v1/{+name}',
168 'httpMethod' => 'GET',
169 'parameters' => [
170 'name' => [
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ],
175 ],
176 ],'getIamPolicy' => [
177 'path' => 'v1/{+resource}:getIamPolicy',
178 'httpMethod' => 'GET',
179 'parameters' => [
180 'resource' => [
181 'location' => 'path',
182 'type' => 'string',
183 'required' => true,
184 ],
185 'options.requestedPolicyVersion' => [
186 'location' => 'query',
187 'type' => 'integer',
188 ],
189 ],
190 ],'list' => [
191 'path' => 'v1/{+parent}/channelConnections',
192 'httpMethod' => 'GET',
193 'parameters' => [
194 'parent' => [
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ],
199 'pageSize' => [
200 'location' => 'query',
201 'type' => 'integer',
202 ],
203 'pageToken' => [
204 'location' => 'query',
205 'type' => 'string',
206 ],
207 ],
208 ],'setIamPolicy' => [
209 'path' => 'v1/{+resource}:setIamPolicy',
210 'httpMethod' => 'POST',
211 'parameters' => [
212 'resource' => [
213 'location' => 'path',
214 'type' => 'string',
215 'required' => true,
216 ],
217 ],
218 ],'testIamPermissions' => [
219 'path' => 'v1/{+resource}:testIamPermissions',
220 'httpMethod' => 'POST',
221 'parameters' => [
222 'resource' => [
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ],
227 ],
228 ],
229 ]
230 ]
231 );
232 $this->projects_locations_channels = new Eventarc\Resource\ProjectsLocationsChannels(
233 $this,
234 $this->serviceName,
235 'channels',
236 [
237 'methods' => [
238 'create' => [
239 'path' => 'v1/{+parent}/channels',
240 'httpMethod' => 'POST',
241 'parameters' => [
242 'parent' => [
243 'location' => 'path',
244 'type' => 'string',
245 'required' => true,
246 ],
247 'channelId' => [
248 'location' => 'query',
249 'type' => 'string',
250 ],
251 'validateOnly' => [
252 'location' => 'query',
253 'type' => 'boolean',
254 ],
255 ],
256 ],'delete' => [
257 'path' => 'v1/{+name}',
258 'httpMethod' => 'DELETE',
259 'parameters' => [
260 'name' => [
261 'location' => 'path',
262 'type' => 'string',
263 'required' => true,
264 ],
265 'validateOnly' => [
266 'location' => 'query',
267 'type' => 'boolean',
268 ],
269 ],
270 ],'get' => [
271 'path' => 'v1/{+name}',
272 'httpMethod' => 'GET',
273 'parameters' => [
274 'name' => [
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ],
279 ],
280 ],'getIamPolicy' => [
281 'path' => 'v1/{+resource}:getIamPolicy',
282 'httpMethod' => 'GET',
283 'parameters' => [
284 'resource' => [
285 'location' => 'path',
286 'type' => 'string',
287 'required' => true,
288 ],
289 'options.requestedPolicyVersion' => [
290 'location' => 'query',
291 'type' => 'integer',
292 ],
293 ],
294 ],'list' => [
295 'path' => 'v1/{+parent}/channels',
296 'httpMethod' => 'GET',
297 'parameters' => [
298 'parent' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 'orderBy' => [
304 'location' => 'query',
305 'type' => 'string',
306 ],
307 'pageSize' => [
308 'location' => 'query',
309 'type' => 'integer',
310 ],
311 'pageToken' => [
312 'location' => 'query',
313 'type' => 'string',
314 ],
315 ],
316 ],'patch' => [
317 'path' => 'v1/{+name}',
318 'httpMethod' => 'PATCH',
319 'parameters' => [
320 'name' => [
321 'location' => 'path',
322 'type' => 'string',
323 'required' => true,
324 ],
325 'updateMask' => [
326 'location' => 'query',
327 'type' => 'string',
328 ],
329 'validateOnly' => [
330 'location' => 'query',
331 'type' => 'boolean',
332 ],
333 ],
334 ],'setIamPolicy' => [
335 'path' => 'v1/{+resource}:setIamPolicy',
336 'httpMethod' => 'POST',
337 'parameters' => [
338 'resource' => [
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ],
343 ],
344 ],'testIamPermissions' => [
345 'path' => 'v1/{+resource}:testIamPermissions',
346 'httpMethod' => 'POST',
347 'parameters' => [
348 'resource' => [
349 'location' => 'path',
350 'type' => 'string',
351 'required' => true,
352 ],
353 ],
354 ],
355 ]
356 ]
357 );
358 $this->projects_locations_enrollments = new Eventarc\Resource\ProjectsLocationsEnrollments(
359 $this,
360 $this->serviceName,
361 'enrollments',
362 [
363 'methods' => [
364 'create' => [
365 'path' => 'v1/{+parent}/enrollments',
366 'httpMethod' => 'POST',
367 'parameters' => [
368 'parent' => [
369 'location' => 'path',
370 'type' => 'string',
371 'required' => true,
372 ],
373 'enrollmentId' => [
374 'location' => 'query',
375 'type' => 'string',
376 ],
377 'validateOnly' => [
378 'location' => 'query',
379 'type' => 'boolean',
380 ],
381 ],
382 ],'delete' => [
383 'path' => 'v1/{+name}',
384 'httpMethod' => 'DELETE',
385 'parameters' => [
386 'name' => [
387 'location' => 'path',
388 'type' => 'string',
389 'required' => true,
390 ],
391 'allowMissing' => [
392 'location' => 'query',
393 'type' => 'boolean',
394 ],
395 'etag' => [
396 'location' => 'query',
397 'type' => 'string',
398 ],
399 'validateOnly' => [
400 'location' => 'query',
401 'type' => 'boolean',
402 ],
403 ],
404 ],'get' => [
405 'path' => 'v1/{+name}',
406 'httpMethod' => 'GET',
407 'parameters' => [
408 'name' => [
409 'location' => 'path',
410 'type' => 'string',
411 'required' => true,
412 ],
413 ],
414 ],'getIamPolicy' => [
415 'path' => 'v1/{+resource}:getIamPolicy',
416 'httpMethod' => 'GET',
417 'parameters' => [
418 'resource' => [
419 'location' => 'path',
420 'type' => 'string',
421 'required' => true,
422 ],
423 'options.requestedPolicyVersion' => [
424 'location' => 'query',
425 'type' => 'integer',
426 ],
427 ],
428 ],'list' => [
429 'path' => 'v1/{+parent}/enrollments',
430 'httpMethod' => 'GET',
431 'parameters' => [
432 'parent' => [
433 'location' => 'path',
434 'type' => 'string',
435 'required' => true,
436 ],
437 'filter' => [
438 'location' => 'query',
439 'type' => 'string',
440 ],
441 'orderBy' => [
442 'location' => 'query',
443 'type' => 'string',
444 ],
445 'pageSize' => [
446 'location' => 'query',
447 'type' => 'integer',
448 ],
449 'pageToken' => [
450 'location' => 'query',
451 'type' => 'string',
452 ],
453 ],
454 ],'patch' => [
455 'path' => 'v1/{+name}',
456 'httpMethod' => 'PATCH',
457 'parameters' => [
458 'name' => [
459 'location' => 'path',
460 'type' => 'string',
461 'required' => true,
462 ],
463 'allowMissing' => [
464 'location' => 'query',
465 'type' => 'boolean',
466 ],
467 'updateMask' => [
468 'location' => 'query',
469 'type' => 'string',
470 ],
471 'validateOnly' => [
472 'location' => 'query',
473 'type' => 'boolean',
474 ],
475 ],
476 ],'setIamPolicy' => [
477 'path' => 'v1/{+resource}:setIamPolicy',
478 'httpMethod' => 'POST',
479 'parameters' => [
480 'resource' => [
481 'location' => 'path',
482 'type' => 'string',
483 'required' => true,
484 ],
485 ],
486 ],'testIamPermissions' => [
487 'path' => 'v1/{+resource}:testIamPermissions',
488 'httpMethod' => 'POST',
489 'parameters' => [
490 'resource' => [
491 'location' => 'path',
492 'type' => 'string',
493 'required' => true,
494 ],
495 ],
496 ],
497 ]
498 ]
499 );
500 $this->projects_locations_googleApiSources = new Eventarc\Resource\ProjectsLocationsGoogleApiSources(
501 $this,
502 $this->serviceName,
503 'googleApiSources',
504 [
505 'methods' => [
506 'create' => [
507 'path' => 'v1/{+parent}/googleApiSources',
508 'httpMethod' => 'POST',
509 'parameters' => [
510 'parent' => [
511 'location' => 'path',
512 'type' => 'string',
513 'required' => true,
514 ],
515 'googleApiSourceId' => [
516 'location' => 'query',
517 'type' => 'string',
518 ],
519 'validateOnly' => [
520 'location' => 'query',
521 'type' => 'boolean',
522 ],
523 ],
524 ],'delete' => [
525 'path' => 'v1/{+name}',
526 'httpMethod' => 'DELETE',
527 'parameters' => [
528 'name' => [
529 'location' => 'path',
530 'type' => 'string',
531 'required' => true,
532 ],
533 'allowMissing' => [
534 'location' => 'query',
535 'type' => 'boolean',
536 ],
537 'etag' => [
538 'location' => 'query',
539 'type' => 'string',
540 ],
541 'validateOnly' => [
542 'location' => 'query',
543 'type' => 'boolean',
544 ],
545 ],
546 ],'get' => [
547 'path' => 'v1/{+name}',
548 'httpMethod' => 'GET',
549 'parameters' => [
550 'name' => [
551 'location' => 'path',
552 'type' => 'string',
553 'required' => true,
554 ],
555 ],
556 ],'getIamPolicy' => [
557 'path' => 'v1/{+resource}:getIamPolicy',
558 'httpMethod' => 'GET',
559 'parameters' => [
560 'resource' => [
561 'location' => 'path',
562 'type' => 'string',
563 'required' => true,
564 ],
565 'options.requestedPolicyVersion' => [
566 'location' => 'query',
567 'type' => 'integer',
568 ],
569 ],
570 ],'list' => [
571 'path' => 'v1/{+parent}/googleApiSources',
572 'httpMethod' => 'GET',
573 'parameters' => [
574 'parent' => [
575 'location' => 'path',
576 'type' => 'string',
577 'required' => true,
578 ],
579 'filter' => [
580 'location' => 'query',
581 'type' => 'string',
582 ],
583 'orderBy' => [
584 'location' => 'query',
585 'type' => 'string',
586 ],
587 'pageSize' => [
588 'location' => 'query',
589 'type' => 'integer',
590 ],
591 'pageToken' => [
592 'location' => 'query',
593 'type' => 'string',
594 ],
595 ],
596 ],'patch' => [
597 'path' => 'v1/{+name}',
598 'httpMethod' => 'PATCH',
599 'parameters' => [
600 'name' => [
601 'location' => 'path',
602 'type' => 'string',
603 'required' => true,
604 ],
605 'allowMissing' => [
606 'location' => 'query',
607 'type' => 'boolean',
608 ],
609 'updateMask' => [
610 'location' => 'query',
611 'type' => 'string',
612 ],
613 'validateOnly' => [
614 'location' => 'query',
615 'type' => 'boolean',
616 ],
617 ],
618 ],'setIamPolicy' => [
619 'path' => 'v1/{+resource}:setIamPolicy',
620 'httpMethod' => 'POST',
621 'parameters' => [
622 'resource' => [
623 'location' => 'path',
624 'type' => 'string',
625 'required' => true,
626 ],
627 ],
628 ],'testIamPermissions' => [
629 'path' => 'v1/{+resource}:testIamPermissions',
630 'httpMethod' => 'POST',
631 'parameters' => [
632 'resource' => [
633 'location' => 'path',
634 'type' => 'string',
635 'required' => true,
636 ],
637 ],
638 ],
639 ]
640 ]
641 );
642 $this->projects_locations_messageBuses = new Eventarc\Resource\ProjectsLocationsMessageBuses(
643 $this,
644 $this->serviceName,
645 'messageBuses',
646 [
647 'methods' => [
648 'create' => [
649 'path' => 'v1/{+parent}/messageBuses',
650 'httpMethod' => 'POST',
651 'parameters' => [
652 'parent' => [
653 'location' => 'path',
654 'type' => 'string',
655 'required' => true,
656 ],
657 'messageBusId' => [
658 'location' => 'query',
659 'type' => 'string',
660 ],
661 'validateOnly' => [
662 'location' => 'query',
663 'type' => 'boolean',
664 ],
665 ],
666 ],'delete' => [
667 'path' => 'v1/{+name}',
668 'httpMethod' => 'DELETE',
669 'parameters' => [
670 'name' => [
671 'location' => 'path',
672 'type' => 'string',
673 'required' => true,
674 ],
675 'allowMissing' => [
676 'location' => 'query',
677 'type' => 'boolean',
678 ],
679 'etag' => [
680 'location' => 'query',
681 'type' => 'string',
682 ],
683 'validateOnly' => [
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' => 'GET',
701 'parameters' => [
702 'resource' => [
703 'location' => 'path',
704 'type' => 'string',
705 'required' => true,
706 ],
707 'options.requestedPolicyVersion' => [
708 'location' => 'query',
709 'type' => 'integer',
710 ],
711 ],
712 ],'list' => [
713 'path' => 'v1/{+parent}/messageBuses',
714 'httpMethod' => 'GET',
715 'parameters' => [
716 'parent' => [
717 'location' => 'path',
718 'type' => 'string',
719 'required' => true,
720 ],
721 'filter' => [
722 'location' => 'query',
723 'type' => 'string',
724 ],
725 'orderBy' => [
726 'location' => 'query',
727 'type' => 'string',
728 ],
729 'pageSize' => [
730 'location' => 'query',
731 'type' => 'integer',
732 ],
733 'pageToken' => [
734 'location' => 'query',
735 'type' => 'string',
736 ],
737 ],
738 ],'listEnrollments' => [
739 'path' => 'v1/{+parent}:listEnrollments',
740 'httpMethod' => 'GET',
741 'parameters' => [
742 'parent' => [
743 'location' => 'path',
744 'type' => 'string',
745 'required' => true,
746 ],
747 'pageSize' => [
748 'location' => 'query',
749 'type' => 'integer',
750 ],
751 'pageToken' => [
752 'location' => 'query',
753 'type' => 'string',
754 ],
755 ],
756 ],'patch' => [
757 'path' => 'v1/{+name}',
758 'httpMethod' => 'PATCH',
759 'parameters' => [
760 'name' => [
761 'location' => 'path',
762 'type' => 'string',
763 'required' => true,
764 ],
765 'allowMissing' => [
766 'location' => 'query',
767 'type' => 'boolean',
768 ],
769 'updateMask' => [
770 'location' => 'query',
771 'type' => 'string',
772 ],
773 'validateOnly' => [
774 'location' => 'query',
775 'type' => 'boolean',
776 ],
777 ],
778 ],'setIamPolicy' => [
779 'path' => 'v1/{+resource}:setIamPolicy',
780 'httpMethod' => 'POST',
781 'parameters' => [
782 'resource' => [
783 'location' => 'path',
784 'type' => 'string',
785 'required' => true,
786 ],
787 ],
788 ],'testIamPermissions' => [
789 'path' => 'v1/{+resource}:testIamPermissions',
790 'httpMethod' => 'POST',
791 'parameters' => [
792 'resource' => [
793 'location' => 'path',
794 'type' => 'string',
795 'required' => true,
796 ],
797 ],
798 ],
799 ]
800 ]
801 );
802 $this->projects_locations_operations = new Eventarc\Resource\ProjectsLocationsOperations(
803 $this,
804 $this->serviceName,
805 'operations',
806 [
807 'methods' => [
808 'cancel' => [
809 'path' => 'v1/{+name}:cancel',
810 'httpMethod' => 'POST',
811 'parameters' => [
812 'name' => [
813 'location' => 'path',
814 'type' => 'string',
815 'required' => true,
816 ],
817 ],
818 ],'delete' => [
819 'path' => 'v1/{+name}',
820 'httpMethod' => 'DELETE',
821 'parameters' => [
822 'name' => [
823 'location' => 'path',
824 'type' => 'string',
825 'required' => true,
826 ],
827 ],
828 ],'get' => [
829 'path' => 'v1/{+name}',
830 'httpMethod' => 'GET',
831 'parameters' => [
832 'name' => [
833 'location' => 'path',
834 'type' => 'string',
835 'required' => true,
836 ],
837 ],
838 ],'list' => [
839 'path' => 'v1/{+name}/operations',
840 'httpMethod' => 'GET',
841 'parameters' => [
842 'name' => [
843 'location' => 'path',
844 'type' => 'string',
845 'required' => true,
846 ],
847 'filter' => [
848 'location' => 'query',
849 'type' => 'string',
850 ],
851 'pageSize' => [
852 'location' => 'query',
853 'type' => 'integer',
854 ],
855 'pageToken' => [
856 'location' => 'query',
857 'type' => 'string',
858 ],
859 ],
860 ],
861 ]
862 ]
863 );
864 $this->projects_locations_pipelines = new Eventarc\Resource\ProjectsLocationsPipelines(
865 $this,
866 $this->serviceName,
867 'pipelines',
868 [
869 'methods' => [
870 'create' => [
871 'path' => 'v1/{+parent}/pipelines',
872 'httpMethod' => 'POST',
873 'parameters' => [
874 'parent' => [
875 'location' => 'path',
876 'type' => 'string',
877 'required' => true,
878 ],
879 'pipelineId' => [
880 'location' => 'query',
881 'type' => 'string',
882 ],
883 'validateOnly' => [
884 'location' => 'query',
885 'type' => 'boolean',
886 ],
887 ],
888 ],'delete' => [
889 'path' => 'v1/{+name}',
890 'httpMethod' => 'DELETE',
891 'parameters' => [
892 'name' => [
893 'location' => 'path',
894 'type' => 'string',
895 'required' => true,
896 ],
897 'allowMissing' => [
898 'location' => 'query',
899 'type' => 'boolean',
900 ],
901 'etag' => [
902 'location' => 'query',
903 'type' => 'string',
904 ],
905 'validateOnly' => [
906 'location' => 'query',
907 'type' => 'boolean',
908 ],
909 ],
910 ],'get' => [
911 'path' => 'v1/{+name}',
912 'httpMethod' => 'GET',
913 'parameters' => [
914 'name' => [
915 'location' => 'path',
916 'type' => 'string',
917 'required' => true,
918 ],
919 ],
920 ],'getIamPolicy' => [
921 'path' => 'v1/{+resource}:getIamPolicy',
922 'httpMethod' => 'GET',
923 'parameters' => [
924 'resource' => [
925 'location' => 'path',
926 'type' => 'string',
927 'required' => true,
928 ],
929 'options.requestedPolicyVersion' => [
930 'location' => 'query',
931 'type' => 'integer',
932 ],
933 ],
934 ],'list' => [
935 'path' => 'v1/{+parent}/pipelines',
936 'httpMethod' => 'GET',
937 'parameters' => [
938 'parent' => [
939 'location' => 'path',
940 'type' => 'string',
941 'required' => true,
942 ],
943 'filter' => [
944 'location' => 'query',
945 'type' => 'string',
946 ],
947 'orderBy' => [
948 'location' => 'query',
949 'type' => 'string',
950 ],
951 'pageSize' => [
952 'location' => 'query',
953 'type' => 'integer',
954 ],
955 'pageToken' => [
956 'location' => 'query',
957 'type' => 'string',
958 ],
959 ],
960 ],'patch' => [
961 'path' => 'v1/{+name}',
962 'httpMethod' => 'PATCH',
963 'parameters' => [
964 'name' => [
965 'location' => 'path',
966 'type' => 'string',
967 'required' => true,
968 ],
969 'allowMissing' => [
970 'location' => 'query',
971 'type' => 'boolean',
972 ],
973 'updateMask' => [
974 'location' => 'query',
975 'type' => 'string',
976 ],
977 'validateOnly' => [
978 'location' => 'query',
979 'type' => 'boolean',
980 ],
981 ],
982 ],'setIamPolicy' => [
983 'path' => 'v1/{+resource}:setIamPolicy',
984 'httpMethod' => 'POST',
985 'parameters' => [
986 'resource' => [
987 'location' => 'path',
988 'type' => 'string',
989 'required' => true,
990 ],
991 ],
992 ],'testIamPermissions' => [
993 'path' => 'v1/{+resource}:testIamPermissions',
994 'httpMethod' => 'POST',
995 'parameters' => [
996 'resource' => [
997 'location' => 'path',
998 'type' => 'string',
999 'required' => true,
1000 ],
1001 ],
1002 ],
1003 ]
1004 ]
1005 );
1006 $this->projects_locations_providers = new Eventarc\Resource\ProjectsLocationsProviders(
1007 $this,
1008 $this->serviceName,
1009 'providers',
1010 [
1011 'methods' => [
1012 'get' => [
1013 'path' => 'v1/{+name}',
1014 'httpMethod' => 'GET',
1015 'parameters' => [
1016 'name' => [
1017 'location' => 'path',
1018 'type' => 'string',
1019 'required' => true,
1020 ],
1021 ],
1022 ],'list' => [
1023 'path' => 'v1/{+parent}/providers',
1024 'httpMethod' => 'GET',
1025 'parameters' => [
1026 'parent' => [
1027 'location' => 'path',
1028 'type' => 'string',
1029 'required' => true,
1030 ],
1031 'filter' => [
1032 'location' => 'query',
1033 'type' => 'string',
1034 ],
1035 'orderBy' => [
1036 'location' => 'query',
1037 'type' => 'string',
1038 ],
1039 'pageSize' => [
1040 'location' => 'query',
1041 'type' => 'integer',
1042 ],
1043 'pageToken' => [
1044 'location' => 'query',
1045 'type' => 'string',
1046 ],
1047 ],
1048 ],
1049 ]
1050 ]
1051 );
1052 $this->projects_locations_triggers = new Eventarc\Resource\ProjectsLocationsTriggers(
1053 $this,
1054 $this->serviceName,
1055 'triggers',
1056 [
1057 'methods' => [
1058 'create' => [
1059 'path' => 'v1/{+parent}/triggers',
1060 'httpMethod' => 'POST',
1061 'parameters' => [
1062 'parent' => [
1063 'location' => 'path',
1064 'type' => 'string',
1065 'required' => true,
1066 ],
1067 'triggerId' => [
1068 'location' => 'query',
1069 'type' => 'string',
1070 ],
1071 'validateOnly' => [
1072 'location' => 'query',
1073 'type' => 'boolean',
1074 ],
1075 ],
1076 ],'delete' => [
1077 'path' => 'v1/{+name}',
1078 'httpMethod' => 'DELETE',
1079 'parameters' => [
1080 'name' => [
1081 'location' => 'path',
1082 'type' => 'string',
1083 'required' => true,
1084 ],
1085 'allowMissing' => [
1086 'location' => 'query',
1087 'type' => 'boolean',
1088 ],
1089 'etag' => [
1090 'location' => 'query',
1091 'type' => 'string',
1092 ],
1093 'validateOnly' => [
1094 'location' => 'query',
1095 'type' => 'boolean',
1096 ],
1097 ],
1098 ],'get' => [
1099 'path' => 'v1/{+name}',
1100 'httpMethod' => 'GET',
1101 'parameters' => [
1102 'name' => [
1103 'location' => 'path',
1104 'type' => 'string',
1105 'required' => true,
1106 ],
1107 ],
1108 ],'getIamPolicy' => [
1109 'path' => 'v1/{+resource}:getIamPolicy',
1110 'httpMethod' => 'GET',
1111 'parameters' => [
1112 'resource' => [
1113 'location' => 'path',
1114 'type' => 'string',
1115 'required' => true,
1116 ],
1117 'options.requestedPolicyVersion' => [
1118 'location' => 'query',
1119 'type' => 'integer',
1120 ],
1121 ],
1122 ],'list' => [
1123 'path' => 'v1/{+parent}/triggers',
1124 'httpMethod' => 'GET',
1125 'parameters' => [
1126 'parent' => [
1127 'location' => 'path',
1128 'type' => 'string',
1129 'required' => true,
1130 ],
1131 'filter' => [
1132 'location' => 'query',
1133 'type' => 'string',
1134 ],
1135 'orderBy' => [
1136 'location' => 'query',
1137 'type' => 'string',
1138 ],
1139 'pageSize' => [
1140 'location' => 'query',
1141 'type' => 'integer',
1142 ],
1143 'pageToken' => [
1144 'location' => 'query',
1145 'type' => 'string',
1146 ],
1147 ],
1148 ],'patch' => [
1149 'path' => 'v1/{+name}',
1150 'httpMethod' => 'PATCH',
1151 'parameters' => [
1152 'name' => [
1153 'location' => 'path',
1154 'type' => 'string',
1155 'required' => true,
1156 ],
1157 'allowMissing' => [
1158 'location' => 'query',
1159 'type' => 'boolean',
1160 ],
1161 'updateMask' => [
1162 'location' => 'query',
1163 'type' => 'string',
1164 ],
1165 'validateOnly' => [
1166 'location' => 'query',
1167 'type' => 'boolean',
1168 ],
1169 ],
1170 ],'setIamPolicy' => [
1171 'path' => 'v1/{+resource}:setIamPolicy',
1172 'httpMethod' => 'POST',
1173 'parameters' => [
1174 'resource' => [
1175 'location' => 'path',
1176 'type' => 'string',
1177 'required' => true,
1178 ],
1179 ],
1180 ],'testIamPermissions' => [
1181 'path' => 'v1/{+resource}:testIamPermissions',
1182 'httpMethod' => 'POST',
1183 'parameters' => [
1184 'resource' => [
1185 'location' => 'path',
1186 'type' => 'string',
1187 'required' => true,
1188 ],
1189 ],
1190 ],
1191 ]
1192 ]
1193 );
1194 }
1195}
1196
1197// Adding a class alias for backwards compatibility with the previous class name.
1198class_alias(Eventarc::class, 'Google_Service_Eventarc');
Note: See TracBrowser for help on using the repository browser.