source: vendor/google/apiclient-services/src/Networkconnectivity.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: 46.8 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 Networkconnectivity (v1).
24 *
25 * <p>
26 * This API enables connectivity with and between Google Cloud resources.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Networkconnectivity 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_global_hubs;
43 public $projects_locations_global_hubs_groups;
44 public $projects_locations_global_hubs_routeTables;
45 public $projects_locations_global_hubs_routeTables_routes;
46 public $projects_locations_global_policyBasedRoutes;
47 public $projects_locations_internalRanges;
48 public $projects_locations_operations;
49 public $projects_locations_regionalEndpoints;
50 public $projects_locations_serviceClasses;
51 public $projects_locations_serviceConnectionMaps;
52 public $projects_locations_serviceConnectionPolicies;
53 public $projects_locations_serviceConnectionTokens;
54 public $projects_locations_spokes;
55 public $rootUrlTemplate;
56
57 /**
58 * Constructs the internal representation of the Networkconnectivity service.
59 *
60 * @param Client|array $clientOrConfig The client used to deliver requests, or a
61 * config array to pass to a new Client instance.
62 * @param string $rootUrl The root URL used for requests to the service.
63 */
64 public function __construct($clientOrConfig = [], $rootUrl = null)
65 {
66 parent::__construct($clientOrConfig);
67 $this->rootUrl = $rootUrl ?: 'https://networkconnectivity.googleapis.com/';
68 $this->rootUrlTemplate = $rootUrl ?: 'https://networkconnectivity.UNIVERSE_DOMAIN/';
69 $this->servicePath = '';
70 $this->batchPath = 'batch';
71 $this->version = 'v1';
72 $this->serviceName = 'networkconnectivity';
73
74 $this->projects_locations = new Networkconnectivity\Resource\ProjectsLocations(
75 $this,
76 $this->serviceName,
77 'locations',
78 [
79 'methods' => [
80 'get' => [
81 'path' => 'v1/{+name}',
82 'httpMethod' => 'GET',
83 'parameters' => [
84 'name' => [
85 'location' => 'path',
86 'type' => 'string',
87 'required' => true,
88 ],
89 ],
90 ],'list' => [
91 'path' => 'v1/{+name}/locations',
92 'httpMethod' => 'GET',
93 'parameters' => [
94 'name' => [
95 'location' => 'path',
96 'type' => 'string',
97 'required' => true,
98 ],
99 'filter' => [
100 'location' => 'query',
101 'type' => 'string',
102 ],
103 'pageSize' => [
104 'location' => 'query',
105 'type' => 'integer',
106 ],
107 'pageToken' => [
108 'location' => 'query',
109 'type' => 'string',
110 ],
111 ],
112 ],
113 ]
114 ]
115 );
116 $this->projects_locations_global_hubs = new Networkconnectivity\Resource\ProjectsLocationsNetworkconnectivityGlobalHubs(
117 $this,
118 $this->serviceName,
119 'hubs',
120 [
121 'methods' => [
122 'acceptSpoke' => [
123 'path' => 'v1/{+name}:acceptSpoke',
124 'httpMethod' => 'POST',
125 'parameters' => [
126 'name' => [
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ],
131 ],
132 ],'create' => [
133 'path' => 'v1/{+parent}/hubs',
134 'httpMethod' => 'POST',
135 'parameters' => [
136 'parent' => [
137 'location' => 'path',
138 'type' => 'string',
139 'required' => true,
140 ],
141 'hubId' => [
142 'location' => 'query',
143 'type' => 'string',
144 ],
145 'requestId' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 ],
150 ],'delete' => [
151 'path' => 'v1/{+name}',
152 'httpMethod' => 'DELETE',
153 'parameters' => [
154 'name' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 'requestId' => [
160 'location' => 'query',
161 'type' => 'string',
162 ],
163 ],
164 ],'get' => [
165 'path' => 'v1/{+name}',
166 'httpMethod' => 'GET',
167 'parameters' => [
168 'name' => [
169 'location' => 'path',
170 'type' => 'string',
171 'required' => true,
172 ],
173 ],
174 ],'getIamPolicy' => [
175 'path' => 'v1/{+resource}:getIamPolicy',
176 'httpMethod' => 'GET',
177 'parameters' => [
178 'resource' => [
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ],
183 'options.requestedPolicyVersion' => [
184 'location' => 'query',
185 'type' => 'integer',
186 ],
187 ],
188 ],'list' => [
189 'path' => 'v1/{+parent}/hubs',
190 'httpMethod' => 'GET',
191 'parameters' => [
192 'parent' => [
193 'location' => 'path',
194 'type' => 'string',
195 'required' => true,
196 ],
197 'filter' => [
198 'location' => 'query',
199 'type' => 'string',
200 ],
201 'orderBy' => [
202 'location' => 'query',
203 'type' => 'string',
204 ],
205 'pageSize' => [
206 'location' => 'query',
207 'type' => 'integer',
208 ],
209 'pageToken' => [
210 'location' => 'query',
211 'type' => 'string',
212 ],
213 ],
214 ],'listSpokes' => [
215 'path' => 'v1/{+name}:listSpokes',
216 'httpMethod' => 'GET',
217 'parameters' => [
218 'name' => [
219 'location' => 'path',
220 'type' => 'string',
221 'required' => true,
222 ],
223 'filter' => [
224 'location' => 'query',
225 'type' => 'string',
226 ],
227 'orderBy' => [
228 'location' => 'query',
229 'type' => 'string',
230 ],
231 'pageSize' => [
232 'location' => 'query',
233 'type' => 'integer',
234 ],
235 'pageToken' => [
236 'location' => 'query',
237 'type' => 'string',
238 ],
239 'spokeLocations' => [
240 'location' => 'query',
241 'type' => 'string',
242 'repeated' => true,
243 ],
244 'view' => [
245 'location' => 'query',
246 'type' => 'string',
247 ],
248 ],
249 ],'patch' => [
250 'path' => 'v1/{+name}',
251 'httpMethod' => 'PATCH',
252 'parameters' => [
253 'name' => [
254 'location' => 'path',
255 'type' => 'string',
256 'required' => true,
257 ],
258 'requestId' => [
259 'location' => 'query',
260 'type' => 'string',
261 ],
262 'updateMask' => [
263 'location' => 'query',
264 'type' => 'string',
265 ],
266 ],
267 ],'queryStatus' => [
268 'path' => 'v1/{+name}:queryStatus',
269 'httpMethod' => 'GET',
270 'parameters' => [
271 'name' => [
272 'location' => 'path',
273 'type' => 'string',
274 'required' => true,
275 ],
276 'filter' => [
277 'location' => 'query',
278 'type' => 'string',
279 ],
280 'groupBy' => [
281 'location' => 'query',
282 'type' => 'string',
283 ],
284 'orderBy' => [
285 'location' => 'query',
286 'type' => 'string',
287 ],
288 'pageSize' => [
289 'location' => 'query',
290 'type' => 'integer',
291 ],
292 'pageToken' => [
293 'location' => 'query',
294 'type' => 'string',
295 ],
296 ],
297 ],'rejectSpoke' => [
298 'path' => 'v1/{+name}:rejectSpoke',
299 'httpMethod' => 'POST',
300 'parameters' => [
301 'name' => [
302 'location' => 'path',
303 'type' => 'string',
304 'required' => true,
305 ],
306 ],
307 ],'setIamPolicy' => [
308 'path' => 'v1/{+resource}:setIamPolicy',
309 'httpMethod' => 'POST',
310 'parameters' => [
311 'resource' => [
312 'location' => 'path',
313 'type' => 'string',
314 'required' => true,
315 ],
316 ],
317 ],'testIamPermissions' => [
318 'path' => 'v1/{+resource}:testIamPermissions',
319 'httpMethod' => 'POST',
320 'parameters' => [
321 'resource' => [
322 'location' => 'path',
323 'type' => 'string',
324 'required' => true,
325 ],
326 ],
327 ],
328 ]
329 ]
330 );
331 $this->projects_locations_global_hubs_groups = new Networkconnectivity\Resource\ProjectsLocationsNetworkconnectivityGlobalHubsGroups(
332 $this,
333 $this->serviceName,
334 'groups',
335 [
336 'methods' => [
337 'get' => [
338 'path' => 'v1/{+name}',
339 'httpMethod' => 'GET',
340 'parameters' => [
341 'name' => [
342 'location' => 'path',
343 'type' => 'string',
344 'required' => true,
345 ],
346 ],
347 ],'getIamPolicy' => [
348 'path' => 'v1/{+resource}:getIamPolicy',
349 'httpMethod' => 'GET',
350 'parameters' => [
351 'resource' => [
352 'location' => 'path',
353 'type' => 'string',
354 'required' => true,
355 ],
356 'options.requestedPolicyVersion' => [
357 'location' => 'query',
358 'type' => 'integer',
359 ],
360 ],
361 ],'list' => [
362 'path' => 'v1/{+parent}/groups',
363 'httpMethod' => 'GET',
364 'parameters' => [
365 'parent' => [
366 'location' => 'path',
367 'type' => 'string',
368 'required' => true,
369 ],
370 'filter' => [
371 'location' => 'query',
372 'type' => 'string',
373 ],
374 'orderBy' => [
375 'location' => 'query',
376 'type' => 'string',
377 ],
378 'pageSize' => [
379 'location' => 'query',
380 'type' => 'integer',
381 ],
382 'pageToken' => [
383 'location' => 'query',
384 'type' => 'string',
385 ],
386 ],
387 ],'patch' => [
388 'path' => 'v1/{+name}',
389 'httpMethod' => 'PATCH',
390 'parameters' => [
391 'name' => [
392 'location' => 'path',
393 'type' => 'string',
394 'required' => true,
395 ],
396 'requestId' => [
397 'location' => 'query',
398 'type' => 'string',
399 ],
400 'updateMask' => [
401 'location' => 'query',
402 'type' => 'string',
403 ],
404 ],
405 ],'setIamPolicy' => [
406 'path' => 'v1/{+resource}:setIamPolicy',
407 'httpMethod' => 'POST',
408 'parameters' => [
409 'resource' => [
410 'location' => 'path',
411 'type' => 'string',
412 'required' => true,
413 ],
414 ],
415 ],'testIamPermissions' => [
416 'path' => 'v1/{+resource}:testIamPermissions',
417 'httpMethod' => 'POST',
418 'parameters' => [
419 'resource' => [
420 'location' => 'path',
421 'type' => 'string',
422 'required' => true,
423 ],
424 ],
425 ],
426 ]
427 ]
428 );
429 $this->projects_locations_global_hubs_routeTables = new Networkconnectivity\Resource\ProjectsLocationsNetworkconnectivityGlobalHubsRouteTables(
430 $this,
431 $this->serviceName,
432 'routeTables',
433 [
434 'methods' => [
435 'get' => [
436 'path' => 'v1/{+name}',
437 'httpMethod' => 'GET',
438 'parameters' => [
439 'name' => [
440 'location' => 'path',
441 'type' => 'string',
442 'required' => true,
443 ],
444 ],
445 ],'list' => [
446 'path' => 'v1/{+parent}/routeTables',
447 'httpMethod' => 'GET',
448 'parameters' => [
449 'parent' => [
450 'location' => 'path',
451 'type' => 'string',
452 'required' => true,
453 ],
454 'filter' => [
455 'location' => 'query',
456 'type' => 'string',
457 ],
458 'orderBy' => [
459 'location' => 'query',
460 'type' => 'string',
461 ],
462 'pageSize' => [
463 'location' => 'query',
464 'type' => 'integer',
465 ],
466 'pageToken' => [
467 'location' => 'query',
468 'type' => 'string',
469 ],
470 ],
471 ],
472 ]
473 ]
474 );
475 $this->projects_locations_global_hubs_routeTables_routes = new Networkconnectivity\Resource\ProjectsLocationsNetworkconnectivityGlobalHubsRouteTablesRoutes(
476 $this,
477 $this->serviceName,
478 'routes',
479 [
480 'methods' => [
481 'get' => [
482 'path' => 'v1/{+name}',
483 'httpMethod' => 'GET',
484 'parameters' => [
485 'name' => [
486 'location' => 'path',
487 'type' => 'string',
488 'required' => true,
489 ],
490 ],
491 ],'list' => [
492 'path' => 'v1/{+parent}/routes',
493 'httpMethod' => 'GET',
494 'parameters' => [
495 'parent' => [
496 'location' => 'path',
497 'type' => 'string',
498 'required' => true,
499 ],
500 'filter' => [
501 'location' => 'query',
502 'type' => 'string',
503 ],
504 'orderBy' => [
505 'location' => 'query',
506 'type' => 'string',
507 ],
508 'pageSize' => [
509 'location' => 'query',
510 'type' => 'integer',
511 ],
512 'pageToken' => [
513 'location' => 'query',
514 'type' => 'string',
515 ],
516 ],
517 ],
518 ]
519 ]
520 );
521 $this->projects_locations_global_policyBasedRoutes = new Networkconnectivity\Resource\ProjectsLocationsNetworkconnectivityGlobalPolicyBasedRoutes(
522 $this,
523 $this->serviceName,
524 'policyBasedRoutes',
525 [
526 'methods' => [
527 'create' => [
528 'path' => 'v1/{+parent}/policyBasedRoutes',
529 'httpMethod' => 'POST',
530 'parameters' => [
531 'parent' => [
532 'location' => 'path',
533 'type' => 'string',
534 'required' => true,
535 ],
536 'policyBasedRouteId' => [
537 'location' => 'query',
538 'type' => 'string',
539 ],
540 'requestId' => [
541 'location' => 'query',
542 'type' => 'string',
543 ],
544 ],
545 ],'delete' => [
546 'path' => 'v1/{+name}',
547 'httpMethod' => 'DELETE',
548 'parameters' => [
549 'name' => [
550 'location' => 'path',
551 'type' => 'string',
552 'required' => true,
553 ],
554 'requestId' => [
555 'location' => 'query',
556 'type' => 'string',
557 ],
558 ],
559 ],'get' => [
560 'path' => 'v1/{+name}',
561 'httpMethod' => 'GET',
562 'parameters' => [
563 'name' => [
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ],
568 ],
569 ],'getIamPolicy' => [
570 'path' => 'v1/{+resource}:getIamPolicy',
571 'httpMethod' => 'GET',
572 'parameters' => [
573 'resource' => [
574 'location' => 'path',
575 'type' => 'string',
576 'required' => true,
577 ],
578 'options.requestedPolicyVersion' => [
579 'location' => 'query',
580 'type' => 'integer',
581 ],
582 ],
583 ],'list' => [
584 'path' => 'v1/{+parent}/policyBasedRoutes',
585 'httpMethod' => 'GET',
586 'parameters' => [
587 'parent' => [
588 'location' => 'path',
589 'type' => 'string',
590 'required' => true,
591 ],
592 'filter' => [
593 'location' => 'query',
594 'type' => 'string',
595 ],
596 'orderBy' => [
597 'location' => 'query',
598 'type' => 'string',
599 ],
600 'pageSize' => [
601 'location' => 'query',
602 'type' => 'integer',
603 ],
604 'pageToken' => [
605 'location' => 'query',
606 'type' => 'string',
607 ],
608 ],
609 ],'setIamPolicy' => [
610 'path' => 'v1/{+resource}:setIamPolicy',
611 'httpMethod' => 'POST',
612 'parameters' => [
613 'resource' => [
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ],
618 ],
619 ],'testIamPermissions' => [
620 'path' => 'v1/{+resource}:testIamPermissions',
621 'httpMethod' => 'POST',
622 'parameters' => [
623 'resource' => [
624 'location' => 'path',
625 'type' => 'string',
626 'required' => true,
627 ],
628 ],
629 ],
630 ]
631 ]
632 );
633 $this->projects_locations_internalRanges = new Networkconnectivity\Resource\ProjectsLocationsInternalRanges(
634 $this,
635 $this->serviceName,
636 'internalRanges',
637 [
638 'methods' => [
639 'create' => [
640 'path' => 'v1/{+parent}/internalRanges',
641 'httpMethod' => 'POST',
642 'parameters' => [
643 'parent' => [
644 'location' => 'path',
645 'type' => 'string',
646 'required' => true,
647 ],
648 'internalRangeId' => [
649 'location' => 'query',
650 'type' => 'string',
651 ],
652 'requestId' => [
653 'location' => 'query',
654 'type' => 'string',
655 ],
656 ],
657 ],'delete' => [
658 'path' => 'v1/{+name}',
659 'httpMethod' => 'DELETE',
660 'parameters' => [
661 'name' => [
662 'location' => 'path',
663 'type' => 'string',
664 'required' => true,
665 ],
666 'requestId' => [
667 'location' => 'query',
668 'type' => 'string',
669 ],
670 ],
671 ],'get' => [
672 'path' => 'v1/{+name}',
673 'httpMethod' => 'GET',
674 'parameters' => [
675 'name' => [
676 'location' => 'path',
677 'type' => 'string',
678 'required' => true,
679 ],
680 ],
681 ],'list' => [
682 'path' => 'v1/{+parent}/internalRanges',
683 'httpMethod' => 'GET',
684 'parameters' => [
685 'parent' => [
686 'location' => 'path',
687 'type' => 'string',
688 'required' => true,
689 ],
690 'filter' => [
691 'location' => 'query',
692 'type' => 'string',
693 ],
694 'orderBy' => [
695 'location' => 'query',
696 'type' => 'string',
697 ],
698 'pageSize' => [
699 'location' => 'query',
700 'type' => 'integer',
701 ],
702 'pageToken' => [
703 'location' => 'query',
704 'type' => 'string',
705 ],
706 ],
707 ],'patch' => [
708 'path' => 'v1/{+name}',
709 'httpMethod' => 'PATCH',
710 'parameters' => [
711 'name' => [
712 'location' => 'path',
713 'type' => 'string',
714 'required' => true,
715 ],
716 'requestId' => [
717 'location' => 'query',
718 'type' => 'string',
719 ],
720 'updateMask' => [
721 'location' => 'query',
722 'type' => 'string',
723 ],
724 ],
725 ],
726 ]
727 ]
728 );
729 $this->projects_locations_operations = new Networkconnectivity\Resource\ProjectsLocationsOperations(
730 $this,
731 $this->serviceName,
732 'operations',
733 [
734 'methods' => [
735 'cancel' => [
736 'path' => 'v1/{+name}:cancel',
737 'httpMethod' => 'POST',
738 'parameters' => [
739 'name' => [
740 'location' => 'path',
741 'type' => 'string',
742 'required' => true,
743 ],
744 ],
745 ],'delete' => [
746 'path' => 'v1/{+name}',
747 'httpMethod' => 'DELETE',
748 'parameters' => [
749 'name' => [
750 'location' => 'path',
751 'type' => 'string',
752 'required' => true,
753 ],
754 ],
755 ],'get' => [
756 'path' => 'v1/{+name}',
757 'httpMethod' => 'GET',
758 'parameters' => [
759 'name' => [
760 'location' => 'path',
761 'type' => 'string',
762 'required' => true,
763 ],
764 ],
765 ],'list' => [
766 'path' => 'v1/{+name}/operations',
767 'httpMethod' => 'GET',
768 'parameters' => [
769 'name' => [
770 'location' => 'path',
771 'type' => 'string',
772 'required' => true,
773 ],
774 'filter' => [
775 'location' => 'query',
776 'type' => 'string',
777 ],
778 'pageSize' => [
779 'location' => 'query',
780 'type' => 'integer',
781 ],
782 'pageToken' => [
783 'location' => 'query',
784 'type' => 'string',
785 ],
786 ],
787 ],
788 ]
789 ]
790 );
791 $this->projects_locations_regionalEndpoints = new Networkconnectivity\Resource\ProjectsLocationsRegionalEndpoints(
792 $this,
793 $this->serviceName,
794 'regionalEndpoints',
795 [
796 'methods' => [
797 'create' => [
798 'path' => 'v1/{+parent}/regionalEndpoints',
799 'httpMethod' => 'POST',
800 'parameters' => [
801 'parent' => [
802 'location' => 'path',
803 'type' => 'string',
804 'required' => true,
805 ],
806 'regionalEndpointId' => [
807 'location' => 'query',
808 'type' => 'string',
809 ],
810 'requestId' => [
811 'location' => 'query',
812 'type' => 'string',
813 ],
814 ],
815 ],'delete' => [
816 'path' => 'v1/{+name}',
817 'httpMethod' => 'DELETE',
818 'parameters' => [
819 'name' => [
820 'location' => 'path',
821 'type' => 'string',
822 'required' => true,
823 ],
824 'requestId' => [
825 'location' => 'query',
826 'type' => 'string',
827 ],
828 ],
829 ],'get' => [
830 'path' => 'v1/{+name}',
831 'httpMethod' => 'GET',
832 'parameters' => [
833 'name' => [
834 'location' => 'path',
835 'type' => 'string',
836 'required' => true,
837 ],
838 ],
839 ],'list' => [
840 'path' => 'v1/{+parent}/regionalEndpoints',
841 'httpMethod' => 'GET',
842 'parameters' => [
843 'parent' => [
844 'location' => 'path',
845 'type' => 'string',
846 'required' => true,
847 ],
848 'filter' => [
849 'location' => 'query',
850 'type' => 'string',
851 ],
852 'orderBy' => [
853 'location' => 'query',
854 'type' => 'string',
855 ],
856 'pageSize' => [
857 'location' => 'query',
858 'type' => 'integer',
859 ],
860 'pageToken' => [
861 'location' => 'query',
862 'type' => 'string',
863 ],
864 ],
865 ],
866 ]
867 ]
868 );
869 $this->projects_locations_serviceClasses = new Networkconnectivity\Resource\ProjectsLocationsServiceClasses(
870 $this,
871 $this->serviceName,
872 'serviceClasses',
873 [
874 'methods' => [
875 'delete' => [
876 'path' => 'v1/{+name}',
877 'httpMethod' => 'DELETE',
878 'parameters' => [
879 'name' => [
880 'location' => 'path',
881 'type' => 'string',
882 'required' => true,
883 ],
884 'etag' => [
885 'location' => 'query',
886 'type' => 'string',
887 ],
888 'requestId' => [
889 'location' => 'query',
890 'type' => 'string',
891 ],
892 ],
893 ],'get' => [
894 'path' => 'v1/{+name}',
895 'httpMethod' => 'GET',
896 'parameters' => [
897 'name' => [
898 'location' => 'path',
899 'type' => 'string',
900 'required' => true,
901 ],
902 ],
903 ],'getIamPolicy' => [
904 'path' => 'v1/{+resource}:getIamPolicy',
905 'httpMethod' => 'GET',
906 'parameters' => [
907 'resource' => [
908 'location' => 'path',
909 'type' => 'string',
910 'required' => true,
911 ],
912 'options.requestedPolicyVersion' => [
913 'location' => 'query',
914 'type' => 'integer',
915 ],
916 ],
917 ],'list' => [
918 'path' => 'v1/{+parent}/serviceClasses',
919 'httpMethod' => 'GET',
920 'parameters' => [
921 'parent' => [
922 'location' => 'path',
923 'type' => 'string',
924 'required' => true,
925 ],
926 'filter' => [
927 'location' => 'query',
928 'type' => 'string',
929 ],
930 'orderBy' => [
931 'location' => 'query',
932 'type' => 'string',
933 ],
934 'pageSize' => [
935 'location' => 'query',
936 'type' => 'integer',
937 ],
938 'pageToken' => [
939 'location' => 'query',
940 'type' => 'string',
941 ],
942 ],
943 ],'patch' => [
944 'path' => 'v1/{+name}',
945 'httpMethod' => 'PATCH',
946 'parameters' => [
947 'name' => [
948 'location' => 'path',
949 'type' => 'string',
950 'required' => true,
951 ],
952 'requestId' => [
953 'location' => 'query',
954 'type' => 'string',
955 ],
956 'updateMask' => [
957 'location' => 'query',
958 'type' => 'string',
959 ],
960 ],
961 ],'setIamPolicy' => [
962 'path' => 'v1/{+resource}:setIamPolicy',
963 'httpMethod' => 'POST',
964 'parameters' => [
965 'resource' => [
966 'location' => 'path',
967 'type' => 'string',
968 'required' => true,
969 ],
970 ],
971 ],'testIamPermissions' => [
972 'path' => 'v1/{+resource}:testIamPermissions',
973 'httpMethod' => 'POST',
974 'parameters' => [
975 'resource' => [
976 'location' => 'path',
977 'type' => 'string',
978 'required' => true,
979 ],
980 ],
981 ],
982 ]
983 ]
984 );
985 $this->projects_locations_serviceConnectionMaps = new Networkconnectivity\Resource\ProjectsLocationsServiceConnectionMaps(
986 $this,
987 $this->serviceName,
988 'serviceConnectionMaps',
989 [
990 'methods' => [
991 'create' => [
992 'path' => 'v1/{+parent}/serviceConnectionMaps',
993 'httpMethod' => 'POST',
994 'parameters' => [
995 'parent' => [
996 'location' => 'path',
997 'type' => 'string',
998 'required' => true,
999 ],
1000 'requestId' => [
1001 'location' => 'query',
1002 'type' => 'string',
1003 ],
1004 'serviceConnectionMapId' => [
1005 'location' => 'query',
1006 'type' => 'string',
1007 ],
1008 ],
1009 ],'delete' => [
1010 'path' => 'v1/{+name}',
1011 'httpMethod' => 'DELETE',
1012 'parameters' => [
1013 'name' => [
1014 'location' => 'path',
1015 'type' => 'string',
1016 'required' => true,
1017 ],
1018 'etag' => [
1019 'location' => 'query',
1020 'type' => 'string',
1021 ],
1022 'requestId' => [
1023 'location' => 'query',
1024 'type' => 'string',
1025 ],
1026 ],
1027 ],'get' => [
1028 'path' => 'v1/{+name}',
1029 'httpMethod' => 'GET',
1030 'parameters' => [
1031 'name' => [
1032 'location' => 'path',
1033 'type' => 'string',
1034 'required' => true,
1035 ],
1036 ],
1037 ],'getIamPolicy' => [
1038 'path' => 'v1/{+resource}:getIamPolicy',
1039 'httpMethod' => 'GET',
1040 'parameters' => [
1041 'resource' => [
1042 'location' => 'path',
1043 'type' => 'string',
1044 'required' => true,
1045 ],
1046 'options.requestedPolicyVersion' => [
1047 'location' => 'query',
1048 'type' => 'integer',
1049 ],
1050 ],
1051 ],'list' => [
1052 'path' => 'v1/{+parent}/serviceConnectionMaps',
1053 'httpMethod' => 'GET',
1054 'parameters' => [
1055 'parent' => [
1056 'location' => 'path',
1057 'type' => 'string',
1058 'required' => true,
1059 ],
1060 'filter' => [
1061 'location' => 'query',
1062 'type' => 'string',
1063 ],
1064 'orderBy' => [
1065 'location' => 'query',
1066 'type' => 'string',
1067 ],
1068 'pageSize' => [
1069 'location' => 'query',
1070 'type' => 'integer',
1071 ],
1072 'pageToken' => [
1073 'location' => 'query',
1074 'type' => 'string',
1075 ],
1076 ],
1077 ],'patch' => [
1078 'path' => 'v1/{+name}',
1079 'httpMethod' => 'PATCH',
1080 'parameters' => [
1081 'name' => [
1082 'location' => 'path',
1083 'type' => 'string',
1084 'required' => true,
1085 ],
1086 'requestId' => [
1087 'location' => 'query',
1088 'type' => 'string',
1089 ],
1090 'updateMask' => [
1091 'location' => 'query',
1092 'type' => 'string',
1093 ],
1094 ],
1095 ],'setIamPolicy' => [
1096 'path' => 'v1/{+resource}:setIamPolicy',
1097 'httpMethod' => 'POST',
1098 'parameters' => [
1099 'resource' => [
1100 'location' => 'path',
1101 'type' => 'string',
1102 'required' => true,
1103 ],
1104 ],
1105 ],'testIamPermissions' => [
1106 'path' => 'v1/{+resource}:testIamPermissions',
1107 'httpMethod' => 'POST',
1108 'parameters' => [
1109 'resource' => [
1110 'location' => 'path',
1111 'type' => 'string',
1112 'required' => true,
1113 ],
1114 ],
1115 ],
1116 ]
1117 ]
1118 );
1119 $this->projects_locations_serviceConnectionPolicies = new Networkconnectivity\Resource\ProjectsLocationsServiceConnectionPolicies(
1120 $this,
1121 $this->serviceName,
1122 'serviceConnectionPolicies',
1123 [
1124 'methods' => [
1125 'create' => [
1126 'path' => 'v1/{+parent}/serviceConnectionPolicies',
1127 'httpMethod' => 'POST',
1128 'parameters' => [
1129 'parent' => [
1130 'location' => 'path',
1131 'type' => 'string',
1132 'required' => true,
1133 ],
1134 'requestId' => [
1135 'location' => 'query',
1136 'type' => 'string',
1137 ],
1138 'serviceConnectionPolicyId' => [
1139 'location' => 'query',
1140 'type' => 'string',
1141 ],
1142 ],
1143 ],'delete' => [
1144 'path' => 'v1/{+name}',
1145 'httpMethod' => 'DELETE',
1146 'parameters' => [
1147 'name' => [
1148 'location' => 'path',
1149 'type' => 'string',
1150 'required' => true,
1151 ],
1152 'etag' => [
1153 'location' => 'query',
1154 'type' => 'string',
1155 ],
1156 'requestId' => [
1157 'location' => 'query',
1158 'type' => 'string',
1159 ],
1160 ],
1161 ],'get' => [
1162 'path' => 'v1/{+name}',
1163 'httpMethod' => 'GET',
1164 'parameters' => [
1165 'name' => [
1166 'location' => 'path',
1167 'type' => 'string',
1168 'required' => true,
1169 ],
1170 ],
1171 ],'getIamPolicy' => [
1172 'path' => 'v1/{+resource}:getIamPolicy',
1173 'httpMethod' => 'GET',
1174 'parameters' => [
1175 'resource' => [
1176 'location' => 'path',
1177 'type' => 'string',
1178 'required' => true,
1179 ],
1180 'options.requestedPolicyVersion' => [
1181 'location' => 'query',
1182 'type' => 'integer',
1183 ],
1184 ],
1185 ],'list' => [
1186 'path' => 'v1/{+parent}/serviceConnectionPolicies',
1187 'httpMethod' => 'GET',
1188 'parameters' => [
1189 'parent' => [
1190 'location' => 'path',
1191 'type' => 'string',
1192 'required' => true,
1193 ],
1194 'filter' => [
1195 'location' => 'query',
1196 'type' => 'string',
1197 ],
1198 'orderBy' => [
1199 'location' => 'query',
1200 'type' => 'string',
1201 ],
1202 'pageSize' => [
1203 'location' => 'query',
1204 'type' => 'integer',
1205 ],
1206 'pageToken' => [
1207 'location' => 'query',
1208 'type' => 'string',
1209 ],
1210 ],
1211 ],'patch' => [
1212 'path' => 'v1/{+name}',
1213 'httpMethod' => 'PATCH',
1214 'parameters' => [
1215 'name' => [
1216 'location' => 'path',
1217 'type' => 'string',
1218 'required' => true,
1219 ],
1220 'requestId' => [
1221 'location' => 'query',
1222 'type' => 'string',
1223 ],
1224 'updateMask' => [
1225 'location' => 'query',
1226 'type' => 'string',
1227 ],
1228 ],
1229 ],'setIamPolicy' => [
1230 'path' => 'v1/{+resource}:setIamPolicy',
1231 'httpMethod' => 'POST',
1232 'parameters' => [
1233 'resource' => [
1234 'location' => 'path',
1235 'type' => 'string',
1236 'required' => true,
1237 ],
1238 ],
1239 ],'testIamPermissions' => [
1240 'path' => 'v1/{+resource}:testIamPermissions',
1241 'httpMethod' => 'POST',
1242 'parameters' => [
1243 'resource' => [
1244 'location' => 'path',
1245 'type' => 'string',
1246 'required' => true,
1247 ],
1248 ],
1249 ],
1250 ]
1251 ]
1252 );
1253 $this->projects_locations_serviceConnectionTokens = new Networkconnectivity\Resource\ProjectsLocationsServiceConnectionTokens(
1254 $this,
1255 $this->serviceName,
1256 'serviceConnectionTokens',
1257 [
1258 'methods' => [
1259 'create' => [
1260 'path' => 'v1/{+parent}/serviceConnectionTokens',
1261 'httpMethod' => 'POST',
1262 'parameters' => [
1263 'parent' => [
1264 'location' => 'path',
1265 'type' => 'string',
1266 'required' => true,
1267 ],
1268 'requestId' => [
1269 'location' => 'query',
1270 'type' => 'string',
1271 ],
1272 'serviceConnectionTokenId' => [
1273 'location' => 'query',
1274 'type' => 'string',
1275 ],
1276 ],
1277 ],'delete' => [
1278 'path' => 'v1/{+name}',
1279 'httpMethod' => 'DELETE',
1280 'parameters' => [
1281 'name' => [
1282 'location' => 'path',
1283 'type' => 'string',
1284 'required' => true,
1285 ],
1286 'etag' => [
1287 'location' => 'query',
1288 'type' => 'string',
1289 ],
1290 'requestId' => [
1291 'location' => 'query',
1292 'type' => 'string',
1293 ],
1294 ],
1295 ],'get' => [
1296 'path' => 'v1/{+name}',
1297 'httpMethod' => 'GET',
1298 'parameters' => [
1299 'name' => [
1300 'location' => 'path',
1301 'type' => 'string',
1302 'required' => true,
1303 ],
1304 ],
1305 ],'list' => [
1306 'path' => 'v1/{+parent}/serviceConnectionTokens',
1307 'httpMethod' => 'GET',
1308 'parameters' => [
1309 'parent' => [
1310 'location' => 'path',
1311 'type' => 'string',
1312 'required' => true,
1313 ],
1314 'filter' => [
1315 'location' => 'query',
1316 'type' => 'string',
1317 ],
1318 'orderBy' => [
1319 'location' => 'query',
1320 'type' => 'string',
1321 ],
1322 'pageSize' => [
1323 'location' => 'query',
1324 'type' => 'integer',
1325 ],
1326 'pageToken' => [
1327 'location' => 'query',
1328 'type' => 'string',
1329 ],
1330 ],
1331 ],
1332 ]
1333 ]
1334 );
1335 $this->projects_locations_spokes = new Networkconnectivity\Resource\ProjectsLocationsSpokes(
1336 $this,
1337 $this->serviceName,
1338 'spokes',
1339 [
1340 'methods' => [
1341 'create' => [
1342 'path' => 'v1/{+parent}/spokes',
1343 'httpMethod' => 'POST',
1344 'parameters' => [
1345 'parent' => [
1346 'location' => 'path',
1347 'type' => 'string',
1348 'required' => true,
1349 ],
1350 'requestId' => [
1351 'location' => 'query',
1352 'type' => 'string',
1353 ],
1354 'spokeId' => [
1355 'location' => 'query',
1356 'type' => 'string',
1357 ],
1358 ],
1359 ],'delete' => [
1360 'path' => 'v1/{+name}',
1361 'httpMethod' => 'DELETE',
1362 'parameters' => [
1363 'name' => [
1364 'location' => 'path',
1365 'type' => 'string',
1366 'required' => true,
1367 ],
1368 'requestId' => [
1369 'location' => 'query',
1370 'type' => 'string',
1371 ],
1372 ],
1373 ],'get' => [
1374 'path' => 'v1/{+name}',
1375 'httpMethod' => 'GET',
1376 'parameters' => [
1377 'name' => [
1378 'location' => 'path',
1379 'type' => 'string',
1380 'required' => true,
1381 ],
1382 ],
1383 ],'getIamPolicy' => [
1384 'path' => 'v1/{+resource}:getIamPolicy',
1385 'httpMethod' => 'GET',
1386 'parameters' => [
1387 'resource' => [
1388 'location' => 'path',
1389 'type' => 'string',
1390 'required' => true,
1391 ],
1392 'options.requestedPolicyVersion' => [
1393 'location' => 'query',
1394 'type' => 'integer',
1395 ],
1396 ],
1397 ],'list' => [
1398 'path' => 'v1/{+parent}/spokes',
1399 'httpMethod' => 'GET',
1400 'parameters' => [
1401 'parent' => [
1402 'location' => 'path',
1403 'type' => 'string',
1404 'required' => true,
1405 ],
1406 'filter' => [
1407 'location' => 'query',
1408 'type' => 'string',
1409 ],
1410 'orderBy' => [
1411 'location' => 'query',
1412 'type' => 'string',
1413 ],
1414 'pageSize' => [
1415 'location' => 'query',
1416 'type' => 'integer',
1417 ],
1418 'pageToken' => [
1419 'location' => 'query',
1420 'type' => 'string',
1421 ],
1422 ],
1423 ],'patch' => [
1424 'path' => 'v1/{+name}',
1425 'httpMethod' => 'PATCH',
1426 'parameters' => [
1427 'name' => [
1428 'location' => 'path',
1429 'type' => 'string',
1430 'required' => true,
1431 ],
1432 'requestId' => [
1433 'location' => 'query',
1434 'type' => 'string',
1435 ],
1436 'updateMask' => [
1437 'location' => 'query',
1438 'type' => 'string',
1439 ],
1440 ],
1441 ],'setIamPolicy' => [
1442 'path' => 'v1/{+resource}:setIamPolicy',
1443 'httpMethod' => 'POST',
1444 'parameters' => [
1445 'resource' => [
1446 'location' => 'path',
1447 'type' => 'string',
1448 'required' => true,
1449 ],
1450 ],
1451 ],'testIamPermissions' => [
1452 'path' => 'v1/{+resource}:testIamPermissions',
1453 'httpMethod' => 'POST',
1454 'parameters' => [
1455 'resource' => [
1456 'location' => 'path',
1457 'type' => 'string',
1458 'required' => true,
1459 ],
1460 ],
1461 ],
1462 ]
1463 ]
1464 );
1465 }
1466}
1467
1468// Adding a class alias for backwards compatibility with the previous class name.
1469class_alias(Networkconnectivity::class, 'Google_Service_Networkconnectivity');
Note: See TracBrowser for help on using the repository browser.