source: vendor/google/apiclient-services/src/Dataflow.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

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