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 |
|
---|
18 | namespace Google\Service;
|
---|
19 |
|
---|
20 | use Google\Client;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * Service definition for Dataproc (v1).
|
---|
24 | *
|
---|
25 | * <p>
|
---|
26 | * Manages Hadoop-based clusters and jobs 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/dataproc/" target="_blank">Documentation</a>
|
---|
31 | * </p>
|
---|
32 | *
|
---|
33 | * @author Google, Inc.
|
---|
34 | */
|
---|
35 | class Dataproc 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_autoscalingPolicies;
|
---|
42 | public $projects_locations_batches;
|
---|
43 | public $projects_locations_batches_sparkApplications;
|
---|
44 | public $projects_locations_operations;
|
---|
45 | public $projects_locations_sessionTemplates;
|
---|
46 | public $projects_locations_sessions;
|
---|
47 | public $projects_locations_sessions_sparkApplications;
|
---|
48 | public $projects_locations_workflowTemplates;
|
---|
49 | public $projects_regions_autoscalingPolicies;
|
---|
50 | public $projects_regions_clusters;
|
---|
51 | public $projects_regions_clusters_nodeGroups;
|
---|
52 | public $projects_regions_jobs;
|
---|
53 | public $projects_regions_operations;
|
---|
54 | public $projects_regions_workflowTemplates;
|
---|
55 | public $rootUrlTemplate;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * Constructs the internal representation of the Dataproc 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://dataproc.googleapis.com/';
|
---|
68 | $this->rootUrlTemplate = $rootUrl ?: 'https://dataproc.UNIVERSE_DOMAIN/';
|
---|
69 | $this->servicePath = '';
|
---|
70 | $this->batchPath = 'batch';
|
---|
71 | $this->version = 'v1';
|
---|
72 | $this->serviceName = 'dataproc';
|
---|
73 |
|
---|
74 | $this->projects_locations_autoscalingPolicies = new Dataproc\Resource\ProjectsLocationsAutoscalingPolicies(
|
---|
75 | $this,
|
---|
76 | $this->serviceName,
|
---|
77 | 'autoscalingPolicies',
|
---|
78 | [
|
---|
79 | 'methods' => [
|
---|
80 | 'create' => [
|
---|
81 | 'path' => 'v1/{+parent}/autoscalingPolicies',
|
---|
82 | 'httpMethod' => 'POST',
|
---|
83 | 'parameters' => [
|
---|
84 | 'parent' => [
|
---|
85 | 'location' => 'path',
|
---|
86 | 'type' => 'string',
|
---|
87 | 'required' => true,
|
---|
88 | ],
|
---|
89 | ],
|
---|
90 | ],'delete' => [
|
---|
91 | 'path' => 'v1/{+name}',
|
---|
92 | 'httpMethod' => 'DELETE',
|
---|
93 | 'parameters' => [
|
---|
94 | 'name' => [
|
---|
95 | 'location' => 'path',
|
---|
96 | 'type' => 'string',
|
---|
97 | 'required' => true,
|
---|
98 | ],
|
---|
99 | ],
|
---|
100 | ],'get' => [
|
---|
101 | 'path' => 'v1/{+name}',
|
---|
102 | 'httpMethod' => 'GET',
|
---|
103 | 'parameters' => [
|
---|
104 | 'name' => [
|
---|
105 | 'location' => 'path',
|
---|
106 | 'type' => 'string',
|
---|
107 | 'required' => true,
|
---|
108 | ],
|
---|
109 | ],
|
---|
110 | ],'getIamPolicy' => [
|
---|
111 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
112 | 'httpMethod' => 'POST',
|
---|
113 | 'parameters' => [
|
---|
114 | 'resource' => [
|
---|
115 | 'location' => 'path',
|
---|
116 | 'type' => 'string',
|
---|
117 | 'required' => true,
|
---|
118 | ],
|
---|
119 | ],
|
---|
120 | ],'list' => [
|
---|
121 | 'path' => 'v1/{+parent}/autoscalingPolicies',
|
---|
122 | 'httpMethod' => 'GET',
|
---|
123 | 'parameters' => [
|
---|
124 | 'parent' => [
|
---|
125 | 'location' => 'path',
|
---|
126 | 'type' => 'string',
|
---|
127 | 'required' => true,
|
---|
128 | ],
|
---|
129 | 'pageSize' => [
|
---|
130 | 'location' => 'query',
|
---|
131 | 'type' => 'integer',
|
---|
132 | ],
|
---|
133 | 'pageToken' => [
|
---|
134 | 'location' => 'query',
|
---|
135 | 'type' => 'string',
|
---|
136 | ],
|
---|
137 | ],
|
---|
138 | ],'setIamPolicy' => [
|
---|
139 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
140 | 'httpMethod' => 'POST',
|
---|
141 | 'parameters' => [
|
---|
142 | 'resource' => [
|
---|
143 | 'location' => 'path',
|
---|
144 | 'type' => 'string',
|
---|
145 | 'required' => true,
|
---|
146 | ],
|
---|
147 | ],
|
---|
148 | ],'testIamPermissions' => [
|
---|
149 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
150 | 'httpMethod' => 'POST',
|
---|
151 | 'parameters' => [
|
---|
152 | 'resource' => [
|
---|
153 | 'location' => 'path',
|
---|
154 | 'type' => 'string',
|
---|
155 | 'required' => true,
|
---|
156 | ],
|
---|
157 | ],
|
---|
158 | ],'update' => [
|
---|
159 | 'path' => 'v1/{+name}',
|
---|
160 | 'httpMethod' => 'PUT',
|
---|
161 | 'parameters' => [
|
---|
162 | 'name' => [
|
---|
163 | 'location' => 'path',
|
---|
164 | 'type' => 'string',
|
---|
165 | 'required' => true,
|
---|
166 | ],
|
---|
167 | ],
|
---|
168 | ],
|
---|
169 | ]
|
---|
170 | ]
|
---|
171 | );
|
---|
172 | $this->projects_locations_batches = new Dataproc\Resource\ProjectsLocationsBatches(
|
---|
173 | $this,
|
---|
174 | $this->serviceName,
|
---|
175 | 'batches',
|
---|
176 | [
|
---|
177 | 'methods' => [
|
---|
178 | 'analyze' => [
|
---|
179 | 'path' => 'v1/{+name}:analyze',
|
---|
180 | 'httpMethod' => 'POST',
|
---|
181 | 'parameters' => [
|
---|
182 | 'name' => [
|
---|
183 | 'location' => 'path',
|
---|
184 | 'type' => 'string',
|
---|
185 | 'required' => true,
|
---|
186 | ],
|
---|
187 | ],
|
---|
188 | ],'create' => [
|
---|
189 | 'path' => 'v1/{+parent}/batches',
|
---|
190 | 'httpMethod' => 'POST',
|
---|
191 | 'parameters' => [
|
---|
192 | 'parent' => [
|
---|
193 | 'location' => 'path',
|
---|
194 | 'type' => 'string',
|
---|
195 | 'required' => true,
|
---|
196 | ],
|
---|
197 | 'batchId' => [
|
---|
198 | 'location' => 'query',
|
---|
199 | 'type' => 'string',
|
---|
200 | ],
|
---|
201 | 'requestId' => [
|
---|
202 | 'location' => 'query',
|
---|
203 | 'type' => 'string',
|
---|
204 | ],
|
---|
205 | ],
|
---|
206 | ],'delete' => [
|
---|
207 | 'path' => 'v1/{+name}',
|
---|
208 | 'httpMethod' => 'DELETE',
|
---|
209 | 'parameters' => [
|
---|
210 | 'name' => [
|
---|
211 | 'location' => 'path',
|
---|
212 | 'type' => 'string',
|
---|
213 | 'required' => true,
|
---|
214 | ],
|
---|
215 | ],
|
---|
216 | ],'get' => [
|
---|
217 | 'path' => 'v1/{+name}',
|
---|
218 | 'httpMethod' => 'GET',
|
---|
219 | 'parameters' => [
|
---|
220 | 'name' => [
|
---|
221 | 'location' => 'path',
|
---|
222 | 'type' => 'string',
|
---|
223 | 'required' => true,
|
---|
224 | ],
|
---|
225 | ],
|
---|
226 | ],'list' => [
|
---|
227 | 'path' => 'v1/{+parent}/batches',
|
---|
228 | 'httpMethod' => 'GET',
|
---|
229 | 'parameters' => [
|
---|
230 | 'parent' => [
|
---|
231 | 'location' => 'path',
|
---|
232 | 'type' => 'string',
|
---|
233 | 'required' => true,
|
---|
234 | ],
|
---|
235 | 'filter' => [
|
---|
236 | 'location' => 'query',
|
---|
237 | 'type' => 'string',
|
---|
238 | ],
|
---|
239 | 'orderBy' => [
|
---|
240 | 'location' => 'query',
|
---|
241 | 'type' => 'string',
|
---|
242 | ],
|
---|
243 | 'pageSize' => [
|
---|
244 | 'location' => 'query',
|
---|
245 | 'type' => 'integer',
|
---|
246 | ],
|
---|
247 | 'pageToken' => [
|
---|
248 | 'location' => 'query',
|
---|
249 | 'type' => 'string',
|
---|
250 | ],
|
---|
251 | ],
|
---|
252 | ],
|
---|
253 | ]
|
---|
254 | ]
|
---|
255 | );
|
---|
256 | $this->projects_locations_batches_sparkApplications = new Dataproc\Resource\ProjectsLocationsBatchesSparkApplications(
|
---|
257 | $this,
|
---|
258 | $this->serviceName,
|
---|
259 | 'sparkApplications',
|
---|
260 | [
|
---|
261 | 'methods' => [
|
---|
262 | 'access' => [
|
---|
263 | 'path' => 'v1/{+name}:access',
|
---|
264 | 'httpMethod' => 'GET',
|
---|
265 | 'parameters' => [
|
---|
266 | 'name' => [
|
---|
267 | 'location' => 'path',
|
---|
268 | 'type' => 'string',
|
---|
269 | 'required' => true,
|
---|
270 | ],
|
---|
271 | 'parent' => [
|
---|
272 | 'location' => 'query',
|
---|
273 | 'type' => 'string',
|
---|
274 | ],
|
---|
275 | ],
|
---|
276 | ],'accessEnvironmentInfo' => [
|
---|
277 | 'path' => 'v1/{+name}:accessEnvironmentInfo',
|
---|
278 | 'httpMethod' => 'GET',
|
---|
279 | 'parameters' => [
|
---|
280 | 'name' => [
|
---|
281 | 'location' => 'path',
|
---|
282 | 'type' => 'string',
|
---|
283 | 'required' => true,
|
---|
284 | ],
|
---|
285 | 'parent' => [
|
---|
286 | 'location' => 'query',
|
---|
287 | 'type' => 'string',
|
---|
288 | ],
|
---|
289 | ],
|
---|
290 | ],'accessJob' => [
|
---|
291 | 'path' => 'v1/{+name}:accessJob',
|
---|
292 | 'httpMethod' => 'GET',
|
---|
293 | 'parameters' => [
|
---|
294 | 'name' => [
|
---|
295 | 'location' => 'path',
|
---|
296 | 'type' => 'string',
|
---|
297 | 'required' => true,
|
---|
298 | ],
|
---|
299 | 'jobId' => [
|
---|
300 | 'location' => 'query',
|
---|
301 | 'type' => 'string',
|
---|
302 | ],
|
---|
303 | 'parent' => [
|
---|
304 | 'location' => 'query',
|
---|
305 | 'type' => 'string',
|
---|
306 | ],
|
---|
307 | ],
|
---|
308 | ],'accessSqlPlan' => [
|
---|
309 | 'path' => 'v1/{+name}:accessSqlPlan',
|
---|
310 | 'httpMethod' => 'GET',
|
---|
311 | 'parameters' => [
|
---|
312 | 'name' => [
|
---|
313 | 'location' => 'path',
|
---|
314 | 'type' => 'string',
|
---|
315 | 'required' => true,
|
---|
316 | ],
|
---|
317 | 'executionId' => [
|
---|
318 | 'location' => 'query',
|
---|
319 | 'type' => 'string',
|
---|
320 | ],
|
---|
321 | 'parent' => [
|
---|
322 | 'location' => 'query',
|
---|
323 | 'type' => 'string',
|
---|
324 | ],
|
---|
325 | ],
|
---|
326 | ],'accessSqlQuery' => [
|
---|
327 | 'path' => 'v1/{+name}:accessSqlQuery',
|
---|
328 | 'httpMethod' => 'GET',
|
---|
329 | 'parameters' => [
|
---|
330 | 'name' => [
|
---|
331 | 'location' => 'path',
|
---|
332 | 'type' => 'string',
|
---|
333 | 'required' => true,
|
---|
334 | ],
|
---|
335 | 'details' => [
|
---|
336 | 'location' => 'query',
|
---|
337 | 'type' => 'boolean',
|
---|
338 | ],
|
---|
339 | 'executionId' => [
|
---|
340 | 'location' => 'query',
|
---|
341 | 'type' => 'string',
|
---|
342 | ],
|
---|
343 | 'parent' => [
|
---|
344 | 'location' => 'query',
|
---|
345 | 'type' => 'string',
|
---|
346 | ],
|
---|
347 | 'planDescription' => [
|
---|
348 | 'location' => 'query',
|
---|
349 | 'type' => 'boolean',
|
---|
350 | ],
|
---|
351 | ],
|
---|
352 | ],'accessStageAttempt' => [
|
---|
353 | 'path' => 'v1/{+name}:accessStageAttempt',
|
---|
354 | 'httpMethod' => 'GET',
|
---|
355 | 'parameters' => [
|
---|
356 | 'name' => [
|
---|
357 | 'location' => 'path',
|
---|
358 | 'type' => 'string',
|
---|
359 | 'required' => true,
|
---|
360 | ],
|
---|
361 | 'parent' => [
|
---|
362 | 'location' => 'query',
|
---|
363 | 'type' => 'string',
|
---|
364 | ],
|
---|
365 | 'stageAttemptId' => [
|
---|
366 | 'location' => 'query',
|
---|
367 | 'type' => 'integer',
|
---|
368 | ],
|
---|
369 | 'stageId' => [
|
---|
370 | 'location' => 'query',
|
---|
371 | 'type' => 'string',
|
---|
372 | ],
|
---|
373 | 'summaryMetricsMask' => [
|
---|
374 | 'location' => 'query',
|
---|
375 | 'type' => 'string',
|
---|
376 | ],
|
---|
377 | ],
|
---|
378 | ],'accessStageRddGraph' => [
|
---|
379 | 'path' => 'v1/{+name}:accessStageRddGraph',
|
---|
380 | 'httpMethod' => 'GET',
|
---|
381 | 'parameters' => [
|
---|
382 | 'name' => [
|
---|
383 | 'location' => 'path',
|
---|
384 | 'type' => 'string',
|
---|
385 | 'required' => true,
|
---|
386 | ],
|
---|
387 | 'parent' => [
|
---|
388 | 'location' => 'query',
|
---|
389 | 'type' => 'string',
|
---|
390 | ],
|
---|
391 | 'stageId' => [
|
---|
392 | 'location' => 'query',
|
---|
393 | 'type' => 'string',
|
---|
394 | ],
|
---|
395 | ],
|
---|
396 | ],'search' => [
|
---|
397 | 'path' => 'v1/{+parent}/sparkApplications:search',
|
---|
398 | 'httpMethod' => 'GET',
|
---|
399 | 'parameters' => [
|
---|
400 | 'parent' => [
|
---|
401 | 'location' => 'path',
|
---|
402 | 'type' => 'string',
|
---|
403 | 'required' => true,
|
---|
404 | ],
|
---|
405 | 'applicationStatus' => [
|
---|
406 | 'location' => 'query',
|
---|
407 | 'type' => 'string',
|
---|
408 | ],
|
---|
409 | 'maxEndTime' => [
|
---|
410 | 'location' => 'query',
|
---|
411 | 'type' => 'string',
|
---|
412 | ],
|
---|
413 | 'maxTime' => [
|
---|
414 | 'location' => 'query',
|
---|
415 | 'type' => 'string',
|
---|
416 | ],
|
---|
417 | 'minEndTime' => [
|
---|
418 | 'location' => 'query',
|
---|
419 | 'type' => 'string',
|
---|
420 | ],
|
---|
421 | 'minTime' => [
|
---|
422 | 'location' => 'query',
|
---|
423 | 'type' => 'string',
|
---|
424 | ],
|
---|
425 | 'pageSize' => [
|
---|
426 | 'location' => 'query',
|
---|
427 | 'type' => 'integer',
|
---|
428 | ],
|
---|
429 | 'pageToken' => [
|
---|
430 | 'location' => 'query',
|
---|
431 | 'type' => 'string',
|
---|
432 | ],
|
---|
433 | ],
|
---|
434 | ],'searchExecutorStageSummary' => [
|
---|
435 | 'path' => 'v1/{+name}:searchExecutorStageSummary',
|
---|
436 | 'httpMethod' => 'GET',
|
---|
437 | 'parameters' => [
|
---|
438 | 'name' => [
|
---|
439 | 'location' => 'path',
|
---|
440 | 'type' => 'string',
|
---|
441 | 'required' => true,
|
---|
442 | ],
|
---|
443 | 'pageSize' => [
|
---|
444 | 'location' => 'query',
|
---|
445 | 'type' => 'integer',
|
---|
446 | ],
|
---|
447 | 'pageToken' => [
|
---|
448 | 'location' => 'query',
|
---|
449 | 'type' => 'string',
|
---|
450 | ],
|
---|
451 | 'parent' => [
|
---|
452 | 'location' => 'query',
|
---|
453 | 'type' => 'string',
|
---|
454 | ],
|
---|
455 | 'stageAttemptId' => [
|
---|
456 | 'location' => 'query',
|
---|
457 | 'type' => 'integer',
|
---|
458 | ],
|
---|
459 | 'stageId' => [
|
---|
460 | 'location' => 'query',
|
---|
461 | 'type' => 'string',
|
---|
462 | ],
|
---|
463 | ],
|
---|
464 | ],'searchExecutors' => [
|
---|
465 | 'path' => 'v1/{+name}:searchExecutors',
|
---|
466 | 'httpMethod' => 'GET',
|
---|
467 | 'parameters' => [
|
---|
468 | 'name' => [
|
---|
469 | 'location' => 'path',
|
---|
470 | 'type' => 'string',
|
---|
471 | 'required' => true,
|
---|
472 | ],
|
---|
473 | 'executorStatus' => [
|
---|
474 | 'location' => 'query',
|
---|
475 | 'type' => 'string',
|
---|
476 | ],
|
---|
477 | 'pageSize' => [
|
---|
478 | 'location' => 'query',
|
---|
479 | 'type' => 'integer',
|
---|
480 | ],
|
---|
481 | 'pageToken' => [
|
---|
482 | 'location' => 'query',
|
---|
483 | 'type' => 'string',
|
---|
484 | ],
|
---|
485 | 'parent' => [
|
---|
486 | 'location' => 'query',
|
---|
487 | 'type' => 'string',
|
---|
488 | ],
|
---|
489 | ],
|
---|
490 | ],'searchJobs' => [
|
---|
491 | 'path' => 'v1/{+name}:searchJobs',
|
---|
492 | 'httpMethod' => 'GET',
|
---|
493 | 'parameters' => [
|
---|
494 | 'name' => [
|
---|
495 | 'location' => 'path',
|
---|
496 | 'type' => 'string',
|
---|
497 | 'required' => true,
|
---|
498 | ],
|
---|
499 | 'jobStatus' => [
|
---|
500 | 'location' => 'query',
|
---|
501 | 'type' => 'string',
|
---|
502 | ],
|
---|
503 | 'pageSize' => [
|
---|
504 | 'location' => 'query',
|
---|
505 | 'type' => 'integer',
|
---|
506 | ],
|
---|
507 | 'pageToken' => [
|
---|
508 | 'location' => 'query',
|
---|
509 | 'type' => 'string',
|
---|
510 | ],
|
---|
511 | 'parent' => [
|
---|
512 | 'location' => 'query',
|
---|
513 | 'type' => 'string',
|
---|
514 | ],
|
---|
515 | ],
|
---|
516 | ],'searchSqlQueries' => [
|
---|
517 | 'path' => 'v1/{+name}:searchSqlQueries',
|
---|
518 | 'httpMethod' => 'GET',
|
---|
519 | 'parameters' => [
|
---|
520 | 'name' => [
|
---|
521 | 'location' => 'path',
|
---|
522 | 'type' => 'string',
|
---|
523 | 'required' => true,
|
---|
524 | ],
|
---|
525 | 'details' => [
|
---|
526 | 'location' => 'query',
|
---|
527 | 'type' => 'boolean',
|
---|
528 | ],
|
---|
529 | 'pageSize' => [
|
---|
530 | 'location' => 'query',
|
---|
531 | 'type' => 'integer',
|
---|
532 | ],
|
---|
533 | 'pageToken' => [
|
---|
534 | 'location' => 'query',
|
---|
535 | 'type' => 'string',
|
---|
536 | ],
|
---|
537 | 'parent' => [
|
---|
538 | 'location' => 'query',
|
---|
539 | 'type' => 'string',
|
---|
540 | ],
|
---|
541 | 'planDescription' => [
|
---|
542 | 'location' => 'query',
|
---|
543 | 'type' => 'boolean',
|
---|
544 | ],
|
---|
545 | ],
|
---|
546 | ],'searchStageAttemptTasks' => [
|
---|
547 | 'path' => 'v1/{+name}:searchStageAttemptTasks',
|
---|
548 | 'httpMethod' => 'GET',
|
---|
549 | 'parameters' => [
|
---|
550 | 'name' => [
|
---|
551 | 'location' => 'path',
|
---|
552 | 'type' => 'string',
|
---|
553 | 'required' => true,
|
---|
554 | ],
|
---|
555 | 'pageSize' => [
|
---|
556 | 'location' => 'query',
|
---|
557 | 'type' => 'integer',
|
---|
558 | ],
|
---|
559 | 'pageToken' => [
|
---|
560 | 'location' => 'query',
|
---|
561 | 'type' => 'string',
|
---|
562 | ],
|
---|
563 | 'parent' => [
|
---|
564 | 'location' => 'query',
|
---|
565 | 'type' => 'string',
|
---|
566 | ],
|
---|
567 | 'sortRuntime' => [
|
---|
568 | 'location' => 'query',
|
---|
569 | 'type' => 'boolean',
|
---|
570 | ],
|
---|
571 | 'stageAttemptId' => [
|
---|
572 | 'location' => 'query',
|
---|
573 | 'type' => 'integer',
|
---|
574 | ],
|
---|
575 | 'stageId' => [
|
---|
576 | 'location' => 'query',
|
---|
577 | 'type' => 'string',
|
---|
578 | ],
|
---|
579 | 'taskStatus' => [
|
---|
580 | 'location' => 'query',
|
---|
581 | 'type' => 'string',
|
---|
582 | ],
|
---|
583 | ],
|
---|
584 | ],'searchStageAttempts' => [
|
---|
585 | 'path' => 'v1/{+name}:searchStageAttempts',
|
---|
586 | 'httpMethod' => 'GET',
|
---|
587 | 'parameters' => [
|
---|
588 | 'name' => [
|
---|
589 | 'location' => 'path',
|
---|
590 | 'type' => 'string',
|
---|
591 | 'required' => true,
|
---|
592 | ],
|
---|
593 | 'pageSize' => [
|
---|
594 | 'location' => 'query',
|
---|
595 | 'type' => 'integer',
|
---|
596 | ],
|
---|
597 | 'pageToken' => [
|
---|
598 | 'location' => 'query',
|
---|
599 | 'type' => 'string',
|
---|
600 | ],
|
---|
601 | 'parent' => [
|
---|
602 | 'location' => 'query',
|
---|
603 | 'type' => 'string',
|
---|
604 | ],
|
---|
605 | 'stageId' => [
|
---|
606 | 'location' => 'query',
|
---|
607 | 'type' => 'string',
|
---|
608 | ],
|
---|
609 | 'summaryMetricsMask' => [
|
---|
610 | 'location' => 'query',
|
---|
611 | 'type' => 'string',
|
---|
612 | ],
|
---|
613 | ],
|
---|
614 | ],'searchStages' => [
|
---|
615 | 'path' => 'v1/{+name}:searchStages',
|
---|
616 | 'httpMethod' => 'GET',
|
---|
617 | 'parameters' => [
|
---|
618 | 'name' => [
|
---|
619 | 'location' => 'path',
|
---|
620 | 'type' => 'string',
|
---|
621 | 'required' => true,
|
---|
622 | ],
|
---|
623 | 'pageSize' => [
|
---|
624 | 'location' => 'query',
|
---|
625 | 'type' => 'integer',
|
---|
626 | ],
|
---|
627 | 'pageToken' => [
|
---|
628 | 'location' => 'query',
|
---|
629 | 'type' => 'string',
|
---|
630 | ],
|
---|
631 | 'parent' => [
|
---|
632 | 'location' => 'query',
|
---|
633 | 'type' => 'string',
|
---|
634 | ],
|
---|
635 | 'stageStatus' => [
|
---|
636 | 'location' => 'query',
|
---|
637 | 'type' => 'string',
|
---|
638 | ],
|
---|
639 | 'summaryMetricsMask' => [
|
---|
640 | 'location' => 'query',
|
---|
641 | 'type' => 'string',
|
---|
642 | ],
|
---|
643 | ],
|
---|
644 | ],'summarizeExecutors' => [
|
---|
645 | 'path' => 'v1/{+name}:summarizeExecutors',
|
---|
646 | 'httpMethod' => 'GET',
|
---|
647 | 'parameters' => [
|
---|
648 | 'name' => [
|
---|
649 | 'location' => 'path',
|
---|
650 | 'type' => 'string',
|
---|
651 | 'required' => true,
|
---|
652 | ],
|
---|
653 | 'parent' => [
|
---|
654 | 'location' => 'query',
|
---|
655 | 'type' => 'string',
|
---|
656 | ],
|
---|
657 | ],
|
---|
658 | ],'summarizeJobs' => [
|
---|
659 | 'path' => 'v1/{+name}:summarizeJobs',
|
---|
660 | 'httpMethod' => 'GET',
|
---|
661 | 'parameters' => [
|
---|
662 | 'name' => [
|
---|
663 | 'location' => 'path',
|
---|
664 | 'type' => 'string',
|
---|
665 | 'required' => true,
|
---|
666 | ],
|
---|
667 | 'parent' => [
|
---|
668 | 'location' => 'query',
|
---|
669 | 'type' => 'string',
|
---|
670 | ],
|
---|
671 | ],
|
---|
672 | ],'summarizeStageAttemptTasks' => [
|
---|
673 | 'path' => 'v1/{+name}:summarizeStageAttemptTasks',
|
---|
674 | 'httpMethod' => 'GET',
|
---|
675 | 'parameters' => [
|
---|
676 | 'name' => [
|
---|
677 | 'location' => 'path',
|
---|
678 | 'type' => 'string',
|
---|
679 | 'required' => true,
|
---|
680 | ],
|
---|
681 | 'parent' => [
|
---|
682 | 'location' => 'query',
|
---|
683 | 'type' => 'string',
|
---|
684 | ],
|
---|
685 | 'stageAttemptId' => [
|
---|
686 | 'location' => 'query',
|
---|
687 | 'type' => 'integer',
|
---|
688 | ],
|
---|
689 | 'stageId' => [
|
---|
690 | 'location' => 'query',
|
---|
691 | 'type' => 'string',
|
---|
692 | ],
|
---|
693 | ],
|
---|
694 | ],'summarizeStages' => [
|
---|
695 | 'path' => 'v1/{+name}:summarizeStages',
|
---|
696 | 'httpMethod' => 'GET',
|
---|
697 | 'parameters' => [
|
---|
698 | 'name' => [
|
---|
699 | 'location' => 'path',
|
---|
700 | 'type' => 'string',
|
---|
701 | 'required' => true,
|
---|
702 | ],
|
---|
703 | 'parent' => [
|
---|
704 | 'location' => 'query',
|
---|
705 | 'type' => 'string',
|
---|
706 | ],
|
---|
707 | ],
|
---|
708 | ],'write' => [
|
---|
709 | 'path' => 'v1/{+name}:write',
|
---|
710 | 'httpMethod' => 'POST',
|
---|
711 | 'parameters' => [
|
---|
712 | 'name' => [
|
---|
713 | 'location' => 'path',
|
---|
714 | 'type' => 'string',
|
---|
715 | 'required' => true,
|
---|
716 | ],
|
---|
717 | ],
|
---|
718 | ],
|
---|
719 | ]
|
---|
720 | ]
|
---|
721 | );
|
---|
722 | $this->projects_locations_operations = new Dataproc\Resource\ProjectsLocationsOperations(
|
---|
723 | $this,
|
---|
724 | $this->serviceName,
|
---|
725 | 'operations',
|
---|
726 | [
|
---|
727 | 'methods' => [
|
---|
728 | 'cancel' => [
|
---|
729 | 'path' => 'v1/{+name}:cancel',
|
---|
730 | 'httpMethod' => 'POST',
|
---|
731 | 'parameters' => [
|
---|
732 | 'name' => [
|
---|
733 | 'location' => 'path',
|
---|
734 | 'type' => 'string',
|
---|
735 | 'required' => true,
|
---|
736 | ],
|
---|
737 | ],
|
---|
738 | ],'delete' => [
|
---|
739 | 'path' => 'v1/{+name}',
|
---|
740 | 'httpMethod' => 'DELETE',
|
---|
741 | 'parameters' => [
|
---|
742 | 'name' => [
|
---|
743 | 'location' => 'path',
|
---|
744 | 'type' => 'string',
|
---|
745 | 'required' => true,
|
---|
746 | ],
|
---|
747 | ],
|
---|
748 | ],'get' => [
|
---|
749 | 'path' => 'v1/{+name}',
|
---|
750 | 'httpMethod' => 'GET',
|
---|
751 | 'parameters' => [
|
---|
752 | 'name' => [
|
---|
753 | 'location' => 'path',
|
---|
754 | 'type' => 'string',
|
---|
755 | 'required' => true,
|
---|
756 | ],
|
---|
757 | ],
|
---|
758 | ],'list' => [
|
---|
759 | 'path' => 'v1/{+name}',
|
---|
760 | 'httpMethod' => 'GET',
|
---|
761 | 'parameters' => [
|
---|
762 | 'name' => [
|
---|
763 | 'location' => 'path',
|
---|
764 | 'type' => 'string',
|
---|
765 | 'required' => true,
|
---|
766 | ],
|
---|
767 | 'filter' => [
|
---|
768 | 'location' => 'query',
|
---|
769 | 'type' => 'string',
|
---|
770 | ],
|
---|
771 | 'pageSize' => [
|
---|
772 | 'location' => 'query',
|
---|
773 | 'type' => 'integer',
|
---|
774 | ],
|
---|
775 | 'pageToken' => [
|
---|
776 | 'location' => 'query',
|
---|
777 | 'type' => 'string',
|
---|
778 | ],
|
---|
779 | ],
|
---|
780 | ],
|
---|
781 | ]
|
---|
782 | ]
|
---|
783 | );
|
---|
784 | $this->projects_locations_sessionTemplates = new Dataproc\Resource\ProjectsLocationsSessionTemplates(
|
---|
785 | $this,
|
---|
786 | $this->serviceName,
|
---|
787 | 'sessionTemplates',
|
---|
788 | [
|
---|
789 | 'methods' => [
|
---|
790 | 'create' => [
|
---|
791 | 'path' => 'v1/{+parent}/sessionTemplates',
|
---|
792 | 'httpMethod' => 'POST',
|
---|
793 | 'parameters' => [
|
---|
794 | 'parent' => [
|
---|
795 | 'location' => 'path',
|
---|
796 | 'type' => 'string',
|
---|
797 | 'required' => true,
|
---|
798 | ],
|
---|
799 | ],
|
---|
800 | ],'delete' => [
|
---|
801 | 'path' => 'v1/{+name}',
|
---|
802 | 'httpMethod' => 'DELETE',
|
---|
803 | 'parameters' => [
|
---|
804 | 'name' => [
|
---|
805 | 'location' => 'path',
|
---|
806 | 'type' => 'string',
|
---|
807 | 'required' => true,
|
---|
808 | ],
|
---|
809 | ],
|
---|
810 | ],'get' => [
|
---|
811 | 'path' => 'v1/{+name}',
|
---|
812 | 'httpMethod' => 'GET',
|
---|
813 | 'parameters' => [
|
---|
814 | 'name' => [
|
---|
815 | 'location' => 'path',
|
---|
816 | 'type' => 'string',
|
---|
817 | 'required' => true,
|
---|
818 | ],
|
---|
819 | ],
|
---|
820 | ],'list' => [
|
---|
821 | 'path' => 'v1/{+parent}/sessionTemplates',
|
---|
822 | 'httpMethod' => 'GET',
|
---|
823 | 'parameters' => [
|
---|
824 | 'parent' => [
|
---|
825 | 'location' => 'path',
|
---|
826 | 'type' => 'string',
|
---|
827 | 'required' => true,
|
---|
828 | ],
|
---|
829 | 'filter' => [
|
---|
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 | ],
|
---|
842 | ],'patch' => [
|
---|
843 | 'path' => 'v1/{+name}',
|
---|
844 | 'httpMethod' => 'PATCH',
|
---|
845 | 'parameters' => [
|
---|
846 | 'name' => [
|
---|
847 | 'location' => 'path',
|
---|
848 | 'type' => 'string',
|
---|
849 | 'required' => true,
|
---|
850 | ],
|
---|
851 | ],
|
---|
852 | ],
|
---|
853 | ]
|
---|
854 | ]
|
---|
855 | );
|
---|
856 | $this->projects_locations_sessions = new Dataproc\Resource\ProjectsLocationsSessions(
|
---|
857 | $this,
|
---|
858 | $this->serviceName,
|
---|
859 | 'sessions',
|
---|
860 | [
|
---|
861 | 'methods' => [
|
---|
862 | 'create' => [
|
---|
863 | 'path' => 'v1/{+parent}/sessions',
|
---|
864 | 'httpMethod' => 'POST',
|
---|
865 | 'parameters' => [
|
---|
866 | 'parent' => [
|
---|
867 | 'location' => 'path',
|
---|
868 | 'type' => 'string',
|
---|
869 | 'required' => true,
|
---|
870 | ],
|
---|
871 | 'requestId' => [
|
---|
872 | 'location' => 'query',
|
---|
873 | 'type' => 'string',
|
---|
874 | ],
|
---|
875 | 'sessionId' => [
|
---|
876 | 'location' => 'query',
|
---|
877 | 'type' => 'string',
|
---|
878 | ],
|
---|
879 | ],
|
---|
880 | ],'delete' => [
|
---|
881 | 'path' => 'v1/{+name}',
|
---|
882 | 'httpMethod' => 'DELETE',
|
---|
883 | 'parameters' => [
|
---|
884 | 'name' => [
|
---|
885 | 'location' => 'path',
|
---|
886 | 'type' => 'string',
|
---|
887 | 'required' => true,
|
---|
888 | ],
|
---|
889 | 'requestId' => [
|
---|
890 | 'location' => 'query',
|
---|
891 | 'type' => 'string',
|
---|
892 | ],
|
---|
893 | ],
|
---|
894 | ],'get' => [
|
---|
895 | 'path' => 'v1/{+name}',
|
---|
896 | 'httpMethod' => 'GET',
|
---|
897 | 'parameters' => [
|
---|
898 | 'name' => [
|
---|
899 | 'location' => 'path',
|
---|
900 | 'type' => 'string',
|
---|
901 | 'required' => true,
|
---|
902 | ],
|
---|
903 | ],
|
---|
904 | ],'list' => [
|
---|
905 | 'path' => 'v1/{+parent}/sessions',
|
---|
906 | 'httpMethod' => 'GET',
|
---|
907 | 'parameters' => [
|
---|
908 | 'parent' => [
|
---|
909 | 'location' => 'path',
|
---|
910 | 'type' => 'string',
|
---|
911 | 'required' => true,
|
---|
912 | ],
|
---|
913 | 'filter' => [
|
---|
914 | 'location' => 'query',
|
---|
915 | 'type' => 'string',
|
---|
916 | ],
|
---|
917 | 'pageSize' => [
|
---|
918 | 'location' => 'query',
|
---|
919 | 'type' => 'integer',
|
---|
920 | ],
|
---|
921 | 'pageToken' => [
|
---|
922 | 'location' => 'query',
|
---|
923 | 'type' => 'string',
|
---|
924 | ],
|
---|
925 | ],
|
---|
926 | ],'terminate' => [
|
---|
927 | 'path' => 'v1/{+name}:terminate',
|
---|
928 | 'httpMethod' => 'POST',
|
---|
929 | 'parameters' => [
|
---|
930 | 'name' => [
|
---|
931 | 'location' => 'path',
|
---|
932 | 'type' => 'string',
|
---|
933 | 'required' => true,
|
---|
934 | ],
|
---|
935 | ],
|
---|
936 | ],
|
---|
937 | ]
|
---|
938 | ]
|
---|
939 | );
|
---|
940 | $this->projects_locations_sessions_sparkApplications = new Dataproc\Resource\ProjectsLocationsSessionsSparkApplications(
|
---|
941 | $this,
|
---|
942 | $this->serviceName,
|
---|
943 | 'sparkApplications',
|
---|
944 | [
|
---|
945 | 'methods' => [
|
---|
946 | 'access' => [
|
---|
947 | 'path' => 'v1/{+name}:access',
|
---|
948 | 'httpMethod' => 'GET',
|
---|
949 | 'parameters' => [
|
---|
950 | 'name' => [
|
---|
951 | 'location' => 'path',
|
---|
952 | 'type' => 'string',
|
---|
953 | 'required' => true,
|
---|
954 | ],
|
---|
955 | 'parent' => [
|
---|
956 | 'location' => 'query',
|
---|
957 | 'type' => 'string',
|
---|
958 | ],
|
---|
959 | ],
|
---|
960 | ],'accessEnvironmentInfo' => [
|
---|
961 | 'path' => 'v1/{+name}:accessEnvironmentInfo',
|
---|
962 | 'httpMethod' => 'GET',
|
---|
963 | 'parameters' => [
|
---|
964 | 'name' => [
|
---|
965 | 'location' => 'path',
|
---|
966 | 'type' => 'string',
|
---|
967 | 'required' => true,
|
---|
968 | ],
|
---|
969 | 'parent' => [
|
---|
970 | 'location' => 'query',
|
---|
971 | 'type' => 'string',
|
---|
972 | ],
|
---|
973 | ],
|
---|
974 | ],'accessJob' => [
|
---|
975 | 'path' => 'v1/{+name}:accessJob',
|
---|
976 | 'httpMethod' => 'GET',
|
---|
977 | 'parameters' => [
|
---|
978 | 'name' => [
|
---|
979 | 'location' => 'path',
|
---|
980 | 'type' => 'string',
|
---|
981 | 'required' => true,
|
---|
982 | ],
|
---|
983 | 'jobId' => [
|
---|
984 | 'location' => 'query',
|
---|
985 | 'type' => 'string',
|
---|
986 | ],
|
---|
987 | 'parent' => [
|
---|
988 | 'location' => 'query',
|
---|
989 | 'type' => 'string',
|
---|
990 | ],
|
---|
991 | ],
|
---|
992 | ],'accessSqlPlan' => [
|
---|
993 | 'path' => 'v1/{+name}:accessSqlPlan',
|
---|
994 | 'httpMethod' => 'GET',
|
---|
995 | 'parameters' => [
|
---|
996 | 'name' => [
|
---|
997 | 'location' => 'path',
|
---|
998 | 'type' => 'string',
|
---|
999 | 'required' => true,
|
---|
1000 | ],
|
---|
1001 | 'executionId' => [
|
---|
1002 | 'location' => 'query',
|
---|
1003 | 'type' => 'string',
|
---|
1004 | ],
|
---|
1005 | 'parent' => [
|
---|
1006 | 'location' => 'query',
|
---|
1007 | 'type' => 'string',
|
---|
1008 | ],
|
---|
1009 | ],
|
---|
1010 | ],'accessSqlQuery' => [
|
---|
1011 | 'path' => 'v1/{+name}:accessSqlQuery',
|
---|
1012 | 'httpMethod' => 'GET',
|
---|
1013 | 'parameters' => [
|
---|
1014 | 'name' => [
|
---|
1015 | 'location' => 'path',
|
---|
1016 | 'type' => 'string',
|
---|
1017 | 'required' => true,
|
---|
1018 | ],
|
---|
1019 | 'details' => [
|
---|
1020 | 'location' => 'query',
|
---|
1021 | 'type' => 'boolean',
|
---|
1022 | ],
|
---|
1023 | 'executionId' => [
|
---|
1024 | 'location' => 'query',
|
---|
1025 | 'type' => 'string',
|
---|
1026 | ],
|
---|
1027 | 'parent' => [
|
---|
1028 | 'location' => 'query',
|
---|
1029 | 'type' => 'string',
|
---|
1030 | ],
|
---|
1031 | 'planDescription' => [
|
---|
1032 | 'location' => 'query',
|
---|
1033 | 'type' => 'boolean',
|
---|
1034 | ],
|
---|
1035 | ],
|
---|
1036 | ],'accessStageAttempt' => [
|
---|
1037 | 'path' => 'v1/{+name}:accessStageAttempt',
|
---|
1038 | 'httpMethod' => 'GET',
|
---|
1039 | 'parameters' => [
|
---|
1040 | 'name' => [
|
---|
1041 | 'location' => 'path',
|
---|
1042 | 'type' => 'string',
|
---|
1043 | 'required' => true,
|
---|
1044 | ],
|
---|
1045 | 'parent' => [
|
---|
1046 | 'location' => 'query',
|
---|
1047 | 'type' => 'string',
|
---|
1048 | ],
|
---|
1049 | 'stageAttemptId' => [
|
---|
1050 | 'location' => 'query',
|
---|
1051 | 'type' => 'integer',
|
---|
1052 | ],
|
---|
1053 | 'stageId' => [
|
---|
1054 | 'location' => 'query',
|
---|
1055 | 'type' => 'string',
|
---|
1056 | ],
|
---|
1057 | 'summaryMetricsMask' => [
|
---|
1058 | 'location' => 'query',
|
---|
1059 | 'type' => 'string',
|
---|
1060 | ],
|
---|
1061 | ],
|
---|
1062 | ],'accessStageRddGraph' => [
|
---|
1063 | 'path' => 'v1/{+name}:accessStageRddGraph',
|
---|
1064 | 'httpMethod' => 'GET',
|
---|
1065 | 'parameters' => [
|
---|
1066 | 'name' => [
|
---|
1067 | 'location' => 'path',
|
---|
1068 | 'type' => 'string',
|
---|
1069 | 'required' => true,
|
---|
1070 | ],
|
---|
1071 | 'parent' => [
|
---|
1072 | 'location' => 'query',
|
---|
1073 | 'type' => 'string',
|
---|
1074 | ],
|
---|
1075 | 'stageId' => [
|
---|
1076 | 'location' => 'query',
|
---|
1077 | 'type' => 'string',
|
---|
1078 | ],
|
---|
1079 | ],
|
---|
1080 | ],'search' => [
|
---|
1081 | 'path' => 'v1/{+parent}/sparkApplications:search',
|
---|
1082 | 'httpMethod' => 'GET',
|
---|
1083 | 'parameters' => [
|
---|
1084 | 'parent' => [
|
---|
1085 | 'location' => 'path',
|
---|
1086 | 'type' => 'string',
|
---|
1087 | 'required' => true,
|
---|
1088 | ],
|
---|
1089 | 'applicationStatus' => [
|
---|
1090 | 'location' => 'query',
|
---|
1091 | 'type' => 'string',
|
---|
1092 | ],
|
---|
1093 | 'maxEndTime' => [
|
---|
1094 | 'location' => 'query',
|
---|
1095 | 'type' => 'string',
|
---|
1096 | ],
|
---|
1097 | 'maxTime' => [
|
---|
1098 | 'location' => 'query',
|
---|
1099 | 'type' => 'string',
|
---|
1100 | ],
|
---|
1101 | 'minEndTime' => [
|
---|
1102 | 'location' => 'query',
|
---|
1103 | 'type' => 'string',
|
---|
1104 | ],
|
---|
1105 | 'minTime' => [
|
---|
1106 | 'location' => 'query',
|
---|
1107 | 'type' => 'string',
|
---|
1108 | ],
|
---|
1109 | 'pageSize' => [
|
---|
1110 | 'location' => 'query',
|
---|
1111 | 'type' => 'integer',
|
---|
1112 | ],
|
---|
1113 | 'pageToken' => [
|
---|
1114 | 'location' => 'query',
|
---|
1115 | 'type' => 'string',
|
---|
1116 | ],
|
---|
1117 | ],
|
---|
1118 | ],'searchExecutorStageSummary' => [
|
---|
1119 | 'path' => 'v1/{+name}:searchExecutorStageSummary',
|
---|
1120 | 'httpMethod' => 'GET',
|
---|
1121 | 'parameters' => [
|
---|
1122 | 'name' => [
|
---|
1123 | 'location' => 'path',
|
---|
1124 | 'type' => 'string',
|
---|
1125 | 'required' => true,
|
---|
1126 | ],
|
---|
1127 | 'pageSize' => [
|
---|
1128 | 'location' => 'query',
|
---|
1129 | 'type' => 'integer',
|
---|
1130 | ],
|
---|
1131 | 'pageToken' => [
|
---|
1132 | 'location' => 'query',
|
---|
1133 | 'type' => 'string',
|
---|
1134 | ],
|
---|
1135 | 'parent' => [
|
---|
1136 | 'location' => 'query',
|
---|
1137 | 'type' => 'string',
|
---|
1138 | ],
|
---|
1139 | 'stageAttemptId' => [
|
---|
1140 | 'location' => 'query',
|
---|
1141 | 'type' => 'integer',
|
---|
1142 | ],
|
---|
1143 | 'stageId' => [
|
---|
1144 | 'location' => 'query',
|
---|
1145 | 'type' => 'string',
|
---|
1146 | ],
|
---|
1147 | ],
|
---|
1148 | ],'searchExecutors' => [
|
---|
1149 | 'path' => 'v1/{+name}:searchExecutors',
|
---|
1150 | 'httpMethod' => 'GET',
|
---|
1151 | 'parameters' => [
|
---|
1152 | 'name' => [
|
---|
1153 | 'location' => 'path',
|
---|
1154 | 'type' => 'string',
|
---|
1155 | 'required' => true,
|
---|
1156 | ],
|
---|
1157 | 'executorStatus' => [
|
---|
1158 | 'location' => 'query',
|
---|
1159 | 'type' => 'string',
|
---|
1160 | ],
|
---|
1161 | 'pageSize' => [
|
---|
1162 | 'location' => 'query',
|
---|
1163 | 'type' => 'integer',
|
---|
1164 | ],
|
---|
1165 | 'pageToken' => [
|
---|
1166 | 'location' => 'query',
|
---|
1167 | 'type' => 'string',
|
---|
1168 | ],
|
---|
1169 | 'parent' => [
|
---|
1170 | 'location' => 'query',
|
---|
1171 | 'type' => 'string',
|
---|
1172 | ],
|
---|
1173 | ],
|
---|
1174 | ],'searchJobs' => [
|
---|
1175 | 'path' => 'v1/{+name}:searchJobs',
|
---|
1176 | 'httpMethod' => 'GET',
|
---|
1177 | 'parameters' => [
|
---|
1178 | 'name' => [
|
---|
1179 | 'location' => 'path',
|
---|
1180 | 'type' => 'string',
|
---|
1181 | 'required' => true,
|
---|
1182 | ],
|
---|
1183 | 'jobStatus' => [
|
---|
1184 | 'location' => 'query',
|
---|
1185 | 'type' => 'string',
|
---|
1186 | ],
|
---|
1187 | 'pageSize' => [
|
---|
1188 | 'location' => 'query',
|
---|
1189 | 'type' => 'integer',
|
---|
1190 | ],
|
---|
1191 | 'pageToken' => [
|
---|
1192 | 'location' => 'query',
|
---|
1193 | 'type' => 'string',
|
---|
1194 | ],
|
---|
1195 | 'parent' => [
|
---|
1196 | 'location' => 'query',
|
---|
1197 | 'type' => 'string',
|
---|
1198 | ],
|
---|
1199 | ],
|
---|
1200 | ],'searchSqlQueries' => [
|
---|
1201 | 'path' => 'v1/{+name}:searchSqlQueries',
|
---|
1202 | 'httpMethod' => 'GET',
|
---|
1203 | 'parameters' => [
|
---|
1204 | 'name' => [
|
---|
1205 | 'location' => 'path',
|
---|
1206 | 'type' => 'string',
|
---|
1207 | 'required' => true,
|
---|
1208 | ],
|
---|
1209 | 'details' => [
|
---|
1210 | 'location' => 'query',
|
---|
1211 | 'type' => 'boolean',
|
---|
1212 | ],
|
---|
1213 | 'pageSize' => [
|
---|
1214 | 'location' => 'query',
|
---|
1215 | 'type' => 'integer',
|
---|
1216 | ],
|
---|
1217 | 'pageToken' => [
|
---|
1218 | 'location' => 'query',
|
---|
1219 | 'type' => 'string',
|
---|
1220 | ],
|
---|
1221 | 'parent' => [
|
---|
1222 | 'location' => 'query',
|
---|
1223 | 'type' => 'string',
|
---|
1224 | ],
|
---|
1225 | 'planDescription' => [
|
---|
1226 | 'location' => 'query',
|
---|
1227 | 'type' => 'boolean',
|
---|
1228 | ],
|
---|
1229 | ],
|
---|
1230 | ],'searchStageAttemptTasks' => [
|
---|
1231 | 'path' => 'v1/{+name}:searchStageAttemptTasks',
|
---|
1232 | 'httpMethod' => 'GET',
|
---|
1233 | 'parameters' => [
|
---|
1234 | 'name' => [
|
---|
1235 | 'location' => 'path',
|
---|
1236 | 'type' => 'string',
|
---|
1237 | 'required' => true,
|
---|
1238 | ],
|
---|
1239 | 'pageSize' => [
|
---|
1240 | 'location' => 'query',
|
---|
1241 | 'type' => 'integer',
|
---|
1242 | ],
|
---|
1243 | 'pageToken' => [
|
---|
1244 | 'location' => 'query',
|
---|
1245 | 'type' => 'string',
|
---|
1246 | ],
|
---|
1247 | 'parent' => [
|
---|
1248 | 'location' => 'query',
|
---|
1249 | 'type' => 'string',
|
---|
1250 | ],
|
---|
1251 | 'sortRuntime' => [
|
---|
1252 | 'location' => 'query',
|
---|
1253 | 'type' => 'boolean',
|
---|
1254 | ],
|
---|
1255 | 'stageAttemptId' => [
|
---|
1256 | 'location' => 'query',
|
---|
1257 | 'type' => 'integer',
|
---|
1258 | ],
|
---|
1259 | 'stageId' => [
|
---|
1260 | 'location' => 'query',
|
---|
1261 | 'type' => 'string',
|
---|
1262 | ],
|
---|
1263 | 'taskStatus' => [
|
---|
1264 | 'location' => 'query',
|
---|
1265 | 'type' => 'string',
|
---|
1266 | ],
|
---|
1267 | ],
|
---|
1268 | ],'searchStageAttempts' => [
|
---|
1269 | 'path' => 'v1/{+name}:searchStageAttempts',
|
---|
1270 | 'httpMethod' => 'GET',
|
---|
1271 | 'parameters' => [
|
---|
1272 | 'name' => [
|
---|
1273 | 'location' => 'path',
|
---|
1274 | 'type' => 'string',
|
---|
1275 | 'required' => true,
|
---|
1276 | ],
|
---|
1277 | 'pageSize' => [
|
---|
1278 | 'location' => 'query',
|
---|
1279 | 'type' => 'integer',
|
---|
1280 | ],
|
---|
1281 | 'pageToken' => [
|
---|
1282 | 'location' => 'query',
|
---|
1283 | 'type' => 'string',
|
---|
1284 | ],
|
---|
1285 | 'parent' => [
|
---|
1286 | 'location' => 'query',
|
---|
1287 | 'type' => 'string',
|
---|
1288 | ],
|
---|
1289 | 'stageId' => [
|
---|
1290 | 'location' => 'query',
|
---|
1291 | 'type' => 'string',
|
---|
1292 | ],
|
---|
1293 | 'summaryMetricsMask' => [
|
---|
1294 | 'location' => 'query',
|
---|
1295 | 'type' => 'string',
|
---|
1296 | ],
|
---|
1297 | ],
|
---|
1298 | ],'searchStages' => [
|
---|
1299 | 'path' => 'v1/{+name}:searchStages',
|
---|
1300 | 'httpMethod' => 'GET',
|
---|
1301 | 'parameters' => [
|
---|
1302 | 'name' => [
|
---|
1303 | 'location' => 'path',
|
---|
1304 | 'type' => 'string',
|
---|
1305 | 'required' => true,
|
---|
1306 | ],
|
---|
1307 | 'pageSize' => [
|
---|
1308 | 'location' => 'query',
|
---|
1309 | 'type' => 'integer',
|
---|
1310 | ],
|
---|
1311 | 'pageToken' => [
|
---|
1312 | 'location' => 'query',
|
---|
1313 | 'type' => 'string',
|
---|
1314 | ],
|
---|
1315 | 'parent' => [
|
---|
1316 | 'location' => 'query',
|
---|
1317 | 'type' => 'string',
|
---|
1318 | ],
|
---|
1319 | 'stageStatus' => [
|
---|
1320 | 'location' => 'query',
|
---|
1321 | 'type' => 'string',
|
---|
1322 | ],
|
---|
1323 | 'summaryMetricsMask' => [
|
---|
1324 | 'location' => 'query',
|
---|
1325 | 'type' => 'string',
|
---|
1326 | ],
|
---|
1327 | ],
|
---|
1328 | ],'summarizeExecutors' => [
|
---|
1329 | 'path' => 'v1/{+name}:summarizeExecutors',
|
---|
1330 | 'httpMethod' => 'GET',
|
---|
1331 | 'parameters' => [
|
---|
1332 | 'name' => [
|
---|
1333 | 'location' => 'path',
|
---|
1334 | 'type' => 'string',
|
---|
1335 | 'required' => true,
|
---|
1336 | ],
|
---|
1337 | 'parent' => [
|
---|
1338 | 'location' => 'query',
|
---|
1339 | 'type' => 'string',
|
---|
1340 | ],
|
---|
1341 | ],
|
---|
1342 | ],'summarizeJobs' => [
|
---|
1343 | 'path' => 'v1/{+name}:summarizeJobs',
|
---|
1344 | 'httpMethod' => 'GET',
|
---|
1345 | 'parameters' => [
|
---|
1346 | 'name' => [
|
---|
1347 | 'location' => 'path',
|
---|
1348 | 'type' => 'string',
|
---|
1349 | 'required' => true,
|
---|
1350 | ],
|
---|
1351 | 'parent' => [
|
---|
1352 | 'location' => 'query',
|
---|
1353 | 'type' => 'string',
|
---|
1354 | ],
|
---|
1355 | ],
|
---|
1356 | ],'summarizeStageAttemptTasks' => [
|
---|
1357 | 'path' => 'v1/{+name}:summarizeStageAttemptTasks',
|
---|
1358 | 'httpMethod' => 'GET',
|
---|
1359 | 'parameters' => [
|
---|
1360 | 'name' => [
|
---|
1361 | 'location' => 'path',
|
---|
1362 | 'type' => 'string',
|
---|
1363 | 'required' => true,
|
---|
1364 | ],
|
---|
1365 | 'parent' => [
|
---|
1366 | 'location' => 'query',
|
---|
1367 | 'type' => 'string',
|
---|
1368 | ],
|
---|
1369 | 'stageAttemptId' => [
|
---|
1370 | 'location' => 'query',
|
---|
1371 | 'type' => 'integer',
|
---|
1372 | ],
|
---|
1373 | 'stageId' => [
|
---|
1374 | 'location' => 'query',
|
---|
1375 | 'type' => 'string',
|
---|
1376 | ],
|
---|
1377 | ],
|
---|
1378 | ],'summarizeStages' => [
|
---|
1379 | 'path' => 'v1/{+name}:summarizeStages',
|
---|
1380 | 'httpMethod' => 'GET',
|
---|
1381 | 'parameters' => [
|
---|
1382 | 'name' => [
|
---|
1383 | 'location' => 'path',
|
---|
1384 | 'type' => 'string',
|
---|
1385 | 'required' => true,
|
---|
1386 | ],
|
---|
1387 | 'parent' => [
|
---|
1388 | 'location' => 'query',
|
---|
1389 | 'type' => 'string',
|
---|
1390 | ],
|
---|
1391 | ],
|
---|
1392 | ],'write' => [
|
---|
1393 | 'path' => 'v1/{+name}:write',
|
---|
1394 | 'httpMethod' => 'POST',
|
---|
1395 | 'parameters' => [
|
---|
1396 | 'name' => [
|
---|
1397 | 'location' => 'path',
|
---|
1398 | 'type' => 'string',
|
---|
1399 | 'required' => true,
|
---|
1400 | ],
|
---|
1401 | ],
|
---|
1402 | ],
|
---|
1403 | ]
|
---|
1404 | ]
|
---|
1405 | );
|
---|
1406 | $this->projects_locations_workflowTemplates = new Dataproc\Resource\ProjectsLocationsWorkflowTemplates(
|
---|
1407 | $this,
|
---|
1408 | $this->serviceName,
|
---|
1409 | 'workflowTemplates',
|
---|
1410 | [
|
---|
1411 | 'methods' => [
|
---|
1412 | 'create' => [
|
---|
1413 | 'path' => 'v1/{+parent}/workflowTemplates',
|
---|
1414 | 'httpMethod' => 'POST',
|
---|
1415 | 'parameters' => [
|
---|
1416 | 'parent' => [
|
---|
1417 | 'location' => 'path',
|
---|
1418 | 'type' => 'string',
|
---|
1419 | 'required' => true,
|
---|
1420 | ],
|
---|
1421 | ],
|
---|
1422 | ],'delete' => [
|
---|
1423 | 'path' => 'v1/{+name}',
|
---|
1424 | 'httpMethod' => 'DELETE',
|
---|
1425 | 'parameters' => [
|
---|
1426 | 'name' => [
|
---|
1427 | 'location' => 'path',
|
---|
1428 | 'type' => 'string',
|
---|
1429 | 'required' => true,
|
---|
1430 | ],
|
---|
1431 | 'version' => [
|
---|
1432 | 'location' => 'query',
|
---|
1433 | 'type' => 'integer',
|
---|
1434 | ],
|
---|
1435 | ],
|
---|
1436 | ],'get' => [
|
---|
1437 | 'path' => 'v1/{+name}',
|
---|
1438 | 'httpMethod' => 'GET',
|
---|
1439 | 'parameters' => [
|
---|
1440 | 'name' => [
|
---|
1441 | 'location' => 'path',
|
---|
1442 | 'type' => 'string',
|
---|
1443 | 'required' => true,
|
---|
1444 | ],
|
---|
1445 | 'version' => [
|
---|
1446 | 'location' => 'query',
|
---|
1447 | 'type' => 'integer',
|
---|
1448 | ],
|
---|
1449 | ],
|
---|
1450 | ],'getIamPolicy' => [
|
---|
1451 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
1452 | 'httpMethod' => 'POST',
|
---|
1453 | 'parameters' => [
|
---|
1454 | 'resource' => [
|
---|
1455 | 'location' => 'path',
|
---|
1456 | 'type' => 'string',
|
---|
1457 | 'required' => true,
|
---|
1458 | ],
|
---|
1459 | ],
|
---|
1460 | ],'instantiate' => [
|
---|
1461 | 'path' => 'v1/{+name}:instantiate',
|
---|
1462 | 'httpMethod' => 'POST',
|
---|
1463 | 'parameters' => [
|
---|
1464 | 'name' => [
|
---|
1465 | 'location' => 'path',
|
---|
1466 | 'type' => 'string',
|
---|
1467 | 'required' => true,
|
---|
1468 | ],
|
---|
1469 | ],
|
---|
1470 | ],'instantiateInline' => [
|
---|
1471 | 'path' => 'v1/{+parent}/workflowTemplates:instantiateInline',
|
---|
1472 | 'httpMethod' => 'POST',
|
---|
1473 | 'parameters' => [
|
---|
1474 | 'parent' => [
|
---|
1475 | 'location' => 'path',
|
---|
1476 | 'type' => 'string',
|
---|
1477 | 'required' => true,
|
---|
1478 | ],
|
---|
1479 | 'requestId' => [
|
---|
1480 | 'location' => 'query',
|
---|
1481 | 'type' => 'string',
|
---|
1482 | ],
|
---|
1483 | ],
|
---|
1484 | ],'list' => [
|
---|
1485 | 'path' => 'v1/{+parent}/workflowTemplates',
|
---|
1486 | 'httpMethod' => 'GET',
|
---|
1487 | 'parameters' => [
|
---|
1488 | 'parent' => [
|
---|
1489 | 'location' => 'path',
|
---|
1490 | 'type' => 'string',
|
---|
1491 | 'required' => true,
|
---|
1492 | ],
|
---|
1493 | 'pageSize' => [
|
---|
1494 | 'location' => 'query',
|
---|
1495 | 'type' => 'integer',
|
---|
1496 | ],
|
---|
1497 | 'pageToken' => [
|
---|
1498 | 'location' => 'query',
|
---|
1499 | 'type' => 'string',
|
---|
1500 | ],
|
---|
1501 | ],
|
---|
1502 | ],'setIamPolicy' => [
|
---|
1503 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
1504 | 'httpMethod' => 'POST',
|
---|
1505 | 'parameters' => [
|
---|
1506 | 'resource' => [
|
---|
1507 | 'location' => 'path',
|
---|
1508 | 'type' => 'string',
|
---|
1509 | 'required' => true,
|
---|
1510 | ],
|
---|
1511 | ],
|
---|
1512 | ],'testIamPermissions' => [
|
---|
1513 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
1514 | 'httpMethod' => 'POST',
|
---|
1515 | 'parameters' => [
|
---|
1516 | 'resource' => [
|
---|
1517 | 'location' => 'path',
|
---|
1518 | 'type' => 'string',
|
---|
1519 | 'required' => true,
|
---|
1520 | ],
|
---|
1521 | ],
|
---|
1522 | ],'update' => [
|
---|
1523 | 'path' => 'v1/{+name}',
|
---|
1524 | 'httpMethod' => 'PUT',
|
---|
1525 | 'parameters' => [
|
---|
1526 | 'name' => [
|
---|
1527 | 'location' => 'path',
|
---|
1528 | 'type' => 'string',
|
---|
1529 | 'required' => true,
|
---|
1530 | ],
|
---|
1531 | ],
|
---|
1532 | ],
|
---|
1533 | ]
|
---|
1534 | ]
|
---|
1535 | );
|
---|
1536 | $this->projects_regions_autoscalingPolicies = new Dataproc\Resource\ProjectsRegionsAutoscalingPolicies(
|
---|
1537 | $this,
|
---|
1538 | $this->serviceName,
|
---|
1539 | 'autoscalingPolicies',
|
---|
1540 | [
|
---|
1541 | 'methods' => [
|
---|
1542 | 'create' => [
|
---|
1543 | 'path' => 'v1/{+parent}/autoscalingPolicies',
|
---|
1544 | 'httpMethod' => 'POST',
|
---|
1545 | 'parameters' => [
|
---|
1546 | 'parent' => [
|
---|
1547 | 'location' => 'path',
|
---|
1548 | 'type' => 'string',
|
---|
1549 | 'required' => true,
|
---|
1550 | ],
|
---|
1551 | ],
|
---|
1552 | ],'delete' => [
|
---|
1553 | 'path' => 'v1/{+name}',
|
---|
1554 | 'httpMethod' => 'DELETE',
|
---|
1555 | 'parameters' => [
|
---|
1556 | 'name' => [
|
---|
1557 | 'location' => 'path',
|
---|
1558 | 'type' => 'string',
|
---|
1559 | 'required' => true,
|
---|
1560 | ],
|
---|
1561 | ],
|
---|
1562 | ],'get' => [
|
---|
1563 | 'path' => 'v1/{+name}',
|
---|
1564 | 'httpMethod' => 'GET',
|
---|
1565 | 'parameters' => [
|
---|
1566 | 'name' => [
|
---|
1567 | 'location' => 'path',
|
---|
1568 | 'type' => 'string',
|
---|
1569 | 'required' => true,
|
---|
1570 | ],
|
---|
1571 | ],
|
---|
1572 | ],'getIamPolicy' => [
|
---|
1573 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
1574 | 'httpMethod' => 'POST',
|
---|
1575 | 'parameters' => [
|
---|
1576 | 'resource' => [
|
---|
1577 | 'location' => 'path',
|
---|
1578 | 'type' => 'string',
|
---|
1579 | 'required' => true,
|
---|
1580 | ],
|
---|
1581 | ],
|
---|
1582 | ],'list' => [
|
---|
1583 | 'path' => 'v1/{+parent}/autoscalingPolicies',
|
---|
1584 | 'httpMethod' => 'GET',
|
---|
1585 | 'parameters' => [
|
---|
1586 | 'parent' => [
|
---|
1587 | 'location' => 'path',
|
---|
1588 | 'type' => 'string',
|
---|
1589 | 'required' => true,
|
---|
1590 | ],
|
---|
1591 | 'pageSize' => [
|
---|
1592 | 'location' => 'query',
|
---|
1593 | 'type' => 'integer',
|
---|
1594 | ],
|
---|
1595 | 'pageToken' => [
|
---|
1596 | 'location' => 'query',
|
---|
1597 | 'type' => 'string',
|
---|
1598 | ],
|
---|
1599 | ],
|
---|
1600 | ],'setIamPolicy' => [
|
---|
1601 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
1602 | 'httpMethod' => 'POST',
|
---|
1603 | 'parameters' => [
|
---|
1604 | 'resource' => [
|
---|
1605 | 'location' => 'path',
|
---|
1606 | 'type' => 'string',
|
---|
1607 | 'required' => true,
|
---|
1608 | ],
|
---|
1609 | ],
|
---|
1610 | ],'testIamPermissions' => [
|
---|
1611 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
1612 | 'httpMethod' => 'POST',
|
---|
1613 | 'parameters' => [
|
---|
1614 | 'resource' => [
|
---|
1615 | 'location' => 'path',
|
---|
1616 | 'type' => 'string',
|
---|
1617 | 'required' => true,
|
---|
1618 | ],
|
---|
1619 | ],
|
---|
1620 | ],'update' => [
|
---|
1621 | 'path' => 'v1/{+name}',
|
---|
1622 | 'httpMethod' => 'PUT',
|
---|
1623 | 'parameters' => [
|
---|
1624 | 'name' => [
|
---|
1625 | 'location' => 'path',
|
---|
1626 | 'type' => 'string',
|
---|
1627 | 'required' => true,
|
---|
1628 | ],
|
---|
1629 | ],
|
---|
1630 | ],
|
---|
1631 | ]
|
---|
1632 | ]
|
---|
1633 | );
|
---|
1634 | $this->projects_regions_clusters = new Dataproc\Resource\ProjectsRegionsClusters(
|
---|
1635 | $this,
|
---|
1636 | $this->serviceName,
|
---|
1637 | 'clusters',
|
---|
1638 | [
|
---|
1639 | 'methods' => [
|
---|
1640 | 'create' => [
|
---|
1641 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters',
|
---|
1642 | 'httpMethod' => 'POST',
|
---|
1643 | 'parameters' => [
|
---|
1644 | 'projectId' => [
|
---|
1645 | 'location' => 'path',
|
---|
1646 | 'type' => 'string',
|
---|
1647 | 'required' => true,
|
---|
1648 | ],
|
---|
1649 | 'region' => [
|
---|
1650 | 'location' => 'path',
|
---|
1651 | 'type' => 'string',
|
---|
1652 | 'required' => true,
|
---|
1653 | ],
|
---|
1654 | 'actionOnFailedPrimaryWorkers' => [
|
---|
1655 | 'location' => 'query',
|
---|
1656 | 'type' => 'string',
|
---|
1657 | ],
|
---|
1658 | 'requestId' => [
|
---|
1659 | 'location' => 'query',
|
---|
1660 | 'type' => 'string',
|
---|
1661 | ],
|
---|
1662 | ],
|
---|
1663 | ],'delete' => [
|
---|
1664 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
|
---|
1665 | 'httpMethod' => 'DELETE',
|
---|
1666 | 'parameters' => [
|
---|
1667 | 'projectId' => [
|
---|
1668 | 'location' => 'path',
|
---|
1669 | 'type' => 'string',
|
---|
1670 | 'required' => true,
|
---|
1671 | ],
|
---|
1672 | 'region' => [
|
---|
1673 | 'location' => 'path',
|
---|
1674 | 'type' => 'string',
|
---|
1675 | 'required' => true,
|
---|
1676 | ],
|
---|
1677 | 'clusterName' => [
|
---|
1678 | 'location' => 'path',
|
---|
1679 | 'type' => 'string',
|
---|
1680 | 'required' => true,
|
---|
1681 | ],
|
---|
1682 | 'clusterUuid' => [
|
---|
1683 | 'location' => 'query',
|
---|
1684 | 'type' => 'string',
|
---|
1685 | ],
|
---|
1686 | 'gracefulTerminationTimeout' => [
|
---|
1687 | 'location' => 'query',
|
---|
1688 | 'type' => 'string',
|
---|
1689 | ],
|
---|
1690 | 'requestId' => [
|
---|
1691 | 'location' => 'query',
|
---|
1692 | 'type' => 'string',
|
---|
1693 | ],
|
---|
1694 | ],
|
---|
1695 | ],'diagnose' => [
|
---|
1696 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose',
|
---|
1697 | 'httpMethod' => 'POST',
|
---|
1698 | 'parameters' => [
|
---|
1699 | 'projectId' => [
|
---|
1700 | 'location' => 'path',
|
---|
1701 | 'type' => 'string',
|
---|
1702 | 'required' => true,
|
---|
1703 | ],
|
---|
1704 | 'region' => [
|
---|
1705 | 'location' => 'path',
|
---|
1706 | 'type' => 'string',
|
---|
1707 | 'required' => true,
|
---|
1708 | ],
|
---|
1709 | 'clusterName' => [
|
---|
1710 | 'location' => 'path',
|
---|
1711 | 'type' => 'string',
|
---|
1712 | 'required' => true,
|
---|
1713 | ],
|
---|
1714 | ],
|
---|
1715 | ],'get' => [
|
---|
1716 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
|
---|
1717 | 'httpMethod' => 'GET',
|
---|
1718 | 'parameters' => [
|
---|
1719 | 'projectId' => [
|
---|
1720 | 'location' => 'path',
|
---|
1721 | 'type' => 'string',
|
---|
1722 | 'required' => true,
|
---|
1723 | ],
|
---|
1724 | 'region' => [
|
---|
1725 | 'location' => 'path',
|
---|
1726 | 'type' => 'string',
|
---|
1727 | 'required' => true,
|
---|
1728 | ],
|
---|
1729 | 'clusterName' => [
|
---|
1730 | 'location' => 'path',
|
---|
1731 | 'type' => 'string',
|
---|
1732 | 'required' => true,
|
---|
1733 | ],
|
---|
1734 | ],
|
---|
1735 | ],'getIamPolicy' => [
|
---|
1736 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
1737 | 'httpMethod' => 'POST',
|
---|
1738 | 'parameters' => [
|
---|
1739 | 'resource' => [
|
---|
1740 | 'location' => 'path',
|
---|
1741 | 'type' => 'string',
|
---|
1742 | 'required' => true,
|
---|
1743 | ],
|
---|
1744 | ],
|
---|
1745 | ],'injectCredentials' => [
|
---|
1746 | 'path' => 'v1/{+project}/{+region}/{+cluster}:injectCredentials',
|
---|
1747 | 'httpMethod' => 'POST',
|
---|
1748 | 'parameters' => [
|
---|
1749 | 'project' => [
|
---|
1750 | 'location' => 'path',
|
---|
1751 | 'type' => 'string',
|
---|
1752 | 'required' => true,
|
---|
1753 | ],
|
---|
1754 | 'region' => [
|
---|
1755 | 'location' => 'path',
|
---|
1756 | 'type' => 'string',
|
---|
1757 | 'required' => true,
|
---|
1758 | ],
|
---|
1759 | 'cluster' => [
|
---|
1760 | 'location' => 'path',
|
---|
1761 | 'type' => 'string',
|
---|
1762 | 'required' => true,
|
---|
1763 | ],
|
---|
1764 | ],
|
---|
1765 | ],'list' => [
|
---|
1766 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters',
|
---|
1767 | 'httpMethod' => 'GET',
|
---|
1768 | 'parameters' => [
|
---|
1769 | 'projectId' => [
|
---|
1770 | 'location' => 'path',
|
---|
1771 | 'type' => 'string',
|
---|
1772 | 'required' => true,
|
---|
1773 | ],
|
---|
1774 | 'region' => [
|
---|
1775 | 'location' => 'path',
|
---|
1776 | 'type' => 'string',
|
---|
1777 | 'required' => true,
|
---|
1778 | ],
|
---|
1779 | 'filter' => [
|
---|
1780 | 'location' => 'query',
|
---|
1781 | 'type' => 'string',
|
---|
1782 | ],
|
---|
1783 | 'pageSize' => [
|
---|
1784 | 'location' => 'query',
|
---|
1785 | 'type' => 'integer',
|
---|
1786 | ],
|
---|
1787 | 'pageToken' => [
|
---|
1788 | 'location' => 'query',
|
---|
1789 | 'type' => 'string',
|
---|
1790 | ],
|
---|
1791 | ],
|
---|
1792 | ],'patch' => [
|
---|
1793 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}',
|
---|
1794 | 'httpMethod' => 'PATCH',
|
---|
1795 | 'parameters' => [
|
---|
1796 | 'projectId' => [
|
---|
1797 | 'location' => 'path',
|
---|
1798 | 'type' => 'string',
|
---|
1799 | 'required' => true,
|
---|
1800 | ],
|
---|
1801 | 'region' => [
|
---|
1802 | 'location' => 'path',
|
---|
1803 | 'type' => 'string',
|
---|
1804 | 'required' => true,
|
---|
1805 | ],
|
---|
1806 | 'clusterName' => [
|
---|
1807 | 'location' => 'path',
|
---|
1808 | 'type' => 'string',
|
---|
1809 | 'required' => true,
|
---|
1810 | ],
|
---|
1811 | 'gracefulDecommissionTimeout' => [
|
---|
1812 | 'location' => 'query',
|
---|
1813 | 'type' => 'string',
|
---|
1814 | ],
|
---|
1815 | 'requestId' => [
|
---|
1816 | 'location' => 'query',
|
---|
1817 | 'type' => 'string',
|
---|
1818 | ],
|
---|
1819 | 'updateMask' => [
|
---|
1820 | 'location' => 'query',
|
---|
1821 | 'type' => 'string',
|
---|
1822 | ],
|
---|
1823 | ],
|
---|
1824 | ],'repair' => [
|
---|
1825 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair',
|
---|
1826 | 'httpMethod' => 'POST',
|
---|
1827 | 'parameters' => [
|
---|
1828 | 'projectId' => [
|
---|
1829 | 'location' => 'path',
|
---|
1830 | 'type' => 'string',
|
---|
1831 | 'required' => true,
|
---|
1832 | ],
|
---|
1833 | 'region' => [
|
---|
1834 | 'location' => 'path',
|
---|
1835 | 'type' => 'string',
|
---|
1836 | 'required' => true,
|
---|
1837 | ],
|
---|
1838 | 'clusterName' => [
|
---|
1839 | 'location' => 'path',
|
---|
1840 | 'type' => 'string',
|
---|
1841 | 'required' => true,
|
---|
1842 | ],
|
---|
1843 | ],
|
---|
1844 | ],'setIamPolicy' => [
|
---|
1845 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
1846 | 'httpMethod' => 'POST',
|
---|
1847 | 'parameters' => [
|
---|
1848 | 'resource' => [
|
---|
1849 | 'location' => 'path',
|
---|
1850 | 'type' => 'string',
|
---|
1851 | 'required' => true,
|
---|
1852 | ],
|
---|
1853 | ],
|
---|
1854 | ],'start' => [
|
---|
1855 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start',
|
---|
1856 | 'httpMethod' => 'POST',
|
---|
1857 | 'parameters' => [
|
---|
1858 | 'projectId' => [
|
---|
1859 | 'location' => 'path',
|
---|
1860 | 'type' => 'string',
|
---|
1861 | 'required' => true,
|
---|
1862 | ],
|
---|
1863 | 'region' => [
|
---|
1864 | 'location' => 'path',
|
---|
1865 | 'type' => 'string',
|
---|
1866 | 'required' => true,
|
---|
1867 | ],
|
---|
1868 | 'clusterName' => [
|
---|
1869 | 'location' => 'path',
|
---|
1870 | 'type' => 'string',
|
---|
1871 | 'required' => true,
|
---|
1872 | ],
|
---|
1873 | ],
|
---|
1874 | ],'stop' => [
|
---|
1875 | 'path' => 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop',
|
---|
1876 | 'httpMethod' => 'POST',
|
---|
1877 | 'parameters' => [
|
---|
1878 | 'projectId' => [
|
---|
1879 | 'location' => 'path',
|
---|
1880 | 'type' => 'string',
|
---|
1881 | 'required' => true,
|
---|
1882 | ],
|
---|
1883 | 'region' => [
|
---|
1884 | 'location' => 'path',
|
---|
1885 | 'type' => 'string',
|
---|
1886 | 'required' => true,
|
---|
1887 | ],
|
---|
1888 | 'clusterName' => [
|
---|
1889 | 'location' => 'path',
|
---|
1890 | 'type' => 'string',
|
---|
1891 | 'required' => true,
|
---|
1892 | ],
|
---|
1893 | ],
|
---|
1894 | ],'testIamPermissions' => [
|
---|
1895 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
1896 | 'httpMethod' => 'POST',
|
---|
1897 | 'parameters' => [
|
---|
1898 | 'resource' => [
|
---|
1899 | 'location' => 'path',
|
---|
1900 | 'type' => 'string',
|
---|
1901 | 'required' => true,
|
---|
1902 | ],
|
---|
1903 | ],
|
---|
1904 | ],
|
---|
1905 | ]
|
---|
1906 | ]
|
---|
1907 | );
|
---|
1908 | $this->projects_regions_clusters_nodeGroups = new Dataproc\Resource\ProjectsRegionsClustersNodeGroups(
|
---|
1909 | $this,
|
---|
1910 | $this->serviceName,
|
---|
1911 | 'nodeGroups',
|
---|
1912 | [
|
---|
1913 | 'methods' => [
|
---|
1914 | 'create' => [
|
---|
1915 | 'path' => 'v1/{+parent}/nodeGroups',
|
---|
1916 | 'httpMethod' => 'POST',
|
---|
1917 | 'parameters' => [
|
---|
1918 | 'parent' => [
|
---|
1919 | 'location' => 'path',
|
---|
1920 | 'type' => 'string',
|
---|
1921 | 'required' => true,
|
---|
1922 | ],
|
---|
1923 | 'nodeGroupId' => [
|
---|
1924 | 'location' => 'query',
|
---|
1925 | 'type' => 'string',
|
---|
1926 | ],
|
---|
1927 | 'parentOperationId' => [
|
---|
1928 | 'location' => 'query',
|
---|
1929 | 'type' => 'string',
|
---|
1930 | ],
|
---|
1931 | 'requestId' => [
|
---|
1932 | 'location' => 'query',
|
---|
1933 | 'type' => 'string',
|
---|
1934 | ],
|
---|
1935 | ],
|
---|
1936 | ],'get' => [
|
---|
1937 | 'path' => 'v1/{+name}',
|
---|
1938 | 'httpMethod' => 'GET',
|
---|
1939 | 'parameters' => [
|
---|
1940 | 'name' => [
|
---|
1941 | 'location' => 'path',
|
---|
1942 | 'type' => 'string',
|
---|
1943 | 'required' => true,
|
---|
1944 | ],
|
---|
1945 | ],
|
---|
1946 | ],'repair' => [
|
---|
1947 | 'path' => 'v1/{+name}:repair',
|
---|
1948 | 'httpMethod' => 'POST',
|
---|
1949 | 'parameters' => [
|
---|
1950 | 'name' => [
|
---|
1951 | 'location' => 'path',
|
---|
1952 | 'type' => 'string',
|
---|
1953 | 'required' => true,
|
---|
1954 | ],
|
---|
1955 | ],
|
---|
1956 | ],'resize' => [
|
---|
1957 | 'path' => 'v1/{+name}:resize',
|
---|
1958 | 'httpMethod' => 'POST',
|
---|
1959 | 'parameters' => [
|
---|
1960 | 'name' => [
|
---|
1961 | 'location' => 'path',
|
---|
1962 | 'type' => 'string',
|
---|
1963 | 'required' => true,
|
---|
1964 | ],
|
---|
1965 | ],
|
---|
1966 | ],
|
---|
1967 | ]
|
---|
1968 | ]
|
---|
1969 | );
|
---|
1970 | $this->projects_regions_jobs = new Dataproc\Resource\ProjectsRegionsJobs(
|
---|
1971 | $this,
|
---|
1972 | $this->serviceName,
|
---|
1973 | 'jobs',
|
---|
1974 | [
|
---|
1975 | 'methods' => [
|
---|
1976 | 'cancel' => [
|
---|
1977 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel',
|
---|
1978 | 'httpMethod' => 'POST',
|
---|
1979 | 'parameters' => [
|
---|
1980 | 'projectId' => [
|
---|
1981 | 'location' => 'path',
|
---|
1982 | 'type' => 'string',
|
---|
1983 | 'required' => true,
|
---|
1984 | ],
|
---|
1985 | 'region' => [
|
---|
1986 | 'location' => 'path',
|
---|
1987 | 'type' => 'string',
|
---|
1988 | 'required' => true,
|
---|
1989 | ],
|
---|
1990 | 'jobId' => [
|
---|
1991 | 'location' => 'path',
|
---|
1992 | 'type' => 'string',
|
---|
1993 | 'required' => true,
|
---|
1994 | ],
|
---|
1995 | ],
|
---|
1996 | ],'delete' => [
|
---|
1997 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
|
---|
1998 | 'httpMethod' => 'DELETE',
|
---|
1999 | 'parameters' => [
|
---|
2000 | 'projectId' => [
|
---|
2001 | 'location' => 'path',
|
---|
2002 | 'type' => 'string',
|
---|
2003 | 'required' => true,
|
---|
2004 | ],
|
---|
2005 | 'region' => [
|
---|
2006 | 'location' => 'path',
|
---|
2007 | 'type' => 'string',
|
---|
2008 | 'required' => true,
|
---|
2009 | ],
|
---|
2010 | 'jobId' => [
|
---|
2011 | 'location' => 'path',
|
---|
2012 | 'type' => 'string',
|
---|
2013 | 'required' => true,
|
---|
2014 | ],
|
---|
2015 | ],
|
---|
2016 | ],'get' => [
|
---|
2017 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
|
---|
2018 | 'httpMethod' => 'GET',
|
---|
2019 | 'parameters' => [
|
---|
2020 | 'projectId' => [
|
---|
2021 | 'location' => 'path',
|
---|
2022 | 'type' => 'string',
|
---|
2023 | 'required' => true,
|
---|
2024 | ],
|
---|
2025 | 'region' => [
|
---|
2026 | 'location' => 'path',
|
---|
2027 | 'type' => 'string',
|
---|
2028 | 'required' => true,
|
---|
2029 | ],
|
---|
2030 | 'jobId' => [
|
---|
2031 | 'location' => 'path',
|
---|
2032 | 'type' => 'string',
|
---|
2033 | 'required' => true,
|
---|
2034 | ],
|
---|
2035 | ],
|
---|
2036 | ],'getIamPolicy' => [
|
---|
2037 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
2038 | 'httpMethod' => 'POST',
|
---|
2039 | 'parameters' => [
|
---|
2040 | 'resource' => [
|
---|
2041 | 'location' => 'path',
|
---|
2042 | 'type' => 'string',
|
---|
2043 | 'required' => true,
|
---|
2044 | ],
|
---|
2045 | ],
|
---|
2046 | ],'list' => [
|
---|
2047 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs',
|
---|
2048 | 'httpMethod' => 'GET',
|
---|
2049 | 'parameters' => [
|
---|
2050 | 'projectId' => [
|
---|
2051 | 'location' => 'path',
|
---|
2052 | 'type' => 'string',
|
---|
2053 | 'required' => true,
|
---|
2054 | ],
|
---|
2055 | 'region' => [
|
---|
2056 | 'location' => 'path',
|
---|
2057 | 'type' => 'string',
|
---|
2058 | 'required' => true,
|
---|
2059 | ],
|
---|
2060 | 'clusterName' => [
|
---|
2061 | 'location' => 'query',
|
---|
2062 | 'type' => 'string',
|
---|
2063 | ],
|
---|
2064 | 'filter' => [
|
---|
2065 | 'location' => 'query',
|
---|
2066 | 'type' => 'string',
|
---|
2067 | ],
|
---|
2068 | 'jobStateMatcher' => [
|
---|
2069 | 'location' => 'query',
|
---|
2070 | 'type' => 'string',
|
---|
2071 | ],
|
---|
2072 | 'pageSize' => [
|
---|
2073 | 'location' => 'query',
|
---|
2074 | 'type' => 'integer',
|
---|
2075 | ],
|
---|
2076 | 'pageToken' => [
|
---|
2077 | 'location' => 'query',
|
---|
2078 | 'type' => 'string',
|
---|
2079 | ],
|
---|
2080 | ],
|
---|
2081 | ],'patch' => [
|
---|
2082 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}',
|
---|
2083 | 'httpMethod' => 'PATCH',
|
---|
2084 | 'parameters' => [
|
---|
2085 | 'projectId' => [
|
---|
2086 | 'location' => 'path',
|
---|
2087 | 'type' => 'string',
|
---|
2088 | 'required' => true,
|
---|
2089 | ],
|
---|
2090 | 'region' => [
|
---|
2091 | 'location' => 'path',
|
---|
2092 | 'type' => 'string',
|
---|
2093 | 'required' => true,
|
---|
2094 | ],
|
---|
2095 | 'jobId' => [
|
---|
2096 | 'location' => 'path',
|
---|
2097 | 'type' => 'string',
|
---|
2098 | 'required' => true,
|
---|
2099 | ],
|
---|
2100 | 'updateMask' => [
|
---|
2101 | 'location' => 'query',
|
---|
2102 | 'type' => 'string',
|
---|
2103 | ],
|
---|
2104 | ],
|
---|
2105 | ],'setIamPolicy' => [
|
---|
2106 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
2107 | 'httpMethod' => 'POST',
|
---|
2108 | 'parameters' => [
|
---|
2109 | 'resource' => [
|
---|
2110 | 'location' => 'path',
|
---|
2111 | 'type' => 'string',
|
---|
2112 | 'required' => true,
|
---|
2113 | ],
|
---|
2114 | ],
|
---|
2115 | ],'submit' => [
|
---|
2116 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs:submit',
|
---|
2117 | 'httpMethod' => 'POST',
|
---|
2118 | 'parameters' => [
|
---|
2119 | 'projectId' => [
|
---|
2120 | 'location' => 'path',
|
---|
2121 | 'type' => 'string',
|
---|
2122 | 'required' => true,
|
---|
2123 | ],
|
---|
2124 | 'region' => [
|
---|
2125 | 'location' => 'path',
|
---|
2126 | 'type' => 'string',
|
---|
2127 | 'required' => true,
|
---|
2128 | ],
|
---|
2129 | ],
|
---|
2130 | ],'submitAsOperation' => [
|
---|
2131 | 'path' => 'v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation',
|
---|
2132 | 'httpMethod' => 'POST',
|
---|
2133 | 'parameters' => [
|
---|
2134 | 'projectId' => [
|
---|
2135 | 'location' => 'path',
|
---|
2136 | 'type' => 'string',
|
---|
2137 | 'required' => true,
|
---|
2138 | ],
|
---|
2139 | 'region' => [
|
---|
2140 | 'location' => 'path',
|
---|
2141 | 'type' => 'string',
|
---|
2142 | 'required' => true,
|
---|
2143 | ],
|
---|
2144 | ],
|
---|
2145 | ],'testIamPermissions' => [
|
---|
2146 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
2147 | 'httpMethod' => 'POST',
|
---|
2148 | 'parameters' => [
|
---|
2149 | 'resource' => [
|
---|
2150 | 'location' => 'path',
|
---|
2151 | 'type' => 'string',
|
---|
2152 | 'required' => true,
|
---|
2153 | ],
|
---|
2154 | ],
|
---|
2155 | ],
|
---|
2156 | ]
|
---|
2157 | ]
|
---|
2158 | );
|
---|
2159 | $this->projects_regions_operations = new Dataproc\Resource\ProjectsRegionsOperations(
|
---|
2160 | $this,
|
---|
2161 | $this->serviceName,
|
---|
2162 | 'operations',
|
---|
2163 | [
|
---|
2164 | 'methods' => [
|
---|
2165 | 'cancel' => [
|
---|
2166 | 'path' => 'v1/{+name}:cancel',
|
---|
2167 | 'httpMethod' => 'POST',
|
---|
2168 | 'parameters' => [
|
---|
2169 | 'name' => [
|
---|
2170 | 'location' => 'path',
|
---|
2171 | 'type' => 'string',
|
---|
2172 | 'required' => true,
|
---|
2173 | ],
|
---|
2174 | ],
|
---|
2175 | ],'delete' => [
|
---|
2176 | 'path' => 'v1/{+name}',
|
---|
2177 | 'httpMethod' => 'DELETE',
|
---|
2178 | 'parameters' => [
|
---|
2179 | 'name' => [
|
---|
2180 | 'location' => 'path',
|
---|
2181 | 'type' => 'string',
|
---|
2182 | 'required' => true,
|
---|
2183 | ],
|
---|
2184 | ],
|
---|
2185 | ],'get' => [
|
---|
2186 | 'path' => 'v1/{+name}',
|
---|
2187 | 'httpMethod' => 'GET',
|
---|
2188 | 'parameters' => [
|
---|
2189 | 'name' => [
|
---|
2190 | 'location' => 'path',
|
---|
2191 | 'type' => 'string',
|
---|
2192 | 'required' => true,
|
---|
2193 | ],
|
---|
2194 | ],
|
---|
2195 | ],'getIamPolicy' => [
|
---|
2196 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
2197 | 'httpMethod' => 'POST',
|
---|
2198 | 'parameters' => [
|
---|
2199 | 'resource' => [
|
---|
2200 | 'location' => 'path',
|
---|
2201 | 'type' => 'string',
|
---|
2202 | 'required' => true,
|
---|
2203 | ],
|
---|
2204 | ],
|
---|
2205 | ],'list' => [
|
---|
2206 | 'path' => 'v1/{+name}',
|
---|
2207 | 'httpMethod' => 'GET',
|
---|
2208 | 'parameters' => [
|
---|
2209 | 'name' => [
|
---|
2210 | 'location' => 'path',
|
---|
2211 | 'type' => 'string',
|
---|
2212 | 'required' => true,
|
---|
2213 | ],
|
---|
2214 | 'filter' => [
|
---|
2215 | 'location' => 'query',
|
---|
2216 | 'type' => 'string',
|
---|
2217 | ],
|
---|
2218 | 'pageSize' => [
|
---|
2219 | 'location' => 'query',
|
---|
2220 | 'type' => 'integer',
|
---|
2221 | ],
|
---|
2222 | 'pageToken' => [
|
---|
2223 | 'location' => 'query',
|
---|
2224 | 'type' => 'string',
|
---|
2225 | ],
|
---|
2226 | ],
|
---|
2227 | ],'setIamPolicy' => [
|
---|
2228 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
2229 | 'httpMethod' => 'POST',
|
---|
2230 | 'parameters' => [
|
---|
2231 | 'resource' => [
|
---|
2232 | 'location' => 'path',
|
---|
2233 | 'type' => 'string',
|
---|
2234 | 'required' => true,
|
---|
2235 | ],
|
---|
2236 | ],
|
---|
2237 | ],'testIamPermissions' => [
|
---|
2238 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
2239 | 'httpMethod' => 'POST',
|
---|
2240 | 'parameters' => [
|
---|
2241 | 'resource' => [
|
---|
2242 | 'location' => 'path',
|
---|
2243 | 'type' => 'string',
|
---|
2244 | 'required' => true,
|
---|
2245 | ],
|
---|
2246 | ],
|
---|
2247 | ],
|
---|
2248 | ]
|
---|
2249 | ]
|
---|
2250 | );
|
---|
2251 | $this->projects_regions_workflowTemplates = new Dataproc\Resource\ProjectsRegionsWorkflowTemplates(
|
---|
2252 | $this,
|
---|
2253 | $this->serviceName,
|
---|
2254 | 'workflowTemplates',
|
---|
2255 | [
|
---|
2256 | 'methods' => [
|
---|
2257 | 'create' => [
|
---|
2258 | 'path' => 'v1/{+parent}/workflowTemplates',
|
---|
2259 | 'httpMethod' => 'POST',
|
---|
2260 | 'parameters' => [
|
---|
2261 | 'parent' => [
|
---|
2262 | 'location' => 'path',
|
---|
2263 | 'type' => 'string',
|
---|
2264 | 'required' => true,
|
---|
2265 | ],
|
---|
2266 | ],
|
---|
2267 | ],'delete' => [
|
---|
2268 | 'path' => 'v1/{+name}',
|
---|
2269 | 'httpMethod' => 'DELETE',
|
---|
2270 | 'parameters' => [
|
---|
2271 | 'name' => [
|
---|
2272 | 'location' => 'path',
|
---|
2273 | 'type' => 'string',
|
---|
2274 | 'required' => true,
|
---|
2275 | ],
|
---|
2276 | 'version' => [
|
---|
2277 | 'location' => 'query',
|
---|
2278 | 'type' => 'integer',
|
---|
2279 | ],
|
---|
2280 | ],
|
---|
2281 | ],'get' => [
|
---|
2282 | 'path' => 'v1/{+name}',
|
---|
2283 | 'httpMethod' => 'GET',
|
---|
2284 | 'parameters' => [
|
---|
2285 | 'name' => [
|
---|
2286 | 'location' => 'path',
|
---|
2287 | 'type' => 'string',
|
---|
2288 | 'required' => true,
|
---|
2289 | ],
|
---|
2290 | 'version' => [
|
---|
2291 | 'location' => 'query',
|
---|
2292 | 'type' => 'integer',
|
---|
2293 | ],
|
---|
2294 | ],
|
---|
2295 | ],'getIamPolicy' => [
|
---|
2296 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
2297 | 'httpMethod' => 'POST',
|
---|
2298 | 'parameters' => [
|
---|
2299 | 'resource' => [
|
---|
2300 | 'location' => 'path',
|
---|
2301 | 'type' => 'string',
|
---|
2302 | 'required' => true,
|
---|
2303 | ],
|
---|
2304 | ],
|
---|
2305 | ],'instantiate' => [
|
---|
2306 | 'path' => 'v1/{+name}:instantiate',
|
---|
2307 | 'httpMethod' => 'POST',
|
---|
2308 | 'parameters' => [
|
---|
2309 | 'name' => [
|
---|
2310 | 'location' => 'path',
|
---|
2311 | 'type' => 'string',
|
---|
2312 | 'required' => true,
|
---|
2313 | ],
|
---|
2314 | ],
|
---|
2315 | ],'instantiateInline' => [
|
---|
2316 | 'path' => 'v1/{+parent}/workflowTemplates:instantiateInline',
|
---|
2317 | 'httpMethod' => 'POST',
|
---|
2318 | 'parameters' => [
|
---|
2319 | 'parent' => [
|
---|
2320 | 'location' => 'path',
|
---|
2321 | 'type' => 'string',
|
---|
2322 | 'required' => true,
|
---|
2323 | ],
|
---|
2324 | 'requestId' => [
|
---|
2325 | 'location' => 'query',
|
---|
2326 | 'type' => 'string',
|
---|
2327 | ],
|
---|
2328 | ],
|
---|
2329 | ],'list' => [
|
---|
2330 | 'path' => 'v1/{+parent}/workflowTemplates',
|
---|
2331 | 'httpMethod' => 'GET',
|
---|
2332 | 'parameters' => [
|
---|
2333 | 'parent' => [
|
---|
2334 | 'location' => 'path',
|
---|
2335 | 'type' => 'string',
|
---|
2336 | 'required' => true,
|
---|
2337 | ],
|
---|
2338 | 'pageSize' => [
|
---|
2339 | 'location' => 'query',
|
---|
2340 | 'type' => 'integer',
|
---|
2341 | ],
|
---|
2342 | 'pageToken' => [
|
---|
2343 | 'location' => 'query',
|
---|
2344 | 'type' => 'string',
|
---|
2345 | ],
|
---|
2346 | ],
|
---|
2347 | ],'setIamPolicy' => [
|
---|
2348 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
2349 | 'httpMethod' => 'POST',
|
---|
2350 | 'parameters' => [
|
---|
2351 | 'resource' => [
|
---|
2352 | 'location' => 'path',
|
---|
2353 | 'type' => 'string',
|
---|
2354 | 'required' => true,
|
---|
2355 | ],
|
---|
2356 | ],
|
---|
2357 | ],'testIamPermissions' => [
|
---|
2358 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
2359 | 'httpMethod' => 'POST',
|
---|
2360 | 'parameters' => [
|
---|
2361 | 'resource' => [
|
---|
2362 | 'location' => 'path',
|
---|
2363 | 'type' => 'string',
|
---|
2364 | 'required' => true,
|
---|
2365 | ],
|
---|
2366 | ],
|
---|
2367 | ],'update' => [
|
---|
2368 | 'path' => 'v1/{+name}',
|
---|
2369 | 'httpMethod' => 'PUT',
|
---|
2370 | 'parameters' => [
|
---|
2371 | 'name' => [
|
---|
2372 | 'location' => 'path',
|
---|
2373 | 'type' => 'string',
|
---|
2374 | 'required' => true,
|
---|
2375 | ],
|
---|
2376 | ],
|
---|
2377 | ],
|
---|
2378 | ]
|
---|
2379 | ]
|
---|
2380 | );
|
---|
2381 | }
|
---|
2382 | }
|
---|
2383 |
|
---|
2384 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
2385 | class_alias(Dataproc::class, 'Google_Service_Dataproc');
|
---|