source: vendor/google/apiclient-services/src/NetAppFiles.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: 34.6 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 NetAppFiles (v1).
24 *
25 * <p>
26 * Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage
27 * service that provides advanced data management capabilities and highly
28 * scalable performance with global availability.</p>
29 *
30 * <p>
31 * For more information about this service, see the API
32 * <a href="https://cloud.google.com/netapp/" target="_blank">Documentation</a>
33 * </p>
34 *
35 * @author Google, Inc.
36 */
37class NetAppFiles extends \Google\Service
38{
39 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
40 const CLOUD_PLATFORM =
41 "https://www.googleapis.com/auth/cloud-platform";
42
43 public $projects_locations;
44 public $projects_locations_activeDirectories;
45 public $projects_locations_backupPolicies;
46 public $projects_locations_backupVaults;
47 public $projects_locations_backupVaults_backups;
48 public $projects_locations_kmsConfigs;
49 public $projects_locations_operations;
50 public $projects_locations_storagePools;
51 public $projects_locations_volumes;
52 public $projects_locations_volumes_quotaRules;
53 public $projects_locations_volumes_replications;
54 public $projects_locations_volumes_snapshots;
55 public $rootUrlTemplate;
56
57 /**
58 * Constructs the internal representation of the NetAppFiles 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://netapp.googleapis.com/';
68 $this->rootUrlTemplate = $rootUrl ?: 'https://netapp.UNIVERSE_DOMAIN/';
69 $this->servicePath = '';
70 $this->batchPath = 'batch';
71 $this->version = 'v1';
72 $this->serviceName = 'netapp';
73
74 $this->projects_locations = new NetAppFiles\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_activeDirectories = new NetAppFiles\Resource\ProjectsLocationsActiveDirectories(
117 $this,
118 $this->serviceName,
119 'activeDirectories',
120 [
121 'methods' => [
122 'create' => [
123 'path' => 'v1/{+parent}/activeDirectories',
124 'httpMethod' => 'POST',
125 'parameters' => [
126 'parent' => [
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ],
131 'activeDirectoryId' => [
132 'location' => 'query',
133 'type' => 'string',
134 ],
135 ],
136 ],'delete' => [
137 'path' => 'v1/{+name}',
138 'httpMethod' => 'DELETE',
139 'parameters' => [
140 'name' => [
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ],
145 ],
146 ],'get' => [
147 'path' => 'v1/{+name}',
148 'httpMethod' => 'GET',
149 'parameters' => [
150 'name' => [
151 'location' => 'path',
152 'type' => 'string',
153 'required' => true,
154 ],
155 ],
156 ],'list' => [
157 'path' => 'v1/{+parent}/activeDirectories',
158 'httpMethod' => 'GET',
159 'parameters' => [
160 'parent' => [
161 'location' => 'path',
162 'type' => 'string',
163 'required' => true,
164 ],
165 'filter' => [
166 'location' => 'query',
167 'type' => 'string',
168 ],
169 'orderBy' => [
170 'location' => 'query',
171 'type' => 'string',
172 ],
173 'pageSize' => [
174 'location' => 'query',
175 'type' => 'integer',
176 ],
177 'pageToken' => [
178 'location' => 'query',
179 'type' => 'string',
180 ],
181 ],
182 ],'patch' => [
183 'path' => 'v1/{+name}',
184 'httpMethod' => 'PATCH',
185 'parameters' => [
186 'name' => [
187 'location' => 'path',
188 'type' => 'string',
189 'required' => true,
190 ],
191 'updateMask' => [
192 'location' => 'query',
193 'type' => 'string',
194 ],
195 ],
196 ],
197 ]
198 ]
199 );
200 $this->projects_locations_backupPolicies = new NetAppFiles\Resource\ProjectsLocationsBackupPolicies(
201 $this,
202 $this->serviceName,
203 'backupPolicies',
204 [
205 'methods' => [
206 'create' => [
207 'path' => 'v1/{+parent}/backupPolicies',
208 'httpMethod' => 'POST',
209 'parameters' => [
210 'parent' => [
211 'location' => 'path',
212 'type' => 'string',
213 'required' => true,
214 ],
215 'backupPolicyId' => [
216 'location' => 'query',
217 'type' => 'string',
218 ],
219 ],
220 ],'delete' => [
221 'path' => 'v1/{+name}',
222 'httpMethod' => 'DELETE',
223 'parameters' => [
224 'name' => [
225 'location' => 'path',
226 'type' => 'string',
227 'required' => true,
228 ],
229 ],
230 ],'get' => [
231 'path' => 'v1/{+name}',
232 'httpMethod' => 'GET',
233 'parameters' => [
234 'name' => [
235 'location' => 'path',
236 'type' => 'string',
237 'required' => true,
238 ],
239 ],
240 ],'list' => [
241 'path' => 'v1/{+parent}/backupPolicies',
242 'httpMethod' => 'GET',
243 'parameters' => [
244 'parent' => [
245 'location' => 'path',
246 'type' => 'string',
247 'required' => true,
248 ],
249 'filter' => [
250 'location' => 'query',
251 'type' => 'string',
252 ],
253 'orderBy' => [
254 'location' => 'query',
255 'type' => 'string',
256 ],
257 'pageSize' => [
258 'location' => 'query',
259 'type' => 'integer',
260 ],
261 'pageToken' => [
262 'location' => 'query',
263 'type' => 'string',
264 ],
265 ],
266 ],'patch' => [
267 'path' => 'v1/{+name}',
268 'httpMethod' => 'PATCH',
269 'parameters' => [
270 'name' => [
271 'location' => 'path',
272 'type' => 'string',
273 'required' => true,
274 ],
275 'updateMask' => [
276 'location' => 'query',
277 'type' => 'string',
278 ],
279 ],
280 ],
281 ]
282 ]
283 );
284 $this->projects_locations_backupVaults = new NetAppFiles\Resource\ProjectsLocationsBackupVaults(
285 $this,
286 $this->serviceName,
287 'backupVaults',
288 [
289 'methods' => [
290 'create' => [
291 'path' => 'v1/{+parent}/backupVaults',
292 'httpMethod' => 'POST',
293 'parameters' => [
294 'parent' => [
295 'location' => 'path',
296 'type' => 'string',
297 'required' => true,
298 ],
299 'backupVaultId' => [
300 'location' => 'query',
301 'type' => 'string',
302 ],
303 ],
304 ],'delete' => [
305 'path' => 'v1/{+name}',
306 'httpMethod' => 'DELETE',
307 'parameters' => [
308 'name' => [
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ],
313 ],
314 ],'get' => [
315 'path' => 'v1/{+name}',
316 'httpMethod' => 'GET',
317 'parameters' => [
318 'name' => [
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ],
323 ],
324 ],'list' => [
325 'path' => 'v1/{+parent}/backupVaults',
326 'httpMethod' => 'GET',
327 'parameters' => [
328 'parent' => [
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ],
333 'filter' => [
334 'location' => 'query',
335 'type' => 'string',
336 ],
337 'orderBy' => [
338 'location' => 'query',
339 'type' => 'string',
340 ],
341 'pageSize' => [
342 'location' => 'query',
343 'type' => 'integer',
344 ],
345 'pageToken' => [
346 'location' => 'query',
347 'type' => 'string',
348 ],
349 ],
350 ],'patch' => [
351 'path' => 'v1/{+name}',
352 'httpMethod' => 'PATCH',
353 'parameters' => [
354 'name' => [
355 'location' => 'path',
356 'type' => 'string',
357 'required' => true,
358 ],
359 'updateMask' => [
360 'location' => 'query',
361 'type' => 'string',
362 ],
363 ],
364 ],
365 ]
366 ]
367 );
368 $this->projects_locations_backupVaults_backups = new NetAppFiles\Resource\ProjectsLocationsBackupVaultsBackups(
369 $this,
370 $this->serviceName,
371 'backups',
372 [
373 'methods' => [
374 'create' => [
375 'path' => 'v1/{+parent}/backups',
376 'httpMethod' => 'POST',
377 'parameters' => [
378 'parent' => [
379 'location' => 'path',
380 'type' => 'string',
381 'required' => true,
382 ],
383 'backupId' => [
384 'location' => 'query',
385 'type' => 'string',
386 ],
387 ],
388 ],'delete' => [
389 'path' => 'v1/{+name}',
390 'httpMethod' => 'DELETE',
391 'parameters' => [
392 'name' => [
393 'location' => 'path',
394 'type' => 'string',
395 'required' => true,
396 ],
397 ],
398 ],'get' => [
399 'path' => 'v1/{+name}',
400 'httpMethod' => 'GET',
401 'parameters' => [
402 'name' => [
403 'location' => 'path',
404 'type' => 'string',
405 'required' => true,
406 ],
407 ],
408 ],'list' => [
409 'path' => 'v1/{+parent}/backups',
410 'httpMethod' => 'GET',
411 'parameters' => [
412 'parent' => [
413 'location' => 'path',
414 'type' => 'string',
415 'required' => true,
416 ],
417 'filter' => [
418 'location' => 'query',
419 'type' => 'string',
420 ],
421 'orderBy' => [
422 'location' => 'query',
423 'type' => 'string',
424 ],
425 'pageSize' => [
426 'location' => 'query',
427 'type' => 'integer',
428 ],
429 'pageToken' => [
430 'location' => 'query',
431 'type' => 'string',
432 ],
433 ],
434 ],'patch' => [
435 'path' => 'v1/{+name}',
436 'httpMethod' => 'PATCH',
437 'parameters' => [
438 'name' => [
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ],
443 'updateMask' => [
444 'location' => 'query',
445 'type' => 'string',
446 ],
447 ],
448 ],
449 ]
450 ]
451 );
452 $this->projects_locations_kmsConfigs = new NetAppFiles\Resource\ProjectsLocationsKmsConfigs(
453 $this,
454 $this->serviceName,
455 'kmsConfigs',
456 [
457 'methods' => [
458 'create' => [
459 'path' => 'v1/{+parent}/kmsConfigs',
460 'httpMethod' => 'POST',
461 'parameters' => [
462 'parent' => [
463 'location' => 'path',
464 'type' => 'string',
465 'required' => true,
466 ],
467 'kmsConfigId' => [
468 'location' => 'query',
469 'type' => 'string',
470 ],
471 ],
472 ],'delete' => [
473 'path' => 'v1/{+name}',
474 'httpMethod' => 'DELETE',
475 'parameters' => [
476 'name' => [
477 'location' => 'path',
478 'type' => 'string',
479 'required' => true,
480 ],
481 ],
482 ],'encrypt' => [
483 'path' => 'v1/{+name}:encrypt',
484 'httpMethod' => 'POST',
485 'parameters' => [
486 'name' => [
487 'location' => 'path',
488 'type' => 'string',
489 'required' => true,
490 ],
491 ],
492 ],'get' => [
493 'path' => 'v1/{+name}',
494 'httpMethod' => 'GET',
495 'parameters' => [
496 'name' => [
497 'location' => 'path',
498 'type' => 'string',
499 'required' => true,
500 ],
501 ],
502 ],'list' => [
503 'path' => 'v1/{+parent}/kmsConfigs',
504 'httpMethod' => 'GET',
505 'parameters' => [
506 'parent' => [
507 'location' => 'path',
508 'type' => 'string',
509 'required' => true,
510 ],
511 'filter' => [
512 'location' => 'query',
513 'type' => 'string',
514 ],
515 'orderBy' => [
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 ],'patch' => [
529 'path' => 'v1/{+name}',
530 'httpMethod' => 'PATCH',
531 'parameters' => [
532 'name' => [
533 'location' => 'path',
534 'type' => 'string',
535 'required' => true,
536 ],
537 'updateMask' => [
538 'location' => 'query',
539 'type' => 'string',
540 ],
541 ],
542 ],'verify' => [
543 'path' => 'v1/{+name}:verify',
544 'httpMethod' => 'POST',
545 'parameters' => [
546 'name' => [
547 'location' => 'path',
548 'type' => 'string',
549 'required' => true,
550 ],
551 ],
552 ],
553 ]
554 ]
555 );
556 $this->projects_locations_operations = new NetAppFiles\Resource\ProjectsLocationsOperations(
557 $this,
558 $this->serviceName,
559 'operations',
560 [
561 'methods' => [
562 'cancel' => [
563 'path' => 'v1/{+name}:cancel',
564 'httpMethod' => 'POST',
565 'parameters' => [
566 'name' => [
567 'location' => 'path',
568 'type' => 'string',
569 'required' => true,
570 ],
571 ],
572 ],'delete' => [
573 'path' => 'v1/{+name}',
574 'httpMethod' => 'DELETE',
575 'parameters' => [
576 'name' => [
577 'location' => 'path',
578 'type' => 'string',
579 'required' => true,
580 ],
581 ],
582 ],'get' => [
583 'path' => 'v1/{+name}',
584 'httpMethod' => 'GET',
585 'parameters' => [
586 'name' => [
587 'location' => 'path',
588 'type' => 'string',
589 'required' => true,
590 ],
591 ],
592 ],'list' => [
593 'path' => 'v1/{+name}/operations',
594 'httpMethod' => 'GET',
595 'parameters' => [
596 'name' => [
597 'location' => 'path',
598 'type' => 'string',
599 'required' => true,
600 ],
601 'filter' => [
602 'location' => 'query',
603 'type' => 'string',
604 ],
605 'pageSize' => [
606 'location' => 'query',
607 'type' => 'integer',
608 ],
609 'pageToken' => [
610 'location' => 'query',
611 'type' => 'string',
612 ],
613 ],
614 ],
615 ]
616 ]
617 );
618 $this->projects_locations_storagePools = new NetAppFiles\Resource\ProjectsLocationsStoragePools(
619 $this,
620 $this->serviceName,
621 'storagePools',
622 [
623 'methods' => [
624 'create' => [
625 'path' => 'v1/{+parent}/storagePools',
626 'httpMethod' => 'POST',
627 'parameters' => [
628 'parent' => [
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ],
633 'storagePoolId' => [
634 'location' => 'query',
635 'type' => 'string',
636 ],
637 ],
638 ],'delete' => [
639 'path' => 'v1/{+name}',
640 'httpMethod' => 'DELETE',
641 'parameters' => [
642 'name' => [
643 'location' => 'path',
644 'type' => 'string',
645 'required' => true,
646 ],
647 ],
648 ],'get' => [
649 'path' => 'v1/{+name}',
650 'httpMethod' => 'GET',
651 'parameters' => [
652 'name' => [
653 'location' => 'path',
654 'type' => 'string',
655 'required' => true,
656 ],
657 ],
658 ],'list' => [
659 'path' => 'v1/{+parent}/storagePools',
660 'httpMethod' => 'GET',
661 'parameters' => [
662 'parent' => [
663 'location' => 'path',
664 'type' => 'string',
665 'required' => true,
666 ],
667 'filter' => [
668 'location' => 'query',
669 'type' => 'string',
670 ],
671 'orderBy' => [
672 'location' => 'query',
673 'type' => 'string',
674 ],
675 'pageSize' => [
676 'location' => 'query',
677 'type' => 'integer',
678 ],
679 'pageToken' => [
680 'location' => 'query',
681 'type' => 'string',
682 ],
683 ],
684 ],'patch' => [
685 'path' => 'v1/{+name}',
686 'httpMethod' => 'PATCH',
687 'parameters' => [
688 'name' => [
689 'location' => 'path',
690 'type' => 'string',
691 'required' => true,
692 ],
693 'updateMask' => [
694 'location' => 'query',
695 'type' => 'string',
696 ],
697 ],
698 ],'switch' => [
699 'path' => 'v1/{+name}:switch',
700 'httpMethod' => 'POST',
701 'parameters' => [
702 'name' => [
703 'location' => 'path',
704 'type' => 'string',
705 'required' => true,
706 ],
707 ],
708 ],
709 ]
710 ]
711 );
712 $this->projects_locations_volumes = new NetAppFiles\Resource\ProjectsLocationsVolumes(
713 $this,
714 $this->serviceName,
715 'volumes',
716 [
717 'methods' => [
718 'create' => [
719 'path' => 'v1/{+parent}/volumes',
720 'httpMethod' => 'POST',
721 'parameters' => [
722 'parent' => [
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ],
727 'volumeId' => [
728 'location' => 'query',
729 'type' => 'string',
730 ],
731 ],
732 ],'delete' => [
733 'path' => 'v1/{+name}',
734 'httpMethod' => 'DELETE',
735 'parameters' => [
736 'name' => [
737 'location' => 'path',
738 'type' => 'string',
739 'required' => true,
740 ],
741 'force' => [
742 'location' => 'query',
743 'type' => 'boolean',
744 ],
745 ],
746 ],'get' => [
747 'path' => 'v1/{+name}',
748 'httpMethod' => 'GET',
749 'parameters' => [
750 'name' => [
751 'location' => 'path',
752 'type' => 'string',
753 'required' => true,
754 ],
755 ],
756 ],'list' => [
757 'path' => 'v1/{+parent}/volumes',
758 'httpMethod' => 'GET',
759 'parameters' => [
760 'parent' => [
761 'location' => 'path',
762 'type' => 'string',
763 'required' => true,
764 ],
765 'filter' => [
766 'location' => 'query',
767 'type' => 'string',
768 ],
769 'orderBy' => [
770 'location' => 'query',
771 'type' => 'string',
772 ],
773 'pageSize' => [
774 'location' => 'query',
775 'type' => 'integer',
776 ],
777 'pageToken' => [
778 'location' => 'query',
779 'type' => 'string',
780 ],
781 ],
782 ],'patch' => [
783 'path' => 'v1/{+name}',
784 'httpMethod' => 'PATCH',
785 'parameters' => [
786 'name' => [
787 'location' => 'path',
788 'type' => 'string',
789 'required' => true,
790 ],
791 'updateMask' => [
792 'location' => 'query',
793 'type' => 'string',
794 ],
795 ],
796 ],'revert' => [
797 'path' => 'v1/{+name}:revert',
798 'httpMethod' => 'POST',
799 'parameters' => [
800 'name' => [
801 'location' => 'path',
802 'type' => 'string',
803 'required' => true,
804 ],
805 ],
806 ],
807 ]
808 ]
809 );
810 $this->projects_locations_volumes_quotaRules = new NetAppFiles\Resource\ProjectsLocationsVolumesQuotaRules(
811 $this,
812 $this->serviceName,
813 'quotaRules',
814 [
815 'methods' => [
816 'create' => [
817 'path' => 'v1/{+parent}/quotaRules',
818 'httpMethod' => 'POST',
819 'parameters' => [
820 'parent' => [
821 'location' => 'path',
822 'type' => 'string',
823 'required' => true,
824 ],
825 'quotaRuleId' => [
826 'location' => 'query',
827 'type' => 'string',
828 ],
829 ],
830 ],'delete' => [
831 'path' => 'v1/{+name}',
832 'httpMethod' => 'DELETE',
833 'parameters' => [
834 'name' => [
835 'location' => 'path',
836 'type' => 'string',
837 'required' => true,
838 ],
839 ],
840 ],'get' => [
841 'path' => 'v1/{+name}',
842 'httpMethod' => 'GET',
843 'parameters' => [
844 'name' => [
845 'location' => 'path',
846 'type' => 'string',
847 'required' => true,
848 ],
849 ],
850 ],'list' => [
851 'path' => 'v1/{+parent}/quotaRules',
852 'httpMethod' => 'GET',
853 'parameters' => [
854 'parent' => [
855 'location' => 'path',
856 'type' => 'string',
857 'required' => true,
858 ],
859 'filter' => [
860 'location' => 'query',
861 'type' => 'string',
862 ],
863 'orderBy' => [
864 'location' => 'query',
865 'type' => 'string',
866 ],
867 'pageSize' => [
868 'location' => 'query',
869 'type' => 'integer',
870 ],
871 'pageToken' => [
872 'location' => 'query',
873 'type' => 'string',
874 ],
875 ],
876 ],'patch' => [
877 'path' => 'v1/{+name}',
878 'httpMethod' => 'PATCH',
879 'parameters' => [
880 'name' => [
881 'location' => 'path',
882 'type' => 'string',
883 'required' => true,
884 ],
885 'updateMask' => [
886 'location' => 'query',
887 'type' => 'string',
888 ],
889 ],
890 ],
891 ]
892 ]
893 );
894 $this->projects_locations_volumes_replications = new NetAppFiles\Resource\ProjectsLocationsVolumesReplications(
895 $this,
896 $this->serviceName,
897 'replications',
898 [
899 'methods' => [
900 'create' => [
901 'path' => 'v1/{+parent}/replications',
902 'httpMethod' => 'POST',
903 'parameters' => [
904 'parent' => [
905 'location' => 'path',
906 'type' => 'string',
907 'required' => true,
908 ],
909 'replicationId' => [
910 'location' => 'query',
911 'type' => 'string',
912 ],
913 ],
914 ],'delete' => [
915 'path' => 'v1/{+name}',
916 'httpMethod' => 'DELETE',
917 'parameters' => [
918 'name' => [
919 'location' => 'path',
920 'type' => 'string',
921 'required' => true,
922 ],
923 ],
924 ],'establishPeering' => [
925 'path' => 'v1/{+name}:establishPeering',
926 'httpMethod' => 'POST',
927 'parameters' => [
928 'name' => [
929 'location' => 'path',
930 'type' => 'string',
931 'required' => true,
932 ],
933 ],
934 ],'get' => [
935 'path' => 'v1/{+name}',
936 'httpMethod' => 'GET',
937 'parameters' => [
938 'name' => [
939 'location' => 'path',
940 'type' => 'string',
941 'required' => true,
942 ],
943 ],
944 ],'list' => [
945 'path' => 'v1/{+parent}/replications',
946 'httpMethod' => 'GET',
947 'parameters' => [
948 'parent' => [
949 'location' => 'path',
950 'type' => 'string',
951 'required' => true,
952 ],
953 'filter' => [
954 'location' => 'query',
955 'type' => 'string',
956 ],
957 'orderBy' => [
958 'location' => 'query',
959 'type' => 'string',
960 ],
961 'pageSize' => [
962 'location' => 'query',
963 'type' => 'integer',
964 ],
965 'pageToken' => [
966 'location' => 'query',
967 'type' => 'string',
968 ],
969 ],
970 ],'patch' => [
971 'path' => 'v1/{+name}',
972 'httpMethod' => 'PATCH',
973 'parameters' => [
974 'name' => [
975 'location' => 'path',
976 'type' => 'string',
977 'required' => true,
978 ],
979 'updateMask' => [
980 'location' => 'query',
981 'type' => 'string',
982 ],
983 ],
984 ],'resume' => [
985 'path' => 'v1/{+name}:resume',
986 'httpMethod' => 'POST',
987 'parameters' => [
988 'name' => [
989 'location' => 'path',
990 'type' => 'string',
991 'required' => true,
992 ],
993 ],
994 ],'reverseDirection' => [
995 'path' => 'v1/{+name}:reverseDirection',
996 'httpMethod' => 'POST',
997 'parameters' => [
998 'name' => [
999 'location' => 'path',
1000 'type' => 'string',
1001 'required' => true,
1002 ],
1003 ],
1004 ],'stop' => [
1005 'path' => 'v1/{+name}:stop',
1006 'httpMethod' => 'POST',
1007 'parameters' => [
1008 'name' => [
1009 'location' => 'path',
1010 'type' => 'string',
1011 'required' => true,
1012 ],
1013 ],
1014 ],'sync' => [
1015 'path' => 'v1/{+name}:sync',
1016 'httpMethod' => 'POST',
1017 'parameters' => [
1018 'name' => [
1019 'location' => 'path',
1020 'type' => 'string',
1021 'required' => true,
1022 ],
1023 ],
1024 ],
1025 ]
1026 ]
1027 );
1028 $this->projects_locations_volumes_snapshots = new NetAppFiles\Resource\ProjectsLocationsVolumesSnapshots(
1029 $this,
1030 $this->serviceName,
1031 'snapshots',
1032 [
1033 'methods' => [
1034 'create' => [
1035 'path' => 'v1/{+parent}/snapshots',
1036 'httpMethod' => 'POST',
1037 'parameters' => [
1038 'parent' => [
1039 'location' => 'path',
1040 'type' => 'string',
1041 'required' => true,
1042 ],
1043 'snapshotId' => [
1044 'location' => 'query',
1045 'type' => 'string',
1046 ],
1047 ],
1048 ],'delete' => [
1049 'path' => 'v1/{+name}',
1050 'httpMethod' => 'DELETE',
1051 'parameters' => [
1052 'name' => [
1053 'location' => 'path',
1054 'type' => 'string',
1055 'required' => true,
1056 ],
1057 ],
1058 ],'get' => [
1059 'path' => 'v1/{+name}',
1060 'httpMethod' => 'GET',
1061 'parameters' => [
1062 'name' => [
1063 'location' => 'path',
1064 'type' => 'string',
1065 'required' => true,
1066 ],
1067 ],
1068 ],'list' => [
1069 'path' => 'v1/{+parent}/snapshots',
1070 'httpMethod' => 'GET',
1071 'parameters' => [
1072 'parent' => [
1073 'location' => 'path',
1074 'type' => 'string',
1075 'required' => true,
1076 ],
1077 'filter' => [
1078 'location' => 'query',
1079 'type' => 'string',
1080 ],
1081 'orderBy' => [
1082 'location' => 'query',
1083 'type' => 'string',
1084 ],
1085 'pageSize' => [
1086 'location' => 'query',
1087 'type' => 'integer',
1088 ],
1089 'pageToken' => [
1090 'location' => 'query',
1091 'type' => 'string',
1092 ],
1093 ],
1094 ],'patch' => [
1095 'path' => 'v1/{+name}',
1096 'httpMethod' => 'PATCH',
1097 'parameters' => [
1098 'name' => [
1099 'location' => 'path',
1100 'type' => 'string',
1101 'required' => true,
1102 ],
1103 'updateMask' => [
1104 'location' => 'query',
1105 'type' => 'string',
1106 ],
1107 ],
1108 ],
1109 ]
1110 ]
1111 );
1112 }
1113}
1114
1115// Adding a class alias for backwards compatibility with the previous class name.
1116class_alias(NetAppFiles::class, 'Google_Service_NetAppFiles');
Note: See TracBrowser for help on using the repository browser.