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