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