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 for Compute Engine API to programmatically migrate workloads.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/migrate/compute-engine" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class VMMigrationService 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_groups;
43  public $projects_locations_operations;
44  public $projects_locations_sources;
45  public $projects_locations_sources_datacenterConnectors;
46  public $projects_locations_sources_migratingVms;
47  public $projects_locations_sources_migratingVms_cloneJobs;
48  public $projects_locations_sources_migratingVms_cutoverJobs;
49  public $projects_locations_sources_utilizationReports;
50  public $projects_locations_targetProjects;
51
52  /**
53   * Constructs the internal representation of the VMMigrationService service.
54   *
55   * @param Client|array $clientOrConfig The client used to deliver requests, or a
56   *                                     config array to pass to a new Client instance.
57   * @param string $rootUrl The root URL used for requests to the service.
58   */
59  public function __construct($clientOrConfig = [], $rootUrl = null)
60  {
61    parent::__construct($clientOrConfig);
62    $this->rootUrl = $rootUrl ?: 'https://vmmigration.googleapis.com/';
63    $this->servicePath = '';
64    $this->batchPath = 'batch';
65    $this->version = 'v1';
66    $this->serviceName = 'vmmigration';
67
68    $this->projects_locations = new VMMigrationService\Resource\ProjectsLocations(
69        $this,
70        $this->serviceName,
71        'locations',
72        [
73          'methods' => [
74            'get' => [
75              'path' => 'v1/{+name}',
76              'httpMethod' => 'GET',
77              'parameters' => [
78                'name' => [
79                  'location' => 'path',
80                  'type' => 'string',
81                  'required' => true,
82                ],
83              ],
84            ],'list' => [
85              'path' => 'v1/{+name}/locations',
86              'httpMethod' => 'GET',
87              'parameters' => [
88                'name' => [
89                  'location' => 'path',
90                  'type' => 'string',
91                  'required' => true,
92                ],
93                'filter' => [
94                  'location' => 'query',
95                  'type' => 'string',
96                ],
97                'pageSize' => [
98                  'location' => 'query',
99                  'type' => 'integer',
100                ],
101                'pageToken' => [
102                  'location' => 'query',
103                  'type' => 'string',
104                ],
105              ],
106            ],
107          ]
108        ]
109    );
110    $this->projects_locations_groups = new VMMigrationService\Resource\ProjectsLocationsGroups(
111        $this,
112        $this->serviceName,
113        'groups',
114        [
115          'methods' => [
116            'addGroupMigration' => [
117              'path' => 'v1/{+group}:addGroupMigration',
118              'httpMethod' => 'POST',
119              'parameters' => [
120                'group' => [
121                  'location' => 'path',
122                  'type' => 'string',
123                  'required' => true,
124                ],
125              ],
126            ],'create' => [
127              'path' => 'v1/{+parent}/groups',
128              'httpMethod' => 'POST',
129              'parameters' => [
130                'parent' => [
131                  'location' => 'path',
132                  'type' => 'string',
133                  'required' => true,
134                ],
135                'groupId' => [
136                  'location' => 'query',
137                  'type' => 'string',
138                ],
139                'requestId' => [
140                  'location' => 'query',
141                  'type' => 'string',
142                ],
143              ],
144            ],'delete' => [
145              'path' => 'v1/{+name}',
146              'httpMethod' => 'DELETE',
147              'parameters' => [
148                'name' => [
149                  'location' => 'path',
150                  'type' => 'string',
151                  'required' => true,
152                ],
153                'requestId' => [
154                  'location' => 'query',
155                  'type' => 'string',
156                ],
157              ],
158            ],'get' => [
159              'path' => 'v1/{+name}',
160              'httpMethod' => 'GET',
161              'parameters' => [
162                'name' => [
163                  'location' => 'path',
164                  'type' => 'string',
165                  'required' => true,
166                ],
167              ],
168            ],'list' => [
169              'path' => 'v1/{+parent}/groups',
170              'httpMethod' => 'GET',
171              'parameters' => [
172                'parent' => [
173                  'location' => 'path',
174                  'type' => 'string',
175                  'required' => true,
176                ],
177                'filter' => [
178                  'location' => 'query',
179                  'type' => 'string',
180                ],
181                'orderBy' => [
182                  'location' => 'query',
183                  'type' => 'string',
184                ],
185                'pageSize' => [
186                  'location' => 'query',
187                  'type' => 'integer',
188                ],
189                'pageToken' => [
190                  'location' => 'query',
191                  'type' => 'string',
192                ],
193              ],
194            ],'patch' => [
195              'path' => 'v1/{+name}',
196              'httpMethod' => 'PATCH',
197              'parameters' => [
198                'name' => [
199                  'location' => 'path',
200                  'type' => 'string',
201                  'required' => true,
202                ],
203                'requestId' => [
204                  'location' => 'query',
205                  'type' => 'string',
206                ],
207                'updateMask' => [
208                  'location' => 'query',
209                  'type' => 'string',
210                ],
211              ],
212            ],'removeGroupMigration' => [
213              'path' => 'v1/{+group}:removeGroupMigration',
214              'httpMethod' => 'POST',
215              'parameters' => [
216                'group' => [
217                  'location' => 'path',
218                  'type' => 'string',
219                  'required' => true,
220                ],
221              ],
222            ],
223          ]
224        ]
225    );
226    $this->projects_locations_operations = new VMMigrationService\Resource\ProjectsLocationsOperations(
227        $this,
228        $this->serviceName,
229        'operations',
230        [
231          'methods' => [
232            'cancel' => [
233              'path' => 'v1/{+name}:cancel',
234              'httpMethod' => 'POST',
235              'parameters' => [
236                'name' => [
237                  'location' => 'path',
238                  'type' => 'string',
239                  'required' => true,
240                ],
241              ],
242            ],'delete' => [
243              'path' => 'v1/{+name}',
244              'httpMethod' => 'DELETE',
245              'parameters' => [
246                'name' => [
247                  'location' => 'path',
248                  'type' => 'string',
249                  'required' => true,
250                ],
251              ],
252            ],'get' => [
253              'path' => 'v1/{+name}',
254              'httpMethod' => 'GET',
255              'parameters' => [
256                'name' => [
257                  'location' => 'path',
258                  'type' => 'string',
259                  'required' => true,
260                ],
261              ],
262            ],'list' => [
263              'path' => 'v1/{+name}/operations',
264              'httpMethod' => 'GET',
265              'parameters' => [
266                'name' => [
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->projects_locations_sources = new VMMigrationService\Resource\ProjectsLocationsSources(
289        $this,
290        $this->serviceName,
291        'sources',
292        [
293          'methods' => [
294            'create' => [
295              'path' => 'v1/{+parent}/sources',
296              'httpMethod' => 'POST',
297              'parameters' => [
298                'parent' => [
299                  'location' => 'path',
300                  'type' => 'string',
301                  'required' => true,
302                ],
303                'requestId' => [
304                  'location' => 'query',
305                  'type' => 'string',
306                ],
307                'sourceId' => [
308                  'location' => 'query',
309                  'type' => 'string',
310                ],
311              ],
312            ],'delete' => [
313              'path' => 'v1/{+name}',
314              'httpMethod' => 'DELETE',
315              'parameters' => [
316                'name' => [
317                  'location' => 'path',
318                  'type' => 'string',
319                  'required' => true,
320                ],
321                'requestId' => [
322                  'location' => 'query',
323                  'type' => 'string',
324                ],
325              ],
326            ],'fetchInventory' => [
327              'path' => 'v1/{+source}:fetchInventory',
328              'httpMethod' => 'GET',
329              'parameters' => [
330                'source' => [
331                  'location' => 'path',
332                  'type' => 'string',
333                  'required' => true,
334                ],
335                'forceRefresh' => [
336                  'location' => 'query',
337                  'type' => 'boolean',
338                ],
339              ],
340            ],'get' => [
341              'path' => 'v1/{+name}',
342              'httpMethod' => 'GET',
343              'parameters' => [
344                'name' => [
345                  'location' => 'path',
346                  'type' => 'string',
347                  'required' => true,
348                ],
349              ],
350            ],'list' => [
351              'path' => 'v1/{+parent}/sources',
352              'httpMethod' => 'GET',
353              'parameters' => [
354                'parent' => [
355                  'location' => 'path',
356                  'type' => 'string',
357                  'required' => true,
358                ],
359                'filter' => [
360                  'location' => 'query',
361                  'type' => 'string',
362                ],
363                'orderBy' => [
364                  'location' => 'query',
365                  'type' => 'string',
366                ],
367                'pageSize' => [
368                  'location' => 'query',
369                  'type' => 'integer',
370                ],
371                'pageToken' => [
372                  'location' => 'query',
373                  'type' => 'string',
374                ],
375              ],
376            ],'patch' => [
377              'path' => 'v1/{+name}',
378              'httpMethod' => 'PATCH',
379              'parameters' => [
380                'name' => [
381                  'location' => 'path',
382                  'type' => 'string',
383                  'required' => true,
384                ],
385                'requestId' => [
386                  'location' => 'query',
387                  'type' => 'string',
388                ],
389                'updateMask' => [
390                  'location' => 'query',
391                  'type' => 'string',
392                ],
393              ],
394            ],
395          ]
396        ]
397    );
398    $this->projects_locations_sources_datacenterConnectors = new VMMigrationService\Resource\ProjectsLocationsSourcesDatacenterConnectors(
399        $this,
400        $this->serviceName,
401        'datacenterConnectors',
402        [
403          'methods' => [
404            'create' => [
405              'path' => 'v1/{+parent}/datacenterConnectors',
406              'httpMethod' => 'POST',
407              'parameters' => [
408                'parent' => [
409                  'location' => 'path',
410                  'type' => 'string',
411                  'required' => true,
412                ],
413                'datacenterConnectorId' => [
414                  'location' => 'query',
415                  'type' => 'string',
416                ],
417                'requestId' => [
418                  'location' => 'query',
419                  'type' => 'string',
420                ],
421              ],
422            ],'delete' => [
423              'path' => 'v1/{+name}',
424              'httpMethod' => 'DELETE',
425              'parameters' => [
426                'name' => [
427                  'location' => 'path',
428                  'type' => 'string',
429                  'required' => true,
430                ],
431                'requestId' => [
432                  'location' => 'query',
433                  'type' => 'string',
434                ],
435              ],
436            ],'get' => [
437              'path' => 'v1/{+name}',
438              'httpMethod' => 'GET',
439              'parameters' => [
440                'name' => [
441                  'location' => 'path',
442                  'type' => 'string',
443                  'required' => true,
444                ],
445              ],
446            ],'list' => [
447              'path' => 'v1/{+parent}/datacenterConnectors',
448              'httpMethod' => 'GET',
449              'parameters' => [
450                'parent' => [
451                  'location' => 'path',
452                  'type' => 'string',
453                  'required' => true,
454                ],
455                'filter' => [
456                  'location' => 'query',
457                  'type' => 'string',
458                ],
459                'orderBy' => [
460                  'location' => 'query',
461                  'type' => 'string',
462                ],
463                'pageSize' => [
464                  'location' => 'query',
465                  'type' => 'integer',
466                ],
467                'pageToken' => [
468                  'location' => 'query',
469                  'type' => 'string',
470                ],
471              ],
472            ],'upgradeAppliance' => [
473              'path' => 'v1/{+datacenterConnector}:upgradeAppliance',
474              'httpMethod' => 'POST',
475              'parameters' => [
476                'datacenterConnector' => [
477                  'location' => 'path',
478                  'type' => 'string',
479                  'required' => true,
480                ],
481              ],
482            ],
483          ]
484        ]
485    );
486    $this->projects_locations_sources_migratingVms = new VMMigrationService\Resource\ProjectsLocationsSourcesMigratingVms(
487        $this,
488        $this->serviceName,
489        'migratingVms',
490        [
491          'methods' => [
492            'create' => [
493              'path' => 'v1/{+parent}/migratingVms',
494              'httpMethod' => 'POST',
495              'parameters' => [
496                'parent' => [
497                  'location' => 'path',
498                  'type' => 'string',
499                  'required' => true,
500                ],
501                'migratingVmId' => [
502                  'location' => 'query',
503                  'type' => 'string',
504                ],
505                'requestId' => [
506                  'location' => 'query',
507                  'type' => 'string',
508                ],
509              ],
510            ],'delete' => [
511              'path' => 'v1/{+name}',
512              'httpMethod' => 'DELETE',
513              'parameters' => [
514                'name' => [
515                  'location' => 'path',
516                  'type' => 'string',
517                  'required' => true,
518                ],
519              ],
520            ],'finalizeMigration' => [
521              'path' => 'v1/{+migratingVm}:finalizeMigration',
522              'httpMethod' => 'POST',
523              'parameters' => [
524                'migratingVm' => [
525                  'location' => 'path',
526                  'type' => 'string',
527                  'required' => true,
528                ],
529              ],
530            ],'get' => [
531              'path' => 'v1/{+name}',
532              'httpMethod' => 'GET',
533              'parameters' => [
534                'name' => [
535                  'location' => 'path',
536                  'type' => 'string',
537                  'required' => true,
538                ],
539                'view' => [
540                  'location' => 'query',
541                  'type' => 'string',
542                ],
543              ],
544            ],'list' => [
545              'path' => 'v1/{+parent}/migratingVms',
546              'httpMethod' => 'GET',
547              'parameters' => [
548                'parent' => [
549                  'location' => 'path',
550                  'type' => 'string',
551                  'required' => true,
552                ],
553                'filter' => [
554                  'location' => 'query',
555                  'type' => 'string',
556                ],
557                'orderBy' => [
558                  'location' => 'query',
559                  'type' => 'string',
560                ],
561                'pageSize' => [
562                  'location' => 'query',
563                  'type' => 'integer',
564                ],
565                'pageToken' => [
566                  'location' => 'query',
567                  'type' => 'string',
568                ],
569                'view' => [
570                  'location' => 'query',
571                  'type' => 'string',
572                ],
573              ],
574            ],'patch' => [
575              'path' => 'v1/{+name}',
576              'httpMethod' => 'PATCH',
577              'parameters' => [
578                'name' => [
579                  'location' => 'path',
580                  'type' => 'string',
581                  'required' => true,
582                ],
583                'requestId' => [
584                  'location' => 'query',
585                  'type' => 'string',
586                ],
587                'updateMask' => [
588                  'location' => 'query',
589                  'type' => 'string',
590                ],
591              ],
592            ],'pauseMigration' => [
593              'path' => 'v1/{+migratingVm}:pauseMigration',
594              'httpMethod' => 'POST',
595              'parameters' => [
596                'migratingVm' => [
597                  'location' => 'path',
598                  'type' => 'string',
599                  'required' => true,
600                ],
601              ],
602            ],'resumeMigration' => [
603              'path' => 'v1/{+migratingVm}:resumeMigration',
604              'httpMethod' => 'POST',
605              'parameters' => [
606                'migratingVm' => [
607                  'location' => 'path',
608                  'type' => 'string',
609                  'required' => true,
610                ],
611              ],
612            ],'startMigration' => [
613              'path' => 'v1/{+migratingVm}:startMigration',
614              'httpMethod' => 'POST',
615              'parameters' => [
616                'migratingVm' => [
617                  'location' => 'path',
618                  'type' => 'string',
619                  'required' => true,
620                ],
621              ],
622            ],
623          ]
624        ]
625    );
626    $this->projects_locations_sources_migratingVms_cloneJobs = new VMMigrationService\Resource\ProjectsLocationsSourcesMigratingVmsCloneJobs(
627        $this,
628        $this->serviceName,
629        'cloneJobs',
630        [
631          'methods' => [
632            'cancel' => [
633              'path' => 'v1/{+name}:cancel',
634              'httpMethod' => 'POST',
635              'parameters' => [
636                'name' => [
637                  'location' => 'path',
638                  'type' => 'string',
639                  'required' => true,
640                ],
641              ],
642            ],'create' => [
643              'path' => 'v1/{+parent}/cloneJobs',
644              'httpMethod' => 'POST',
645              'parameters' => [
646                'parent' => [
647                  'location' => 'path',
648                  'type' => 'string',
649                  'required' => true,
650                ],
651                'cloneJobId' => [
652                  'location' => 'query',
653                  'type' => 'string',
654                ],
655                'requestId' => [
656                  'location' => 'query',
657                  'type' => 'string',
658                ],
659              ],
660            ],'get' => [
661              'path' => 'v1/{+name}',
662              'httpMethod' => 'GET',
663              'parameters' => [
664                'name' => [
665                  'location' => 'path',
666                  'type' => 'string',
667                  'required' => true,
668                ],
669              ],
670            ],'list' => [
671              'path' => 'v1/{+parent}/cloneJobs',
672              'httpMethod' => 'GET',
673              'parameters' => [
674                'parent' => [
675                  'location' => 'path',
676                  'type' => 'string',
677                  'required' => true,
678                ],
679                'filter' => [
680                  'location' => 'query',
681                  'type' => 'string',
682                ],
683                'orderBy' => [
684                  'location' => 'query',
685                  'type' => 'string',
686                ],
687                'pageSize' => [
688                  'location' => 'query',
689                  'type' => 'integer',
690                ],
691                'pageToken' => [
692                  'location' => 'query',
693                  'type' => 'string',
694                ],
695              ],
696            ],
697          ]
698        ]
699    );
700    $this->projects_locations_sources_migratingVms_cutoverJobs = new VMMigrationService\Resource\ProjectsLocationsSourcesMigratingVmsCutoverJobs(
701        $this,
702        $this->serviceName,
703        'cutoverJobs',
704        [
705          'methods' => [
706            'cancel' => [
707              'path' => 'v1/{+name}:cancel',
708              'httpMethod' => 'POST',
709              'parameters' => [
710                'name' => [
711                  'location' => 'path',
712                  'type' => 'string',
713                  'required' => true,
714                ],
715              ],
716            ],'create' => [
717              'path' => 'v1/{+parent}/cutoverJobs',
718              'httpMethod' => 'POST',
719              'parameters' => [
720                'parent' => [
721                  'location' => 'path',
722                  'type' => 'string',
723                  'required' => true,
724                ],
725                'cutoverJobId' => [
726                  'location' => 'query',
727                  'type' => 'string',
728                ],
729                'requestId' => [
730                  'location' => 'query',
731                  'type' => 'string',
732                ],
733              ],
734            ],'get' => [
735              'path' => 'v1/{+name}',
736              'httpMethod' => 'GET',
737              'parameters' => [
738                'name' => [
739                  'location' => 'path',
740                  'type' => 'string',
741                  'required' => true,
742                ],
743              ],
744            ],'list' => [
745              'path' => 'v1/{+parent}/cutoverJobs',
746              'httpMethod' => 'GET',
747              'parameters' => [
748                'parent' => [
749                  'location' => 'path',
750                  'type' => 'string',
751                  'required' => true,
752                ],
753                'filter' => [
754                  'location' => 'query',
755                  'type' => 'string',
756                ],
757                'orderBy' => [
758                  'location' => 'query',
759                  'type' => 'string',
760                ],
761                'pageSize' => [
762                  'location' => 'query',
763                  'type' => 'integer',
764                ],
765                'pageToken' => [
766                  'location' => 'query',
767                  'type' => 'string',
768                ],
769              ],
770            ],
771          ]
772        ]
773    );
774    $this->projects_locations_sources_utilizationReports = new VMMigrationService\Resource\ProjectsLocationsSourcesUtilizationReports(
775        $this,
776        $this->serviceName,
777        'utilizationReports',
778        [
779          'methods' => [
780            'create' => [
781              'path' => 'v1/{+parent}/utilizationReports',
782              'httpMethod' => 'POST',
783              'parameters' => [
784                'parent' => [
785                  'location' => 'path',
786                  'type' => 'string',
787                  'required' => true,
788                ],
789                'requestId' => [
790                  'location' => 'query',
791                  'type' => 'string',
792                ],
793                'utilizationReportId' => [
794                  'location' => 'query',
795                  'type' => 'string',
796                ],
797              ],
798            ],'delete' => [
799              'path' => 'v1/{+name}',
800              'httpMethod' => 'DELETE',
801              'parameters' => [
802                'name' => [
803                  'location' => 'path',
804                  'type' => 'string',
805                  'required' => true,
806                ],
807                'requestId' => [
808                  'location' => 'query',
809                  'type' => 'string',
810                ],
811              ],
812            ],'get' => [
813              'path' => 'v1/{+name}',
814              'httpMethod' => 'GET',
815              'parameters' => [
816                'name' => [
817                  'location' => 'path',
818                  'type' => 'string',
819                  'required' => true,
820                ],
821                'view' => [
822                  'location' => 'query',
823                  'type' => 'string',
824                ],
825              ],
826            ],'list' => [
827              'path' => 'v1/{+parent}/utilizationReports',
828              'httpMethod' => 'GET',
829              'parameters' => [
830                'parent' => [
831                  'location' => 'path',
832                  'type' => 'string',
833                  'required' => true,
834                ],
835                'filter' => [
836                  'location' => 'query',
837                  'type' => 'string',
838                ],
839                'orderBy' => [
840                  'location' => 'query',
841                  'type' => 'string',
842                ],
843                'pageSize' => [
844                  'location' => 'query',
845                  'type' => 'integer',
846                ],
847                'pageToken' => [
848                  'location' => 'query',
849                  'type' => 'string',
850                ],
851                'view' => [
852                  'location' => 'query',
853                  'type' => 'string',
854                ],
855              ],
856            ],
857          ]
858        ]
859    );
860    $this->projects_locations_targetProjects = new VMMigrationService\Resource\ProjectsLocationsTargetProjects(
861        $this,
862        $this->serviceName,
863        'targetProjects',
864        [
865          'methods' => [
866            'create' => [
867              'path' => 'v1/{+parent}/targetProjects',
868              'httpMethod' => 'POST',
869              'parameters' => [
870                'parent' => [
871                  'location' => 'path',
872                  'type' => 'string',
873                  'required' => true,
874                ],
875                'requestId' => [
876                  'location' => 'query',
877                  'type' => 'string',
878                ],
879                'targetProjectId' => [
880                  'location' => 'query',
881                  'type' => 'string',
882                ],
883              ],
884            ],'delete' => [
885              'path' => 'v1/{+name}',
886              'httpMethod' => 'DELETE',
887              'parameters' => [
888                'name' => [
889                  'location' => 'path',
890                  'type' => 'string',
891                  'required' => true,
892                ],
893                'requestId' => [
894                  'location' => 'query',
895                  'type' => 'string',
896                ],
897              ],
898            ],'get' => [
899              'path' => 'v1/{+name}',
900              'httpMethod' => 'GET',
901              'parameters' => [
902                'name' => [
903                  'location' => 'path',
904                  'type' => 'string',
905                  'required' => true,
906                ],
907              ],
908            ],'list' => [
909              'path' => 'v1/{+parent}/targetProjects',
910              'httpMethod' => 'GET',
911              'parameters' => [
912                'parent' => [
913                  'location' => 'path',
914                  'type' => 'string',
915                  'required' => true,
916                ],
917                'filter' => [
918                  'location' => 'query',
919                  'type' => 'string',
920                ],
921                'orderBy' => [
922                  'location' => 'query',
923                  'type' => 'string',
924                ],
925                'pageSize' => [
926                  'location' => 'query',
927                  'type' => 'integer',
928                ],
929                'pageToken' => [
930                  'location' => 'query',
931                  'type' => 'string',
932                ],
933              ],
934            ],'patch' => [
935              'path' => 'v1/{+name}',
936              'httpMethod' => 'PATCH',
937              'parameters' => [
938                'name' => [
939                  'location' => 'path',
940                  'type' => 'string',
941                  'required' => true,
942                ],
943                'requestId' => [
944                  'location' => 'query',
945                  'type' => 'string',
946                ],
947                'updateMask' => [
948                  'location' => 'query',
949                  'type' => 'string',
950                ],
951              ],
952            ],
953          ]
954        ]
955    );
956  }
957}
958
959// Adding a class alias for backwards compatibility with the previous class name.
960class_alias(VMMigrationService::class, 'Google_Service_VMMigrationService');
961