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