source: vendor/google/apiclient-services/src/Sasportal.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: 38.1 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for Sasportal (v1alpha1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/spectrum-access-system/" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Sasportal 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 /** Read, create, update, and delete your SAS Portal data.. */
41 const SASPORTAL =
42 "https://www.googleapis.com/auth/sasportal";
43
44 public $customers;
45 public $customers_deployments;
46 public $customers_deployments_devices;
47 public $customers_devices;
48 public $customers_nodes;
49 public $customers_nodes_deployments;
50 public $customers_nodes_devices;
51 public $customers_nodes_nodes;
52 public $deployments;
53 public $deployments_devices;
54 public $installer;
55 public $nodes;
56 public $nodes_deployments;
57 public $nodes_deployments_devices;
58 public $nodes_devices;
59 public $nodes_nodes;
60 public $nodes_nodes_deployments;
61 public $nodes_nodes_devices;
62 public $nodes_nodes_nodes;
63 public $policies;
64 public $rootUrlTemplate;
65
66 /**
67 * Constructs the internal representation of the Sasportal service.
68 *
69 * @param Client|array $clientOrConfig The client used to deliver requests, or a
70 * config array to pass to a new Client instance.
71 * @param string $rootUrl The root URL used for requests to the service.
72 */
73 public function __construct($clientOrConfig = [], $rootUrl = null)
74 {
75 parent::__construct($clientOrConfig);
76 $this->rootUrl = $rootUrl ?: 'https://sasportal.googleapis.com/';
77 $this->rootUrlTemplate = $rootUrl ?: 'https://sasportal.UNIVERSE_DOMAIN/';
78 $this->servicePath = '';
79 $this->batchPath = 'batch';
80 $this->version = 'v1alpha1';
81 $this->serviceName = 'sasportal';
82
83 $this->customers = new Sasportal\Resource\Customers(
84 $this,
85 $this->serviceName,
86 'customers',
87 [
88 'methods' => [
89 'get' => [
90 'path' => 'v1alpha1/{+name}',
91 'httpMethod' => 'GET',
92 'parameters' => [
93 'name' => [
94 'location' => 'path',
95 'type' => 'string',
96 'required' => true,
97 ],
98 ],
99 ],'list' => [
100 'path' => 'v1alpha1/customers',
101 'httpMethod' => 'GET',
102 'parameters' => [
103 'pageSize' => [
104 'location' => 'query',
105 'type' => 'integer',
106 ],
107 'pageToken' => [
108 'location' => 'query',
109 'type' => 'string',
110 ],
111 ],
112 ],'listGcpProjectDeployments' => [
113 'path' => 'v1alpha1/customers:listGcpProjectDeployments',
114 'httpMethod' => 'GET',
115 'parameters' => [],
116 ],'listLegacyOrganizations' => [
117 'path' => 'v1alpha1/customers:listLegacyOrganizations',
118 'httpMethod' => 'GET',
119 'parameters' => [],
120 ],'migrateOrganization' => [
121 'path' => 'v1alpha1/customers:migrateOrganization',
122 'httpMethod' => 'POST',
123 'parameters' => [],
124 ],'patch' => [
125 'path' => 'v1alpha1/{+name}',
126 'httpMethod' => 'PATCH',
127 'parameters' => [
128 'name' => [
129 'location' => 'path',
130 'type' => 'string',
131 'required' => true,
132 ],
133 'updateMask' => [
134 'location' => 'query',
135 'type' => 'string',
136 ],
137 ],
138 ],'provisionDeployment' => [
139 'path' => 'v1alpha1/customers:provisionDeployment',
140 'httpMethod' => 'POST',
141 'parameters' => [],
142 ],'setupSasAnalytics' => [
143 'path' => 'v1alpha1/customers:setupSasAnalytics',
144 'httpMethod' => 'POST',
145 'parameters' => [],
146 ],
147 ]
148 ]
149 );
150 $this->customers_deployments = new Sasportal\Resource\CustomersDeployments(
151 $this,
152 $this->serviceName,
153 'deployments',
154 [
155 'methods' => [
156 'create' => [
157 'path' => 'v1alpha1/{+parent}/deployments',
158 'httpMethod' => 'POST',
159 'parameters' => [
160 'parent' => [
161 'location' => 'path',
162 'type' => 'string',
163 'required' => true,
164 ],
165 ],
166 ],'delete' => [
167 'path' => 'v1alpha1/{+name}',
168 'httpMethod' => 'DELETE',
169 'parameters' => [
170 'name' => [
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ],
175 ],
176 ],'get' => [
177 'path' => 'v1alpha1/{+name}',
178 'httpMethod' => 'GET',
179 'parameters' => [
180 'name' => [
181 'location' => 'path',
182 'type' => 'string',
183 'required' => true,
184 ],
185 ],
186 ],'list' => [
187 'path' => 'v1alpha1/{+parent}/deployments',
188 'httpMethod' => 'GET',
189 'parameters' => [
190 'parent' => [
191 'location' => 'path',
192 'type' => 'string',
193 'required' => true,
194 ],
195 'filter' => [
196 'location' => 'query',
197 'type' => 'string',
198 ],
199 'pageSize' => [
200 'location' => 'query',
201 'type' => 'integer',
202 ],
203 'pageToken' => [
204 'location' => 'query',
205 'type' => 'string',
206 ],
207 ],
208 ],'move' => [
209 'path' => 'v1alpha1/{+name}:move',
210 'httpMethod' => 'POST',
211 'parameters' => [
212 'name' => [
213 'location' => 'path',
214 'type' => 'string',
215 'required' => true,
216 ],
217 ],
218 ],'patch' => [
219 'path' => 'v1alpha1/{+name}',
220 'httpMethod' => 'PATCH',
221 'parameters' => [
222 'name' => [
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ],
227 'updateMask' => [
228 'location' => 'query',
229 'type' => 'string',
230 ],
231 ],
232 ],
233 ]
234 ]
235 );
236 $this->customers_deployments_devices = new Sasportal\Resource\CustomersDeploymentsDevices(
237 $this,
238 $this->serviceName,
239 'devices',
240 [
241 'methods' => [
242 'create' => [
243 'path' => 'v1alpha1/{+parent}/devices',
244 'httpMethod' => 'POST',
245 'parameters' => [
246 'parent' => [
247 'location' => 'path',
248 'type' => 'string',
249 'required' => true,
250 ],
251 ],
252 ],'createSigned' => [
253 'path' => 'v1alpha1/{+parent}/devices:createSigned',
254 'httpMethod' => 'POST',
255 'parameters' => [
256 'parent' => [
257 'location' => 'path',
258 'type' => 'string',
259 'required' => true,
260 ],
261 ],
262 ],'list' => [
263 'path' => 'v1alpha1/{+parent}/devices',
264 'httpMethod' => 'GET',
265 'parameters' => [
266 'parent' => [
267 'location' => 'path',
268 'type' => 'string',
269 'required' => true,
270 ],
271 'filter' => [
272 'location' => 'query',
273 'type' => 'string',
274 ],
275 'pageSize' => [
276 'location' => 'query',
277 'type' => 'integer',
278 ],
279 'pageToken' => [
280 'location' => 'query',
281 'type' => 'string',
282 ],
283 ],
284 ],
285 ]
286 ]
287 );
288 $this->customers_devices = new Sasportal\Resource\CustomersDevices(
289 $this,
290 $this->serviceName,
291 'devices',
292 [
293 'methods' => [
294 'create' => [
295 'path' => 'v1alpha1/{+parent}/devices',
296 'httpMethod' => 'POST',
297 'parameters' => [
298 'parent' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 ],
304 ],'createSigned' => [
305 'path' => 'v1alpha1/{+parent}/devices:createSigned',
306 'httpMethod' => 'POST',
307 'parameters' => [
308 'parent' => [
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ],
313 ],
314 ],'delete' => [
315 'path' => 'v1alpha1/{+name}',
316 'httpMethod' => 'DELETE',
317 'parameters' => [
318 'name' => [
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ],
323 ],
324 ],'get' => [
325 'path' => 'v1alpha1/{+name}',
326 'httpMethod' => 'GET',
327 'parameters' => [
328 'name' => [
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ],
333 ],
334 ],'list' => [
335 'path' => 'v1alpha1/{+parent}/devices',
336 'httpMethod' => 'GET',
337 'parameters' => [
338 'parent' => [
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ],
343 'filter' => [
344 'location' => 'query',
345 'type' => 'string',
346 ],
347 'pageSize' => [
348 'location' => 'query',
349 'type' => 'integer',
350 ],
351 'pageToken' => [
352 'location' => 'query',
353 'type' => 'string',
354 ],
355 ],
356 ],'move' => [
357 'path' => 'v1alpha1/{+name}:move',
358 'httpMethod' => 'POST',
359 'parameters' => [
360 'name' => [
361 'location' => 'path',
362 'type' => 'string',
363 'required' => true,
364 ],
365 ],
366 ],'patch' => [
367 'path' => 'v1alpha1/{+name}',
368 'httpMethod' => 'PATCH',
369 'parameters' => [
370 'name' => [
371 'location' => 'path',
372 'type' => 'string',
373 'required' => true,
374 ],
375 'updateMask' => [
376 'location' => 'query',
377 'type' => 'string',
378 ],
379 ],
380 ],'signDevice' => [
381 'path' => 'v1alpha1/{+name}:signDevice',
382 'httpMethod' => 'POST',
383 'parameters' => [
384 'name' => [
385 'location' => 'path',
386 'type' => 'string',
387 'required' => true,
388 ],
389 ],
390 ],'updateSigned' => [
391 'path' => 'v1alpha1/{+name}:updateSigned',
392 'httpMethod' => 'PATCH',
393 'parameters' => [
394 'name' => [
395 'location' => 'path',
396 'type' => 'string',
397 'required' => true,
398 ],
399 ],
400 ],
401 ]
402 ]
403 );
404 $this->customers_nodes = new Sasportal\Resource\CustomersNodes(
405 $this,
406 $this->serviceName,
407 'nodes',
408 [
409 'methods' => [
410 'create' => [
411 'path' => 'v1alpha1/{+parent}/nodes',
412 'httpMethod' => 'POST',
413 'parameters' => [
414 'parent' => [
415 'location' => 'path',
416 'type' => 'string',
417 'required' => true,
418 ],
419 ],
420 ],'delete' => [
421 'path' => 'v1alpha1/{+name}',
422 'httpMethod' => 'DELETE',
423 'parameters' => [
424 'name' => [
425 'location' => 'path',
426 'type' => 'string',
427 'required' => true,
428 ],
429 ],
430 ],'get' => [
431 'path' => 'v1alpha1/{+name}',
432 'httpMethod' => 'GET',
433 'parameters' => [
434 'name' => [
435 'location' => 'path',
436 'type' => 'string',
437 'required' => true,
438 ],
439 ],
440 ],'list' => [
441 'path' => 'v1alpha1/{+parent}/nodes',
442 'httpMethod' => 'GET',
443 'parameters' => [
444 'parent' => [
445 'location' => 'path',
446 'type' => 'string',
447 'required' => true,
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 ],
462 ],'move' => [
463 'path' => 'v1alpha1/{+name}:move',
464 'httpMethod' => 'POST',
465 'parameters' => [
466 'name' => [
467 'location' => 'path',
468 'type' => 'string',
469 'required' => true,
470 ],
471 ],
472 ],'patch' => [
473 'path' => 'v1alpha1/{+name}',
474 'httpMethod' => 'PATCH',
475 'parameters' => [
476 'name' => [
477 'location' => 'path',
478 'type' => 'string',
479 'required' => true,
480 ],
481 'updateMask' => [
482 'location' => 'query',
483 'type' => 'string',
484 ],
485 ],
486 ],
487 ]
488 ]
489 );
490 $this->customers_nodes_deployments = new Sasportal\Resource\CustomersNodesDeployments(
491 $this,
492 $this->serviceName,
493 'deployments',
494 [
495 'methods' => [
496 'create' => [
497 'path' => 'v1alpha1/{+parent}/deployments',
498 'httpMethod' => 'POST',
499 'parameters' => [
500 'parent' => [
501 'location' => 'path',
502 'type' => 'string',
503 'required' => true,
504 ],
505 ],
506 ],'list' => [
507 'path' => 'v1alpha1/{+parent}/deployments',
508 'httpMethod' => 'GET',
509 'parameters' => [
510 'parent' => [
511 'location' => 'path',
512 'type' => 'string',
513 'required' => true,
514 ],
515 'filter' => [
516 'location' => 'query',
517 'type' => 'string',
518 ],
519 'pageSize' => [
520 'location' => 'query',
521 'type' => 'integer',
522 ],
523 'pageToken' => [
524 'location' => 'query',
525 'type' => 'string',
526 ],
527 ],
528 ],
529 ]
530 ]
531 );
532 $this->customers_nodes_devices = new Sasportal\Resource\CustomersNodesDevices(
533 $this,
534 $this->serviceName,
535 'devices',
536 [
537 'methods' => [
538 'create' => [
539 'path' => 'v1alpha1/{+parent}/devices',
540 'httpMethod' => 'POST',
541 'parameters' => [
542 'parent' => [
543 'location' => 'path',
544 'type' => 'string',
545 'required' => true,
546 ],
547 ],
548 ],'createSigned' => [
549 'path' => 'v1alpha1/{+parent}/devices:createSigned',
550 'httpMethod' => 'POST',
551 'parameters' => [
552 'parent' => [
553 'location' => 'path',
554 'type' => 'string',
555 'required' => true,
556 ],
557 ],
558 ],'list' => [
559 'path' => 'v1alpha1/{+parent}/devices',
560 'httpMethod' => 'GET',
561 'parameters' => [
562 'parent' => [
563 'location' => 'path',
564 'type' => 'string',
565 'required' => true,
566 ],
567 'filter' => [
568 'location' => 'query',
569 'type' => 'string',
570 ],
571 'pageSize' => [
572 'location' => 'query',
573 'type' => 'integer',
574 ],
575 'pageToken' => [
576 'location' => 'query',
577 'type' => 'string',
578 ],
579 ],
580 ],
581 ]
582 ]
583 );
584 $this->customers_nodes_nodes = new Sasportal\Resource\CustomersNodesNodes(
585 $this,
586 $this->serviceName,
587 'nodes',
588 [
589 'methods' => [
590 'create' => [
591 'path' => 'v1alpha1/{+parent}/nodes',
592 'httpMethod' => 'POST',
593 'parameters' => [
594 'parent' => [
595 'location' => 'path',
596 'type' => 'string',
597 'required' => true,
598 ],
599 ],
600 ],'list' => [
601 'path' => 'v1alpha1/{+parent}/nodes',
602 'httpMethod' => 'GET',
603 'parameters' => [
604 'parent' => [
605 'location' => 'path',
606 'type' => 'string',
607 'required' => true,
608 ],
609 'filter' => [
610 'location' => 'query',
611 'type' => 'string',
612 ],
613 'pageSize' => [
614 'location' => 'query',
615 'type' => 'integer',
616 ],
617 'pageToken' => [
618 'location' => 'query',
619 'type' => 'string',
620 ],
621 ],
622 ],
623 ]
624 ]
625 );
626 $this->deployments = new Sasportal\Resource\Deployments(
627 $this,
628 $this->serviceName,
629 'deployments',
630 [
631 'methods' => [
632 'get' => [
633 'path' => 'v1alpha1/{+name}',
634 'httpMethod' => 'GET',
635 'parameters' => [
636 'name' => [
637 'location' => 'path',
638 'type' => 'string',
639 'required' => true,
640 ],
641 ],
642 ],
643 ]
644 ]
645 );
646 $this->deployments_devices = new Sasportal\Resource\DeploymentsDevices(
647 $this,
648 $this->serviceName,
649 'devices',
650 [
651 'methods' => [
652 'delete' => [
653 'path' => 'v1alpha1/{+name}',
654 'httpMethod' => 'DELETE',
655 'parameters' => [
656 'name' => [
657 'location' => 'path',
658 'type' => 'string',
659 'required' => true,
660 ],
661 ],
662 ],'get' => [
663 'path' => 'v1alpha1/{+name}',
664 'httpMethod' => 'GET',
665 'parameters' => [
666 'name' => [
667 'location' => 'path',
668 'type' => 'string',
669 'required' => true,
670 ],
671 ],
672 ],'move' => [
673 'path' => 'v1alpha1/{+name}:move',
674 'httpMethod' => 'POST',
675 'parameters' => [
676 'name' => [
677 'location' => 'path',
678 'type' => 'string',
679 'required' => true,
680 ],
681 ],
682 ],'patch' => [
683 'path' => 'v1alpha1/{+name}',
684 'httpMethod' => 'PATCH',
685 'parameters' => [
686 'name' => [
687 'location' => 'path',
688 'type' => 'string',
689 'required' => true,
690 ],
691 'updateMask' => [
692 'location' => 'query',
693 'type' => 'string',
694 ],
695 ],
696 ],'signDevice' => [
697 'path' => 'v1alpha1/{+name}:signDevice',
698 'httpMethod' => 'POST',
699 'parameters' => [
700 'name' => [
701 'location' => 'path',
702 'type' => 'string',
703 'required' => true,
704 ],
705 ],
706 ],'updateSigned' => [
707 'path' => 'v1alpha1/{+name}:updateSigned',
708 'httpMethod' => 'PATCH',
709 'parameters' => [
710 'name' => [
711 'location' => 'path',
712 'type' => 'string',
713 'required' => true,
714 ],
715 ],
716 ],
717 ]
718 ]
719 );
720 $this->installer = new Sasportal\Resource\Installer(
721 $this,
722 $this->serviceName,
723 'installer',
724 [
725 'methods' => [
726 'generateSecret' => [
727 'path' => 'v1alpha1/installer:generateSecret',
728 'httpMethod' => 'POST',
729 'parameters' => [],
730 ],'validate' => [
731 'path' => 'v1alpha1/installer:validate',
732 'httpMethod' => 'POST',
733 'parameters' => [],
734 ],
735 ]
736 ]
737 );
738 $this->nodes = new Sasportal\Resource\Nodes(
739 $this,
740 $this->serviceName,
741 'nodes',
742 [
743 'methods' => [
744 'get' => [
745 'path' => 'v1alpha1/{+name}',
746 'httpMethod' => 'GET',
747 'parameters' => [
748 'name' => [
749 'location' => 'path',
750 'type' => 'string',
751 'required' => true,
752 ],
753 ],
754 ],
755 ]
756 ]
757 );
758 $this->nodes_deployments = new Sasportal\Resource\NodesDeployments(
759 $this,
760 $this->serviceName,
761 'deployments',
762 [
763 'methods' => [
764 'delete' => [
765 'path' => 'v1alpha1/{+name}',
766 'httpMethod' => 'DELETE',
767 'parameters' => [
768 'name' => [
769 'location' => 'path',
770 'type' => 'string',
771 'required' => true,
772 ],
773 ],
774 ],'get' => [
775 'path' => 'v1alpha1/{+name}',
776 'httpMethod' => 'GET',
777 'parameters' => [
778 'name' => [
779 'location' => 'path',
780 'type' => 'string',
781 'required' => true,
782 ],
783 ],
784 ],'list' => [
785 'path' => 'v1alpha1/{+parent}/deployments',
786 'httpMethod' => 'GET',
787 'parameters' => [
788 'parent' => [
789 'location' => 'path',
790 'type' => 'string',
791 'required' => true,
792 ],
793 'filter' => [
794 'location' => 'query',
795 'type' => 'string',
796 ],
797 'pageSize' => [
798 'location' => 'query',
799 'type' => 'integer',
800 ],
801 'pageToken' => [
802 'location' => 'query',
803 'type' => 'string',
804 ],
805 ],
806 ],'move' => [
807 'path' => 'v1alpha1/{+name}:move',
808 'httpMethod' => 'POST',
809 'parameters' => [
810 'name' => [
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ],
815 ],
816 ],'patch' => [
817 'path' => 'v1alpha1/{+name}',
818 'httpMethod' => 'PATCH',
819 'parameters' => [
820 'name' => [
821 'location' => 'path',
822 'type' => 'string',
823 'required' => true,
824 ],
825 'updateMask' => [
826 'location' => 'query',
827 'type' => 'string',
828 ],
829 ],
830 ],
831 ]
832 ]
833 );
834 $this->nodes_deployments_devices = new Sasportal\Resource\NodesDeploymentsDevices(
835 $this,
836 $this->serviceName,
837 'devices',
838 [
839 'methods' => [
840 'create' => [
841 'path' => 'v1alpha1/{+parent}/devices',
842 'httpMethod' => 'POST',
843 'parameters' => [
844 'parent' => [
845 'location' => 'path',
846 'type' => 'string',
847 'required' => true,
848 ],
849 ],
850 ],'createSigned' => [
851 'path' => 'v1alpha1/{+parent}/devices:createSigned',
852 'httpMethod' => 'POST',
853 'parameters' => [
854 'parent' => [
855 'location' => 'path',
856 'type' => 'string',
857 'required' => true,
858 ],
859 ],
860 ],'list' => [
861 'path' => 'v1alpha1/{+parent}/devices',
862 'httpMethod' => 'GET',
863 'parameters' => [
864 'parent' => [
865 'location' => 'path',
866 'type' => 'string',
867 'required' => true,
868 ],
869 'filter' => [
870 'location' => 'query',
871 'type' => 'string',
872 ],
873 'pageSize' => [
874 'location' => 'query',
875 'type' => 'integer',
876 ],
877 'pageToken' => [
878 'location' => 'query',
879 'type' => 'string',
880 ],
881 ],
882 ],
883 ]
884 ]
885 );
886 $this->nodes_devices = new Sasportal\Resource\NodesDevices(
887 $this,
888 $this->serviceName,
889 'devices',
890 [
891 'methods' => [
892 'create' => [
893 'path' => 'v1alpha1/{+parent}/devices',
894 'httpMethod' => 'POST',
895 'parameters' => [
896 'parent' => [
897 'location' => 'path',
898 'type' => 'string',
899 'required' => true,
900 ],
901 ],
902 ],'createSigned' => [
903 'path' => 'v1alpha1/{+parent}/devices:createSigned',
904 'httpMethod' => 'POST',
905 'parameters' => [
906 'parent' => [
907 'location' => 'path',
908 'type' => 'string',
909 'required' => true,
910 ],
911 ],
912 ],'delete' => [
913 'path' => 'v1alpha1/{+name}',
914 'httpMethod' => 'DELETE',
915 'parameters' => [
916 'name' => [
917 'location' => 'path',
918 'type' => 'string',
919 'required' => true,
920 ],
921 ],
922 ],'get' => [
923 'path' => 'v1alpha1/{+name}',
924 'httpMethod' => 'GET',
925 'parameters' => [
926 'name' => [
927 'location' => 'path',
928 'type' => 'string',
929 'required' => true,
930 ],
931 ],
932 ],'list' => [
933 'path' => 'v1alpha1/{+parent}/devices',
934 'httpMethod' => 'GET',
935 'parameters' => [
936 'parent' => [
937 'location' => 'path',
938 'type' => 'string',
939 'required' => true,
940 ],
941 'filter' => [
942 'location' => 'query',
943 'type' => 'string',
944 ],
945 'pageSize' => [
946 'location' => 'query',
947 'type' => 'integer',
948 ],
949 'pageToken' => [
950 'location' => 'query',
951 'type' => 'string',
952 ],
953 ],
954 ],'move' => [
955 'path' => 'v1alpha1/{+name}:move',
956 'httpMethod' => 'POST',
957 'parameters' => [
958 'name' => [
959 'location' => 'path',
960 'type' => 'string',
961 'required' => true,
962 ],
963 ],
964 ],'patch' => [
965 'path' => 'v1alpha1/{+name}',
966 'httpMethod' => 'PATCH',
967 'parameters' => [
968 'name' => [
969 'location' => 'path',
970 'type' => 'string',
971 'required' => true,
972 ],
973 'updateMask' => [
974 'location' => 'query',
975 'type' => 'string',
976 ],
977 ],
978 ],'signDevice' => [
979 'path' => 'v1alpha1/{+name}:signDevice',
980 'httpMethod' => 'POST',
981 'parameters' => [
982 'name' => [
983 'location' => 'path',
984 'type' => 'string',
985 'required' => true,
986 ],
987 ],
988 ],'updateSigned' => [
989 'path' => 'v1alpha1/{+name}:updateSigned',
990 'httpMethod' => 'PATCH',
991 'parameters' => [
992 'name' => [
993 'location' => 'path',
994 'type' => 'string',
995 'required' => true,
996 ],
997 ],
998 ],
999 ]
1000 ]
1001 );
1002 $this->nodes_nodes = new Sasportal\Resource\NodesNodes(
1003 $this,
1004 $this->serviceName,
1005 'nodes',
1006 [
1007 'methods' => [
1008 'create' => [
1009 'path' => 'v1alpha1/{+parent}/nodes',
1010 'httpMethod' => 'POST',
1011 'parameters' => [
1012 'parent' => [
1013 'location' => 'path',
1014 'type' => 'string',
1015 'required' => true,
1016 ],
1017 ],
1018 ],'delete' => [
1019 'path' => 'v1alpha1/{+name}',
1020 'httpMethod' => 'DELETE',
1021 'parameters' => [
1022 'name' => [
1023 'location' => 'path',
1024 'type' => 'string',
1025 'required' => true,
1026 ],
1027 ],
1028 ],'get' => [
1029 'path' => 'v1alpha1/{+name}',
1030 'httpMethod' => 'GET',
1031 'parameters' => [
1032 'name' => [
1033 'location' => 'path',
1034 'type' => 'string',
1035 'required' => true,
1036 ],
1037 ],
1038 ],'list' => [
1039 'path' => 'v1alpha1/{+parent}/nodes',
1040 'httpMethod' => 'GET',
1041 'parameters' => [
1042 'parent' => [
1043 'location' => 'path',
1044 'type' => 'string',
1045 'required' => true,
1046 ],
1047 'filter' => [
1048 'location' => 'query',
1049 'type' => 'string',
1050 ],
1051 'pageSize' => [
1052 'location' => 'query',
1053 'type' => 'integer',
1054 ],
1055 'pageToken' => [
1056 'location' => 'query',
1057 'type' => 'string',
1058 ],
1059 ],
1060 ],'move' => [
1061 'path' => 'v1alpha1/{+name}:move',
1062 'httpMethod' => 'POST',
1063 'parameters' => [
1064 'name' => [
1065 'location' => 'path',
1066 'type' => 'string',
1067 'required' => true,
1068 ],
1069 ],
1070 ],'patch' => [
1071 'path' => 'v1alpha1/{+name}',
1072 'httpMethod' => 'PATCH',
1073 'parameters' => [
1074 'name' => [
1075 'location' => 'path',
1076 'type' => 'string',
1077 'required' => true,
1078 ],
1079 'updateMask' => [
1080 'location' => 'query',
1081 'type' => 'string',
1082 ],
1083 ],
1084 ],
1085 ]
1086 ]
1087 );
1088 $this->nodes_nodes_deployments = new Sasportal\Resource\NodesNodesDeployments(
1089 $this,
1090 $this->serviceName,
1091 'deployments',
1092 [
1093 'methods' => [
1094 'create' => [
1095 'path' => 'v1alpha1/{+parent}/deployments',
1096 'httpMethod' => 'POST',
1097 'parameters' => [
1098 'parent' => [
1099 'location' => 'path',
1100 'type' => 'string',
1101 'required' => true,
1102 ],
1103 ],
1104 ],'list' => [
1105 'path' => 'v1alpha1/{+parent}/deployments',
1106 'httpMethod' => 'GET',
1107 'parameters' => [
1108 'parent' => [
1109 'location' => 'path',
1110 'type' => 'string',
1111 'required' => true,
1112 ],
1113 'filter' => [
1114 'location' => 'query',
1115 'type' => 'string',
1116 ],
1117 'pageSize' => [
1118 'location' => 'query',
1119 'type' => 'integer',
1120 ],
1121 'pageToken' => [
1122 'location' => 'query',
1123 'type' => 'string',
1124 ],
1125 ],
1126 ],
1127 ]
1128 ]
1129 );
1130 $this->nodes_nodes_devices = new Sasportal\Resource\NodesNodesDevices(
1131 $this,
1132 $this->serviceName,
1133 'devices',
1134 [
1135 'methods' => [
1136 'create' => [
1137 'path' => 'v1alpha1/{+parent}/devices',
1138 'httpMethod' => 'POST',
1139 'parameters' => [
1140 'parent' => [
1141 'location' => 'path',
1142 'type' => 'string',
1143 'required' => true,
1144 ],
1145 ],
1146 ],'createSigned' => [
1147 'path' => 'v1alpha1/{+parent}/devices:createSigned',
1148 'httpMethod' => 'POST',
1149 'parameters' => [
1150 'parent' => [
1151 'location' => 'path',
1152 'type' => 'string',
1153 'required' => true,
1154 ],
1155 ],
1156 ],'list' => [
1157 'path' => 'v1alpha1/{+parent}/devices',
1158 'httpMethod' => 'GET',
1159 'parameters' => [
1160 'parent' => [
1161 'location' => 'path',
1162 'type' => 'string',
1163 'required' => true,
1164 ],
1165 'filter' => [
1166 'location' => 'query',
1167 'type' => 'string',
1168 ],
1169 'pageSize' => [
1170 'location' => 'query',
1171 'type' => 'integer',
1172 ],
1173 'pageToken' => [
1174 'location' => 'query',
1175 'type' => 'string',
1176 ],
1177 ],
1178 ],
1179 ]
1180 ]
1181 );
1182 $this->nodes_nodes_nodes = new Sasportal\Resource\NodesNodesNodes(
1183 $this,
1184 $this->serviceName,
1185 'nodes',
1186 [
1187 'methods' => [
1188 'create' => [
1189 'path' => 'v1alpha1/{+parent}/nodes',
1190 'httpMethod' => 'POST',
1191 'parameters' => [
1192 'parent' => [
1193 'location' => 'path',
1194 'type' => 'string',
1195 'required' => true,
1196 ],
1197 ],
1198 ],'list' => [
1199 'path' => 'v1alpha1/{+parent}/nodes',
1200 'httpMethod' => 'GET',
1201 'parameters' => [
1202 'parent' => [
1203 'location' => 'path',
1204 'type' => 'string',
1205 'required' => true,
1206 ],
1207 'filter' => [
1208 'location' => 'query',
1209 'type' => 'string',
1210 ],
1211 'pageSize' => [
1212 'location' => 'query',
1213 'type' => 'integer',
1214 ],
1215 'pageToken' => [
1216 'location' => 'query',
1217 'type' => 'string',
1218 ],
1219 ],
1220 ],
1221 ]
1222 ]
1223 );
1224 $this->policies = new Sasportal\Resource\Policies(
1225 $this,
1226 $this->serviceName,
1227 'policies',
1228 [
1229 'methods' => [
1230 'get' => [
1231 'path' => 'v1alpha1/policies:get',
1232 'httpMethod' => 'POST',
1233 'parameters' => [],
1234 ],'set' => [
1235 'path' => 'v1alpha1/policies:set',
1236 'httpMethod' => 'POST',
1237 'parameters' => [],
1238 ],'test' => [
1239 'path' => 'v1alpha1/policies:test',
1240 'httpMethod' => 'POST',
1241 'parameters' => [],
1242 ],
1243 ]
1244 ]
1245 );
1246 }
1247}
1248
1249// Adding a class alias for backwards compatibility with the previous class name.
1250class_alias(Sasportal::class, 'Google_Service_Sasportal');
Note: See TracBrowser for help on using the repository browser.