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