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

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

Upload project files

  • Property mode set to 100644
File size: 49.2 KB
RevLine 
[e3d4e0a]1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for ApigeeRegistry (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/apigee/docs/api-hub/what-is-api-hub" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class ApigeeRegistry 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_apis;
43 public $projects_locations_apis_artifacts;
44 public $projects_locations_apis_deployments;
45 public $projects_locations_apis_deployments_artifacts;
46 public $projects_locations_apis_versions;
47 public $projects_locations_apis_versions_artifacts;
48 public $projects_locations_apis_versions_specs;
49 public $projects_locations_apis_versions_specs_artifacts;
50 public $projects_locations_artifacts;
51 public $projects_locations_documents;
52 public $projects_locations_instances;
53 public $projects_locations_operations;
54 public $projects_locations_runtime;
55 public $rootUrlTemplate;
56
57 /**
58 * Constructs the internal representation of the ApigeeRegistry 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://apigeeregistry.googleapis.com/';
68 $this->rootUrlTemplate = $rootUrl ?: 'https://apigeeregistry.UNIVERSE_DOMAIN/';
69 $this->servicePath = '';
70 $this->batchPath = 'batch';
71 $this->version = 'v1';
72 $this->serviceName = 'apigeeregistry';
73
74 $this->projects_locations = new ApigeeRegistry\Resource\ProjectsLocations(
75 $this,
76 $this->serviceName,
77 'locations',
78 [
79 'methods' => [
80 'get' => [
81 'path' => 'v1/{+name}',
82 'httpMethod' => 'GET',
83 'parameters' => [
84 'name' => [
85 'location' => 'path',
86 'type' => 'string',
87 'required' => true,
88 ],
89 ],
90 ],'list' => [
91 'path' => 'v1/{+name}/locations',
92 'httpMethod' => 'GET',
93 'parameters' => [
94 'name' => [
95 'location' => 'path',
96 'type' => 'string',
97 'required' => true,
98 ],
99 'filter' => [
100 'location' => 'query',
101 'type' => 'string',
102 ],
103 'pageSize' => [
104 'location' => 'query',
105 'type' => 'integer',
106 ],
107 'pageToken' => [
108 'location' => 'query',
109 'type' => 'string',
110 ],
111 ],
112 ],
113 ]
114 ]
115 );
116 $this->projects_locations_apis = new ApigeeRegistry\Resource\ProjectsLocationsApis(
117 $this,
118 $this->serviceName,
119 'apis',
120 [
121 'methods' => [
122 'create' => [
123 'path' => 'v1/{+parent}/apis',
124 'httpMethod' => 'POST',
125 'parameters' => [
126 'parent' => [
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ],
131 'apiId' => [
132 'location' => 'query',
133 'type' => 'string',
134 ],
135 ],
136 ],'delete' => [
137 'path' => 'v1/{+name}',
138 'httpMethod' => 'DELETE',
139 'parameters' => [
140 'name' => [
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ],
145 'force' => [
146 'location' => 'query',
147 'type' => 'boolean',
148 ],
149 ],
150 ],'get' => [
151 'path' => 'v1/{+name}',
152 'httpMethod' => 'GET',
153 'parameters' => [
154 'name' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 ],
160 ],'getIamPolicy' => [
161 'path' => 'v1/{+resource}:getIamPolicy',
162 'httpMethod' => 'GET',
163 'parameters' => [
164 'resource' => [
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ],
169 'options.requestedPolicyVersion' => [
170 'location' => 'query',
171 'type' => 'integer',
172 ],
173 ],
174 ],'list' => [
175 'path' => 'v1/{+parent}/apis',
176 'httpMethod' => 'GET',
177 'parameters' => [
178 'parent' => [
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ],
183 'filter' => [
184 'location' => 'query',
185 'type' => 'string',
186 ],
187 'orderBy' => [
188 'location' => 'query',
189 'type' => 'string',
190 ],
191 'pageSize' => [
192 'location' => 'query',
193 'type' => 'integer',
194 ],
195 'pageToken' => [
196 'location' => 'query',
197 'type' => 'string',
198 ],
199 ],
200 ],'patch' => [
201 'path' => 'v1/{+name}',
202 'httpMethod' => 'PATCH',
203 'parameters' => [
204 'name' => [
205 'location' => 'path',
206 'type' => 'string',
207 'required' => true,
208 ],
209 'allowMissing' => [
210 'location' => 'query',
211 'type' => 'boolean',
212 ],
213 'updateMask' => [
214 'location' => 'query',
215 'type' => 'string',
216 ],
217 ],
218 ],'setIamPolicy' => [
219 'path' => 'v1/{+resource}:setIamPolicy',
220 'httpMethod' => 'POST',
221 'parameters' => [
222 'resource' => [
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ],
227 ],
228 ],'testIamPermissions' => [
229 'path' => 'v1/{+resource}:testIamPermissions',
230 'httpMethod' => 'POST',
231 'parameters' => [
232 'resource' => [
233 'location' => 'path',
234 'type' => 'string',
235 'required' => true,
236 ],
237 ],
238 ],
239 ]
240 ]
241 );
242 $this->projects_locations_apis_artifacts = new ApigeeRegistry\Resource\ProjectsLocationsApisArtifacts(
243 $this,
244 $this->serviceName,
245 'artifacts',
246 [
247 'methods' => [
248 'create' => [
249 'path' => 'v1/{+parent}/artifacts',
250 'httpMethod' => 'POST',
251 'parameters' => [
252 'parent' => [
253 'location' => 'path',
254 'type' => 'string',
255 'required' => true,
256 ],
257 'artifactId' => [
258 'location' => 'query',
259 'type' => 'string',
260 ],
261 ],
262 ],'delete' => [
263 'path' => 'v1/{+name}',
264 'httpMethod' => 'DELETE',
265 'parameters' => [
266 'name' => [
267 'location' => 'path',
268 'type' => 'string',
269 'required' => true,
270 ],
271 ],
272 ],'get' => [
273 'path' => 'v1/{+name}',
274 'httpMethod' => 'GET',
275 'parameters' => [
276 'name' => [
277 'location' => 'path',
278 'type' => 'string',
279 'required' => true,
280 ],
281 ],
282 ],'getContents' => [
283 'path' => 'v1/{+name}:getContents',
284 'httpMethod' => 'GET',
285 'parameters' => [
286 'name' => [
287 'location' => 'path',
288 'type' => 'string',
289 'required' => true,
290 ],
291 ],
292 ],'getIamPolicy' => [
293 'path' => 'v1/{+resource}:getIamPolicy',
294 'httpMethod' => 'GET',
295 'parameters' => [
296 'resource' => [
297 'location' => 'path',
298 'type' => 'string',
299 'required' => true,
300 ],
301 'options.requestedPolicyVersion' => [
302 'location' => 'query',
303 'type' => 'integer',
304 ],
305 ],
306 ],'list' => [
307 'path' => 'v1/{+parent}/artifacts',
308 'httpMethod' => 'GET',
309 'parameters' => [
310 'parent' => [
311 'location' => 'path',
312 'type' => 'string',
313 'required' => true,
314 ],
315 'filter' => [
316 'location' => 'query',
317 'type' => 'string',
318 ],
319 'orderBy' => [
320 'location' => 'query',
321 'type' => 'string',
322 ],
323 'pageSize' => [
324 'location' => 'query',
325 'type' => 'integer',
326 ],
327 'pageToken' => [
328 'location' => 'query',
329 'type' => 'string',
330 ],
331 ],
332 ],'replaceArtifact' => [
333 'path' => 'v1/{+name}',
334 'httpMethod' => 'PUT',
335 'parameters' => [
336 'name' => [
337 'location' => 'path',
338 'type' => 'string',
339 'required' => true,
340 ],
341 ],
342 ],'setIamPolicy' => [
343 'path' => 'v1/{+resource}:setIamPolicy',
344 'httpMethod' => 'POST',
345 'parameters' => [
346 'resource' => [
347 'location' => 'path',
348 'type' => 'string',
349 'required' => true,
350 ],
351 ],
352 ],'testIamPermissions' => [
353 'path' => 'v1/{+resource}:testIamPermissions',
354 'httpMethod' => 'POST',
355 'parameters' => [
356 'resource' => [
357 'location' => 'path',
358 'type' => 'string',
359 'required' => true,
360 ],
361 ],
362 ],
363 ]
364 ]
365 );
366 $this->projects_locations_apis_deployments = new ApigeeRegistry\Resource\ProjectsLocationsApisDeployments(
367 $this,
368 $this->serviceName,
369 'deployments',
370 [
371 'methods' => [
372 'create' => [
373 'path' => 'v1/{+parent}/deployments',
374 'httpMethod' => 'POST',
375 'parameters' => [
376 'parent' => [
377 'location' => 'path',
378 'type' => 'string',
379 'required' => true,
380 ],
381 'apiDeploymentId' => [
382 'location' => 'query',
383 'type' => 'string',
384 ],
385 ],
386 ],'delete' => [
387 'path' => 'v1/{+name}',
388 'httpMethod' => 'DELETE',
389 'parameters' => [
390 'name' => [
391 'location' => 'path',
392 'type' => 'string',
393 'required' => true,
394 ],
395 'force' => [
396 'location' => 'query',
397 'type' => 'boolean',
398 ],
399 ],
400 ],'deleteRevision' => [
401 'path' => 'v1/{+name}:deleteRevision',
402 'httpMethod' => 'DELETE',
403 'parameters' => [
404 'name' => [
405 'location' => 'path',
406 'type' => 'string',
407 'required' => true,
408 ],
409 ],
410 ],'get' => [
411 'path' => 'v1/{+name}',
412 'httpMethod' => 'GET',
413 'parameters' => [
414 'name' => [
415 'location' => 'path',
416 'type' => 'string',
417 'required' => true,
418 ],
419 ],
420 ],'getIamPolicy' => [
421 'path' => 'v1/{+resource}:getIamPolicy',
422 'httpMethod' => 'GET',
423 'parameters' => [
424 'resource' => [
425 'location' => 'path',
426 'type' => 'string',
427 'required' => true,
428 ],
429 'options.requestedPolicyVersion' => [
430 'location' => 'query',
431 'type' => 'integer',
432 ],
433 ],
434 ],'list' => [
435 'path' => 'v1/{+parent}/deployments',
436 'httpMethod' => 'GET',
437 'parameters' => [
438 'parent' => [
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ],
443 'filter' => [
444 'location' => 'query',
445 'type' => 'string',
446 ],
447 'orderBy' => [
448 'location' => 'query',
449 'type' => 'string',
450 ],
451 'pageSize' => [
452 'location' => 'query',
453 'type' => 'integer',
454 ],
455 'pageToken' => [
456 'location' => 'query',
457 'type' => 'string',
458 ],
459 ],
460 ],'listRevisions' => [
461 'path' => 'v1/{+name}:listRevisions',
462 'httpMethod' => 'GET',
463 'parameters' => [
464 'name' => [
465 'location' => 'path',
466 'type' => 'string',
467 'required' => true,
468 ],
469 'filter' => [
470 'location' => 'query',
471 'type' => 'string',
472 ],
473 'pageSize' => [
474 'location' => 'query',
475 'type' => 'integer',
476 ],
477 'pageToken' => [
478 'location' => 'query',
479 'type' => 'string',
480 ],
481 ],
482 ],'patch' => [
483 'path' => 'v1/{+name}',
484 'httpMethod' => 'PATCH',
485 'parameters' => [
486 'name' => [
487 'location' => 'path',
488 'type' => 'string',
489 'required' => true,
490 ],
491 'allowMissing' => [
492 'location' => 'query',
493 'type' => 'boolean',
494 ],
495 'updateMask' => [
496 'location' => 'query',
497 'type' => 'string',
498 ],
499 ],
500 ],'rollback' => [
501 'path' => 'v1/{+name}:rollback',
502 'httpMethod' => 'POST',
503 'parameters' => [
504 'name' => [
505 'location' => 'path',
506 'type' => 'string',
507 'required' => true,
508 ],
509 ],
510 ],'setIamPolicy' => [
511 'path' => 'v1/{+resource}:setIamPolicy',
512 'httpMethod' => 'POST',
513 'parameters' => [
514 'resource' => [
515 'location' => 'path',
516 'type' => 'string',
517 'required' => true,
518 ],
519 ],
520 ],'tagRevision' => [
521 'path' => 'v1/{+name}:tagRevision',
522 'httpMethod' => 'POST',
523 'parameters' => [
524 'name' => [
525 'location' => 'path',
526 'type' => 'string',
527 'required' => true,
528 ],
529 ],
530 ],'testIamPermissions' => [
531 'path' => 'v1/{+resource}:testIamPermissions',
532 'httpMethod' => 'POST',
533 'parameters' => [
534 'resource' => [
535 'location' => 'path',
536 'type' => 'string',
537 'required' => true,
538 ],
539 ],
540 ],
541 ]
542 ]
543 );
544 $this->projects_locations_apis_deployments_artifacts = new ApigeeRegistry\Resource\ProjectsLocationsApisDeploymentsArtifacts(
545 $this,
546 $this->serviceName,
547 'artifacts',
548 [
549 'methods' => [
550 'create' => [
551 'path' => 'v1/{+parent}/artifacts',
552 'httpMethod' => 'POST',
553 'parameters' => [
554 'parent' => [
555 'location' => 'path',
556 'type' => 'string',
557 'required' => true,
558 ],
559 'artifactId' => [
560 'location' => 'query',
561 'type' => 'string',
562 ],
563 ],
564 ],'delete' => [
565 'path' => 'v1/{+name}',
566 'httpMethod' => 'DELETE',
567 'parameters' => [
568 'name' => [
569 'location' => 'path',
570 'type' => 'string',
571 'required' => true,
572 ],
573 ],
574 ],'get' => [
575 'path' => 'v1/{+name}',
576 'httpMethod' => 'GET',
577 'parameters' => [
578 'name' => [
579 'location' => 'path',
580 'type' => 'string',
581 'required' => true,
582 ],
583 ],
584 ],'getContents' => [
585 'path' => 'v1/{+name}:getContents',
586 'httpMethod' => 'GET',
587 'parameters' => [
588 'name' => [
589 'location' => 'path',
590 'type' => 'string',
591 'required' => true,
592 ],
593 ],
594 ],'list' => [
595 'path' => 'v1/{+parent}/artifacts',
596 'httpMethod' => 'GET',
597 'parameters' => [
598 'parent' => [
599 'location' => 'path',
600 'type' => 'string',
601 'required' => true,
602 ],
603 'filter' => [
604 'location' => 'query',
605 'type' => 'string',
606 ],
607 'orderBy' => [
608 'location' => 'query',
609 'type' => 'string',
610 ],
611 'pageSize' => [
612 'location' => 'query',
613 'type' => 'integer',
614 ],
615 'pageToken' => [
616 'location' => 'query',
617 'type' => 'string',
618 ],
619 ],
620 ],'replaceArtifact' => [
621 'path' => 'v1/{+name}',
622 'httpMethod' => 'PUT',
623 'parameters' => [
624 'name' => [
625 'location' => 'path',
626 'type' => 'string',
627 'required' => true,
628 ],
629 ],
630 ],
631 ]
632 ]
633 );
634 $this->projects_locations_apis_versions = new ApigeeRegistry\Resource\ProjectsLocationsApisVersions(
635 $this,
636 $this->serviceName,
637 'versions',
638 [
639 'methods' => [
640 'create' => [
641 'path' => 'v1/{+parent}/versions',
642 'httpMethod' => 'POST',
643 'parameters' => [
644 'parent' => [
645 'location' => 'path',
646 'type' => 'string',
647 'required' => true,
648 ],
649 'apiVersionId' => [
650 'location' => 'query',
651 'type' => 'string',
652 ],
653 ],
654 ],'delete' => [
655 'path' => 'v1/{+name}',
656 'httpMethod' => 'DELETE',
657 'parameters' => [
658 'name' => [
659 'location' => 'path',
660 'type' => 'string',
661 'required' => true,
662 ],
663 'force' => [
664 'location' => 'query',
665 'type' => 'boolean',
666 ],
667 ],
668 ],'get' => [
669 'path' => 'v1/{+name}',
670 'httpMethod' => 'GET',
671 'parameters' => [
672 'name' => [
673 'location' => 'path',
674 'type' => 'string',
675 'required' => true,
676 ],
677 ],
678 ],'getIamPolicy' => [
679 'path' => 'v1/{+resource}:getIamPolicy',
680 'httpMethod' => 'GET',
681 'parameters' => [
682 'resource' => [
683 'location' => 'path',
684 'type' => 'string',
685 'required' => true,
686 ],
687 'options.requestedPolicyVersion' => [
688 'location' => 'query',
689 'type' => 'integer',
690 ],
691 ],
692 ],'list' => [
693 'path' => 'v1/{+parent}/versions',
694 'httpMethod' => 'GET',
695 'parameters' => [
696 'parent' => [
697 'location' => 'path',
698 'type' => 'string',
699 'required' => true,
700 ],
701 'filter' => [
702 'location' => 'query',
703 'type' => 'string',
704 ],
705 'orderBy' => [
706 'location' => 'query',
707 'type' => 'string',
708 ],
709 'pageSize' => [
710 'location' => 'query',
711 'type' => 'integer',
712 ],
713 'pageToken' => [
714 'location' => 'query',
715 'type' => 'string',
716 ],
717 ],
718 ],'patch' => [
719 'path' => 'v1/{+name}',
720 'httpMethod' => 'PATCH',
721 'parameters' => [
722 'name' => [
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ],
727 'allowMissing' => [
728 'location' => 'query',
729 'type' => 'boolean',
730 ],
731 'updateMask' => [
732 'location' => 'query',
733 'type' => 'string',
734 ],
735 ],
736 ],'setIamPolicy' => [
737 'path' => 'v1/{+resource}:setIamPolicy',
738 'httpMethod' => 'POST',
739 'parameters' => [
740 'resource' => [
741 'location' => 'path',
742 'type' => 'string',
743 'required' => true,
744 ],
745 ],
746 ],'testIamPermissions' => [
747 'path' => 'v1/{+resource}:testIamPermissions',
748 'httpMethod' => 'POST',
749 'parameters' => [
750 'resource' => [
751 'location' => 'path',
752 'type' => 'string',
753 'required' => true,
754 ],
755 ],
756 ],
757 ]
758 ]
759 );
760 $this->projects_locations_apis_versions_artifacts = new ApigeeRegistry\Resource\ProjectsLocationsApisVersionsArtifacts(
761 $this,
762 $this->serviceName,
763 'artifacts',
764 [
765 'methods' => [
766 'create' => [
767 'path' => 'v1/{+parent}/artifacts',
768 'httpMethod' => 'POST',
769 'parameters' => [
770 'parent' => [
771 'location' => 'path',
772 'type' => 'string',
773 'required' => true,
774 ],
775 'artifactId' => [
776 'location' => 'query',
777 'type' => 'string',
778 ],
779 ],
780 ],'delete' => [
781 'path' => 'v1/{+name}',
782 'httpMethod' => 'DELETE',
783 'parameters' => [
784 'name' => [
785 'location' => 'path',
786 'type' => 'string',
787 'required' => true,
788 ],
789 ],
790 ],'get' => [
791 'path' => 'v1/{+name}',
792 'httpMethod' => 'GET',
793 'parameters' => [
794 'name' => [
795 'location' => 'path',
796 'type' => 'string',
797 'required' => true,
798 ],
799 ],
800 ],'getContents' => [
801 'path' => 'v1/{+name}:getContents',
802 'httpMethod' => 'GET',
803 'parameters' => [
804 'name' => [
805 'location' => 'path',
806 'type' => 'string',
807 'required' => true,
808 ],
809 ],
810 ],'getIamPolicy' => [
811 'path' => 'v1/{+resource}:getIamPolicy',
812 'httpMethod' => 'GET',
813 'parameters' => [
814 'resource' => [
815 'location' => 'path',
816 'type' => 'string',
817 'required' => true,
818 ],
819 'options.requestedPolicyVersion' => [
820 'location' => 'query',
821 'type' => 'integer',
822 ],
823 ],
824 ],'list' => [
825 'path' => 'v1/{+parent}/artifacts',
826 'httpMethod' => 'GET',
827 'parameters' => [
828 'parent' => [
829 'location' => 'path',
830 'type' => 'string',
831 'required' => true,
832 ],
833 'filter' => [
834 'location' => 'query',
835 'type' => 'string',
836 ],
837 'orderBy' => [
838 'location' => 'query',
839 'type' => 'string',
840 ],
841 'pageSize' => [
842 'location' => 'query',
843 'type' => 'integer',
844 ],
845 'pageToken' => [
846 'location' => 'query',
847 'type' => 'string',
848 ],
849 ],
850 ],'replaceArtifact' => [
851 'path' => 'v1/{+name}',
852 'httpMethod' => 'PUT',
853 'parameters' => [
854 'name' => [
855 'location' => 'path',
856 'type' => 'string',
857 'required' => true,
858 ],
859 ],
860 ],'setIamPolicy' => [
861 'path' => 'v1/{+resource}:setIamPolicy',
862 'httpMethod' => 'POST',
863 'parameters' => [
864 'resource' => [
865 'location' => 'path',
866 'type' => 'string',
867 'required' => true,
868 ],
869 ],
870 ],'testIamPermissions' => [
871 'path' => 'v1/{+resource}:testIamPermissions',
872 'httpMethod' => 'POST',
873 'parameters' => [
874 'resource' => [
875 'location' => 'path',
876 'type' => 'string',
877 'required' => true,
878 ],
879 ],
880 ],
881 ]
882 ]
883 );
884 $this->projects_locations_apis_versions_specs = new ApigeeRegistry\Resource\ProjectsLocationsApisVersionsSpecs(
885 $this,
886 $this->serviceName,
887 'specs',
888 [
889 'methods' => [
890 'create' => [
891 'path' => 'v1/{+parent}/specs',
892 'httpMethod' => 'POST',
893 'parameters' => [
894 'parent' => [
895 'location' => 'path',
896 'type' => 'string',
897 'required' => true,
898 ],
899 'apiSpecId' => [
900 'location' => 'query',
901 'type' => 'string',
902 ],
903 ],
904 ],'delete' => [
905 'path' => 'v1/{+name}',
906 'httpMethod' => 'DELETE',
907 'parameters' => [
908 'name' => [
909 'location' => 'path',
910 'type' => 'string',
911 'required' => true,
912 ],
913 'force' => [
914 'location' => 'query',
915 'type' => 'boolean',
916 ],
917 ],
918 ],'deleteRevision' => [
919 'path' => 'v1/{+name}:deleteRevision',
920 'httpMethod' => 'DELETE',
921 'parameters' => [
922 'name' => [
923 'location' => 'path',
924 'type' => 'string',
925 'required' => true,
926 ],
927 ],
928 ],'get' => [
929 'path' => 'v1/{+name}',
930 'httpMethod' => 'GET',
931 'parameters' => [
932 'name' => [
933 'location' => 'path',
934 'type' => 'string',
935 'required' => true,
936 ],
937 ],
938 ],'getContents' => [
939 'path' => 'v1/{+name}:getContents',
940 'httpMethod' => 'GET',
941 'parameters' => [
942 'name' => [
943 'location' => 'path',
944 'type' => 'string',
945 'required' => true,
946 ],
947 ],
948 ],'getIamPolicy' => [
949 'path' => 'v1/{+resource}:getIamPolicy',
950 'httpMethod' => 'GET',
951 'parameters' => [
952 'resource' => [
953 'location' => 'path',
954 'type' => 'string',
955 'required' => true,
956 ],
957 'options.requestedPolicyVersion' => [
958 'location' => 'query',
959 'type' => 'integer',
960 ],
961 ],
962 ],'list' => [
963 'path' => 'v1/{+parent}/specs',
964 'httpMethod' => 'GET',
965 'parameters' => [
966 'parent' => [
967 'location' => 'path',
968 'type' => 'string',
969 'required' => true,
970 ],
971 'filter' => [
972 'location' => 'query',
973 'type' => 'string',
974 ],
975 'orderBy' => [
976 'location' => 'query',
977 'type' => 'string',
978 ],
979 'pageSize' => [
980 'location' => 'query',
981 'type' => 'integer',
982 ],
983 'pageToken' => [
984 'location' => 'query',
985 'type' => 'string',
986 ],
987 ],
988 ],'listRevisions' => [
989 'path' => 'v1/{+name}:listRevisions',
990 'httpMethod' => 'GET',
991 'parameters' => [
992 'name' => [
993 'location' => 'path',
994 'type' => 'string',
995 'required' => true,
996 ],
997 'filter' => [
998 'location' => 'query',
999 'type' => 'string',
1000 ],
1001 'pageSize' => [
1002 'location' => 'query',
1003 'type' => 'integer',
1004 ],
1005 'pageToken' => [
1006 'location' => 'query',
1007 'type' => 'string',
1008 ],
1009 ],
1010 ],'patch' => [
1011 'path' => 'v1/{+name}',
1012 'httpMethod' => 'PATCH',
1013 'parameters' => [
1014 'name' => [
1015 'location' => 'path',
1016 'type' => 'string',
1017 'required' => true,
1018 ],
1019 'allowMissing' => [
1020 'location' => 'query',
1021 'type' => 'boolean',
1022 ],
1023 'updateMask' => [
1024 'location' => 'query',
1025 'type' => 'string',
1026 ],
1027 ],
1028 ],'rollback' => [
1029 'path' => 'v1/{+name}:rollback',
1030 'httpMethod' => 'POST',
1031 'parameters' => [
1032 'name' => [
1033 'location' => 'path',
1034 'type' => 'string',
1035 'required' => true,
1036 ],
1037 ],
1038 ],'setIamPolicy' => [
1039 'path' => 'v1/{+resource}:setIamPolicy',
1040 'httpMethod' => 'POST',
1041 'parameters' => [
1042 'resource' => [
1043 'location' => 'path',
1044 'type' => 'string',
1045 'required' => true,
1046 ],
1047 ],
1048 ],'tagRevision' => [
1049 'path' => 'v1/{+name}:tagRevision',
1050 'httpMethod' => 'POST',
1051 'parameters' => [
1052 'name' => [
1053 'location' => 'path',
1054 'type' => 'string',
1055 'required' => true,
1056 ],
1057 ],
1058 ],'testIamPermissions' => [
1059 'path' => 'v1/{+resource}:testIamPermissions',
1060 'httpMethod' => 'POST',
1061 'parameters' => [
1062 'resource' => [
1063 'location' => 'path',
1064 'type' => 'string',
1065 'required' => true,
1066 ],
1067 ],
1068 ],
1069 ]
1070 ]
1071 );
1072 $this->projects_locations_apis_versions_specs_artifacts = new ApigeeRegistry\Resource\ProjectsLocationsApisVersionsSpecsArtifacts(
1073 $this,
1074 $this->serviceName,
1075 'artifacts',
1076 [
1077 'methods' => [
1078 'create' => [
1079 'path' => 'v1/{+parent}/artifacts',
1080 'httpMethod' => 'POST',
1081 'parameters' => [
1082 'parent' => [
1083 'location' => 'path',
1084 'type' => 'string',
1085 'required' => true,
1086 ],
1087 'artifactId' => [
1088 'location' => 'query',
1089 'type' => 'string',
1090 ],
1091 ],
1092 ],'delete' => [
1093 'path' => 'v1/{+name}',
1094 'httpMethod' => 'DELETE',
1095 'parameters' => [
1096 'name' => [
1097 'location' => 'path',
1098 'type' => 'string',
1099 'required' => true,
1100 ],
1101 ],
1102 ],'get' => [
1103 'path' => 'v1/{+name}',
1104 'httpMethod' => 'GET',
1105 'parameters' => [
1106 'name' => [
1107 'location' => 'path',
1108 'type' => 'string',
1109 'required' => true,
1110 ],
1111 ],
1112 ],'getContents' => [
1113 'path' => 'v1/{+name}:getContents',
1114 'httpMethod' => 'GET',
1115 'parameters' => [
1116 'name' => [
1117 'location' => 'path',
1118 'type' => 'string',
1119 'required' => true,
1120 ],
1121 ],
1122 ],'getIamPolicy' => [
1123 'path' => 'v1/{+resource}:getIamPolicy',
1124 'httpMethod' => 'GET',
1125 'parameters' => [
1126 'resource' => [
1127 'location' => 'path',
1128 'type' => 'string',
1129 'required' => true,
1130 ],
1131 'options.requestedPolicyVersion' => [
1132 'location' => 'query',
1133 'type' => 'integer',
1134 ],
1135 ],
1136 ],'list' => [
1137 'path' => 'v1/{+parent}/artifacts',
1138 'httpMethod' => 'GET',
1139 'parameters' => [
1140 'parent' => [
1141 'location' => 'path',
1142 'type' => 'string',
1143 'required' => true,
1144 ],
1145 'filter' => [
1146 'location' => 'query',
1147 'type' => 'string',
1148 ],
1149 'orderBy' => [
1150 'location' => 'query',
1151 'type' => 'string',
1152 ],
1153 'pageSize' => [
1154 'location' => 'query',
1155 'type' => 'integer',
1156 ],
1157 'pageToken' => [
1158 'location' => 'query',
1159 'type' => 'string',
1160 ],
1161 ],
1162 ],'replaceArtifact' => [
1163 'path' => 'v1/{+name}',
1164 'httpMethod' => 'PUT',
1165 'parameters' => [
1166 'name' => [
1167 'location' => 'path',
1168 'type' => 'string',
1169 'required' => true,
1170 ],
1171 ],
1172 ],'setIamPolicy' => [
1173 'path' => 'v1/{+resource}:setIamPolicy',
1174 'httpMethod' => 'POST',
1175 'parameters' => [
1176 'resource' => [
1177 'location' => 'path',
1178 'type' => 'string',
1179 'required' => true,
1180 ],
1181 ],
1182 ],'testIamPermissions' => [
1183 'path' => 'v1/{+resource}:testIamPermissions',
1184 'httpMethod' => 'POST',
1185 'parameters' => [
1186 'resource' => [
1187 'location' => 'path',
1188 'type' => 'string',
1189 'required' => true,
1190 ],
1191 ],
1192 ],
1193 ]
1194 ]
1195 );
1196 $this->projects_locations_artifacts = new ApigeeRegistry\Resource\ProjectsLocationsArtifacts(
1197 $this,
1198 $this->serviceName,
1199 'artifacts',
1200 [
1201 'methods' => [
1202 'create' => [
1203 'path' => 'v1/{+parent}/artifacts',
1204 'httpMethod' => 'POST',
1205 'parameters' => [
1206 'parent' => [
1207 'location' => 'path',
1208 'type' => 'string',
1209 'required' => true,
1210 ],
1211 'artifactId' => [
1212 'location' => 'query',
1213 'type' => 'string',
1214 ],
1215 ],
1216 ],'delete' => [
1217 'path' => 'v1/{+name}',
1218 'httpMethod' => 'DELETE',
1219 'parameters' => [
1220 'name' => [
1221 'location' => 'path',
1222 'type' => 'string',
1223 'required' => true,
1224 ],
1225 ],
1226 ],'get' => [
1227 'path' => 'v1/{+name}',
1228 'httpMethod' => 'GET',
1229 'parameters' => [
1230 'name' => [
1231 'location' => 'path',
1232 'type' => 'string',
1233 'required' => true,
1234 ],
1235 ],
1236 ],'getContents' => [
1237 'path' => 'v1/{+name}:getContents',
1238 'httpMethod' => 'GET',
1239 'parameters' => [
1240 'name' => [
1241 'location' => 'path',
1242 'type' => 'string',
1243 'required' => true,
1244 ],
1245 ],
1246 ],'getIamPolicy' => [
1247 'path' => 'v1/{+resource}:getIamPolicy',
1248 'httpMethod' => 'GET',
1249 'parameters' => [
1250 'resource' => [
1251 'location' => 'path',
1252 'type' => 'string',
1253 'required' => true,
1254 ],
1255 'options.requestedPolicyVersion' => [
1256 'location' => 'query',
1257 'type' => 'integer',
1258 ],
1259 ],
1260 ],'list' => [
1261 'path' => 'v1/{+parent}/artifacts',
1262 'httpMethod' => 'GET',
1263 'parameters' => [
1264 'parent' => [
1265 'location' => 'path',
1266 'type' => 'string',
1267 'required' => true,
1268 ],
1269 'filter' => [
1270 'location' => 'query',
1271 'type' => 'string',
1272 ],
1273 'orderBy' => [
1274 'location' => 'query',
1275 'type' => 'string',
1276 ],
1277 'pageSize' => [
1278 'location' => 'query',
1279 'type' => 'integer',
1280 ],
1281 'pageToken' => [
1282 'location' => 'query',
1283 'type' => 'string',
1284 ],
1285 ],
1286 ],'replaceArtifact' => [
1287 'path' => 'v1/{+name}',
1288 'httpMethod' => 'PUT',
1289 'parameters' => [
1290 'name' => [
1291 'location' => 'path',
1292 'type' => 'string',
1293 'required' => true,
1294 ],
1295 ],
1296 ],'setIamPolicy' => [
1297 'path' => 'v1/{+resource}:setIamPolicy',
1298 'httpMethod' => 'POST',
1299 'parameters' => [
1300 'resource' => [
1301 'location' => 'path',
1302 'type' => 'string',
1303 'required' => true,
1304 ],
1305 ],
1306 ],'testIamPermissions' => [
1307 'path' => 'v1/{+resource}:testIamPermissions',
1308 'httpMethod' => 'POST',
1309 'parameters' => [
1310 'resource' => [
1311 'location' => 'path',
1312 'type' => 'string',
1313 'required' => true,
1314 ],
1315 ],
1316 ],
1317 ]
1318 ]
1319 );
1320 $this->projects_locations_documents = new ApigeeRegistry\Resource\ProjectsLocationsDocuments(
1321 $this,
1322 $this->serviceName,
1323 'documents',
1324 [
1325 'methods' => [
1326 'getIamPolicy' => [
1327 'path' => 'v1/{+resource}:getIamPolicy',
1328 'httpMethod' => 'GET',
1329 'parameters' => [
1330 'resource' => [
1331 'location' => 'path',
1332 'type' => 'string',
1333 'required' => true,
1334 ],
1335 'options.requestedPolicyVersion' => [
1336 'location' => 'query',
1337 'type' => 'integer',
1338 ],
1339 ],
1340 ],'setIamPolicy' => [
1341 'path' => 'v1/{+resource}:setIamPolicy',
1342 'httpMethod' => 'POST',
1343 'parameters' => [
1344 'resource' => [
1345 'location' => 'path',
1346 'type' => 'string',
1347 'required' => true,
1348 ],
1349 ],
1350 ],'testIamPermissions' => [
1351 'path' => 'v1/{+resource}:testIamPermissions',
1352 'httpMethod' => 'POST',
1353 'parameters' => [
1354 'resource' => [
1355 'location' => 'path',
1356 'type' => 'string',
1357 'required' => true,
1358 ],
1359 ],
1360 ],
1361 ]
1362 ]
1363 );
1364 $this->projects_locations_instances = new ApigeeRegistry\Resource\ProjectsLocationsInstances(
1365 $this,
1366 $this->serviceName,
1367 'instances',
1368 [
1369 'methods' => [
1370 'create' => [
1371 'path' => 'v1/{+parent}/instances',
1372 'httpMethod' => 'POST',
1373 'parameters' => [
1374 'parent' => [
1375 'location' => 'path',
1376 'type' => 'string',
1377 'required' => true,
1378 ],
1379 'instanceId' => [
1380 'location' => 'query',
1381 'type' => 'string',
1382 ],
1383 ],
1384 ],'delete' => [
1385 'path' => 'v1/{+name}',
1386 'httpMethod' => 'DELETE',
1387 'parameters' => [
1388 'name' => [
1389 'location' => 'path',
1390 'type' => 'string',
1391 'required' => true,
1392 ],
1393 ],
1394 ],'get' => [
1395 'path' => 'v1/{+name}',
1396 'httpMethod' => 'GET',
1397 'parameters' => [
1398 'name' => [
1399 'location' => 'path',
1400 'type' => 'string',
1401 'required' => true,
1402 ],
1403 ],
1404 ],'getIamPolicy' => [
1405 'path' => 'v1/{+resource}:getIamPolicy',
1406 'httpMethod' => 'GET',
1407 'parameters' => [
1408 'resource' => [
1409 'location' => 'path',
1410 'type' => 'string',
1411 'required' => true,
1412 ],
1413 'options.requestedPolicyVersion' => [
1414 'location' => 'query',
1415 'type' => 'integer',
1416 ],
1417 ],
1418 ],'setIamPolicy' => [
1419 'path' => 'v1/{+resource}:setIamPolicy',
1420 'httpMethod' => 'POST',
1421 'parameters' => [
1422 'resource' => [
1423 'location' => 'path',
1424 'type' => 'string',
1425 'required' => true,
1426 ],
1427 ],
1428 ],'testIamPermissions' => [
1429 'path' => 'v1/{+resource}:testIamPermissions',
1430 'httpMethod' => 'POST',
1431 'parameters' => [
1432 'resource' => [
1433 'location' => 'path',
1434 'type' => 'string',
1435 'required' => true,
1436 ],
1437 ],
1438 ],
1439 ]
1440 ]
1441 );
1442 $this->projects_locations_operations = new ApigeeRegistry\Resource\ProjectsLocationsOperations(
1443 $this,
1444 $this->serviceName,
1445 'operations',
1446 [
1447 'methods' => [
1448 'cancel' => [
1449 'path' => 'v1/{+name}:cancel',
1450 'httpMethod' => 'POST',
1451 'parameters' => [
1452 'name' => [
1453 'location' => 'path',
1454 'type' => 'string',
1455 'required' => true,
1456 ],
1457 ],
1458 ],'delete' => [
1459 'path' => 'v1/{+name}',
1460 'httpMethod' => 'DELETE',
1461 'parameters' => [
1462 'name' => [
1463 'location' => 'path',
1464 'type' => 'string',
1465 'required' => true,
1466 ],
1467 ],
1468 ],'get' => [
1469 'path' => 'v1/{+name}',
1470 'httpMethod' => 'GET',
1471 'parameters' => [
1472 'name' => [
1473 'location' => 'path',
1474 'type' => 'string',
1475 'required' => true,
1476 ],
1477 ],
1478 ],'list' => [
1479 'path' => 'v1/{+name}/operations',
1480 'httpMethod' => 'GET',
1481 'parameters' => [
1482 'name' => [
1483 'location' => 'path',
1484 'type' => 'string',
1485 'required' => true,
1486 ],
1487 'filter' => [
1488 'location' => 'query',
1489 'type' => 'string',
1490 ],
1491 'pageSize' => [
1492 'location' => 'query',
1493 'type' => 'integer',
1494 ],
1495 'pageToken' => [
1496 'location' => 'query',
1497 'type' => 'string',
1498 ],
1499 ],
1500 ],
1501 ]
1502 ]
1503 );
1504 $this->projects_locations_runtime = new ApigeeRegistry\Resource\ProjectsLocationsRuntime(
1505 $this,
1506 $this->serviceName,
1507 'runtime',
1508 [
1509 'methods' => [
1510 'getIamPolicy' => [
1511 'path' => 'v1/{+resource}:getIamPolicy',
1512 'httpMethod' => 'GET',
1513 'parameters' => [
1514 'resource' => [
1515 'location' => 'path',
1516 'type' => 'string',
1517 'required' => true,
1518 ],
1519 'options.requestedPolicyVersion' => [
1520 'location' => 'query',
1521 'type' => 'integer',
1522 ],
1523 ],
1524 ],'setIamPolicy' => [
1525 'path' => 'v1/{+resource}:setIamPolicy',
1526 'httpMethod' => 'POST',
1527 'parameters' => [
1528 'resource' => [
1529 'location' => 'path',
1530 'type' => 'string',
1531 'required' => true,
1532 ],
1533 ],
1534 ],'testIamPermissions' => [
1535 'path' => 'v1/{+resource}:testIamPermissions',
1536 'httpMethod' => 'POST',
1537 'parameters' => [
1538 'resource' => [
1539 'location' => 'path',
1540 'type' => 'string',
1541 'required' => true,
1542 ],
1543 ],
1544 ],
1545 ]
1546 ]
1547 );
1548 }
1549}
1550
1551// Adding a class alias for backwards compatibility with the previous class name.
1552class_alias(ApigeeRegistry::class, 'Google_Service_ApigeeRegistry');
Note: See TracBrowser for help on using the repository browser.