source: vendor/google/apiclient-services/src/CertificateManager.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: 21.4 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 CertificateManager (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/certificate-manager" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class CertificateManager 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_certificateIssuanceConfigs;
43 public $projects_locations_certificateMaps;
44 public $projects_locations_certificateMaps_certificateMapEntries;
45 public $projects_locations_certificates;
46 public $projects_locations_dnsAuthorizations;
47 public $projects_locations_operations;
48 public $projects_locations_trustConfigs;
49 public $rootUrlTemplate;
50
51 /**
52 * Constructs the internal representation of the CertificateManager service.
53 *
54 * @param Client|array $clientOrConfig The client used to deliver requests, or a
55 * config array to pass to a new Client instance.
56 * @param string $rootUrl The root URL used for requests to the service.
57 */
58 public function __construct($clientOrConfig = [], $rootUrl = null)
59 {
60 parent::__construct($clientOrConfig);
61 $this->rootUrl = $rootUrl ?: 'https://certificatemanager.googleapis.com/';
62 $this->rootUrlTemplate = $rootUrl ?: 'https://certificatemanager.UNIVERSE_DOMAIN/';
63 $this->servicePath = '';
64 $this->batchPath = 'batch';
65 $this->version = 'v1';
66 $this->serviceName = 'certificatemanager';
67
68 $this->projects_locations = new CertificateManager\Resource\ProjectsLocations(
69 $this,
70 $this->serviceName,
71 'locations',
72 [
73 'methods' => [
74 'get' => [
75 'path' => 'v1/{+name}',
76 'httpMethod' => 'GET',
77 'parameters' => [
78 'name' => [
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ],
83 ],
84 ],'list' => [
85 'path' => 'v1/{+name}/locations',
86 'httpMethod' => 'GET',
87 'parameters' => [
88 'name' => [
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ],
93 'filter' => [
94 'location' => 'query',
95 'type' => 'string',
96 ],
97 'pageSize' => [
98 'location' => 'query',
99 'type' => 'integer',
100 ],
101 'pageToken' => [
102 'location' => 'query',
103 'type' => 'string',
104 ],
105 ],
106 ],
107 ]
108 ]
109 );
110 $this->projects_locations_certificateIssuanceConfigs = new CertificateManager\Resource\ProjectsLocationsCertificateIssuanceConfigs(
111 $this,
112 $this->serviceName,
113 'certificateIssuanceConfigs',
114 [
115 'methods' => [
116 'create' => [
117 'path' => 'v1/{+parent}/certificateIssuanceConfigs',
118 'httpMethod' => 'POST',
119 'parameters' => [
120 'parent' => [
121 'location' => 'path',
122 'type' => 'string',
123 'required' => true,
124 ],
125 'certificateIssuanceConfigId' => [
126 'location' => 'query',
127 'type' => 'string',
128 ],
129 ],
130 ],'delete' => [
131 'path' => 'v1/{+name}',
132 'httpMethod' => 'DELETE',
133 'parameters' => [
134 'name' => [
135 'location' => 'path',
136 'type' => 'string',
137 'required' => true,
138 ],
139 ],
140 ],'get' => [
141 'path' => 'v1/{+name}',
142 'httpMethod' => 'GET',
143 'parameters' => [
144 'name' => [
145 'location' => 'path',
146 'type' => 'string',
147 'required' => true,
148 ],
149 ],
150 ],'list' => [
151 'path' => 'v1/{+parent}/certificateIssuanceConfigs',
152 'httpMethod' => 'GET',
153 'parameters' => [
154 'parent' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 'filter' => [
160 'location' => 'query',
161 'type' => 'string',
162 ],
163 'orderBy' => [
164 'location' => 'query',
165 'type' => 'string',
166 ],
167 'pageSize' => [
168 'location' => 'query',
169 'type' => 'integer',
170 ],
171 'pageToken' => [
172 'location' => 'query',
173 'type' => 'string',
174 ],
175 ],
176 ],'patch' => [
177 'path' => 'v1/{+name}',
178 'httpMethod' => 'PATCH',
179 'parameters' => [
180 'name' => [
181 'location' => 'path',
182 'type' => 'string',
183 'required' => true,
184 ],
185 'updateMask' => [
186 'location' => 'query',
187 'type' => 'string',
188 ],
189 ],
190 ],
191 ]
192 ]
193 );
194 $this->projects_locations_certificateMaps = new CertificateManager\Resource\ProjectsLocationsCertificateMaps(
195 $this,
196 $this->serviceName,
197 'certificateMaps',
198 [
199 'methods' => [
200 'create' => [
201 'path' => 'v1/{+parent}/certificateMaps',
202 'httpMethod' => 'POST',
203 'parameters' => [
204 'parent' => [
205 'location' => 'path',
206 'type' => 'string',
207 'required' => true,
208 ],
209 'certificateMapId' => [
210 'location' => 'query',
211 'type' => 'string',
212 ],
213 ],
214 ],'delete' => [
215 'path' => 'v1/{+name}',
216 'httpMethod' => 'DELETE',
217 'parameters' => [
218 'name' => [
219 'location' => 'path',
220 'type' => 'string',
221 'required' => true,
222 ],
223 ],
224 ],'get' => [
225 'path' => 'v1/{+name}',
226 'httpMethod' => 'GET',
227 'parameters' => [
228 'name' => [
229 'location' => 'path',
230 'type' => 'string',
231 'required' => true,
232 ],
233 ],
234 ],'list' => [
235 'path' => 'v1/{+parent}/certificateMaps',
236 'httpMethod' => 'GET',
237 'parameters' => [
238 'parent' => [
239 'location' => 'path',
240 'type' => 'string',
241 'required' => true,
242 ],
243 'filter' => [
244 'location' => 'query',
245 'type' => 'string',
246 ],
247 'orderBy' => [
248 'location' => 'query',
249 'type' => 'string',
250 ],
251 'pageSize' => [
252 'location' => 'query',
253 'type' => 'integer',
254 ],
255 'pageToken' => [
256 'location' => 'query',
257 'type' => 'string',
258 ],
259 ],
260 ],'patch' => [
261 'path' => 'v1/{+name}',
262 'httpMethod' => 'PATCH',
263 'parameters' => [
264 'name' => [
265 'location' => 'path',
266 'type' => 'string',
267 'required' => true,
268 ],
269 'updateMask' => [
270 'location' => 'query',
271 'type' => 'string',
272 ],
273 ],
274 ],
275 ]
276 ]
277 );
278 $this->projects_locations_certificateMaps_certificateMapEntries = new CertificateManager\Resource\ProjectsLocationsCertificateMapsCertificateMapEntries(
279 $this,
280 $this->serviceName,
281 'certificateMapEntries',
282 [
283 'methods' => [
284 'create' => [
285 'path' => 'v1/{+parent}/certificateMapEntries',
286 'httpMethod' => 'POST',
287 'parameters' => [
288 'parent' => [
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ],
293 'certificateMapEntryId' => [
294 'location' => 'query',
295 'type' => 'string',
296 ],
297 ],
298 ],'delete' => [
299 'path' => 'v1/{+name}',
300 'httpMethod' => 'DELETE',
301 'parameters' => [
302 'name' => [
303 'location' => 'path',
304 'type' => 'string',
305 'required' => true,
306 ],
307 ],
308 ],'get' => [
309 'path' => 'v1/{+name}',
310 'httpMethod' => 'GET',
311 'parameters' => [
312 'name' => [
313 'location' => 'path',
314 'type' => 'string',
315 'required' => true,
316 ],
317 ],
318 ],'list' => [
319 'path' => 'v1/{+parent}/certificateMapEntries',
320 'httpMethod' => 'GET',
321 'parameters' => [
322 'parent' => [
323 'location' => 'path',
324 'type' => 'string',
325 'required' => true,
326 ],
327 'filter' => [
328 'location' => 'query',
329 'type' => 'string',
330 ],
331 'orderBy' => [
332 'location' => 'query',
333 'type' => 'string',
334 ],
335 'pageSize' => [
336 'location' => 'query',
337 'type' => 'integer',
338 ],
339 'pageToken' => [
340 'location' => 'query',
341 'type' => 'string',
342 ],
343 ],
344 ],'patch' => [
345 'path' => 'v1/{+name}',
346 'httpMethod' => 'PATCH',
347 'parameters' => [
348 'name' => [
349 'location' => 'path',
350 'type' => 'string',
351 'required' => true,
352 ],
353 'updateMask' => [
354 'location' => 'query',
355 'type' => 'string',
356 ],
357 ],
358 ],
359 ]
360 ]
361 );
362 $this->projects_locations_certificates = new CertificateManager\Resource\ProjectsLocationsCertificates(
363 $this,
364 $this->serviceName,
365 'certificates',
366 [
367 'methods' => [
368 'create' => [
369 'path' => 'v1/{+parent}/certificates',
370 'httpMethod' => 'POST',
371 'parameters' => [
372 'parent' => [
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ],
377 'certificateId' => [
378 'location' => 'query',
379 'type' => 'string',
380 ],
381 ],
382 ],'delete' => [
383 'path' => 'v1/{+name}',
384 'httpMethod' => 'DELETE',
385 'parameters' => [
386 'name' => [
387 'location' => 'path',
388 'type' => 'string',
389 'required' => true,
390 ],
391 ],
392 ],'get' => [
393 'path' => 'v1/{+name}',
394 'httpMethod' => 'GET',
395 'parameters' => [
396 'name' => [
397 'location' => 'path',
398 'type' => 'string',
399 'required' => true,
400 ],
401 ],
402 ],'list' => [
403 'path' => 'v1/{+parent}/certificates',
404 'httpMethod' => 'GET',
405 'parameters' => [
406 'parent' => [
407 'location' => 'path',
408 'type' => 'string',
409 'required' => true,
410 ],
411 'filter' => [
412 'location' => 'query',
413 'type' => 'string',
414 ],
415 'orderBy' => [
416 'location' => 'query',
417 'type' => 'string',
418 ],
419 'pageSize' => [
420 'location' => 'query',
421 'type' => 'integer',
422 ],
423 'pageToken' => [
424 'location' => 'query',
425 'type' => 'string',
426 ],
427 ],
428 ],'patch' => [
429 'path' => 'v1/{+name}',
430 'httpMethod' => 'PATCH',
431 'parameters' => [
432 'name' => [
433 'location' => 'path',
434 'type' => 'string',
435 'required' => true,
436 ],
437 'updateMask' => [
438 'location' => 'query',
439 'type' => 'string',
440 ],
441 ],
442 ],
443 ]
444 ]
445 );
446 $this->projects_locations_dnsAuthorizations = new CertificateManager\Resource\ProjectsLocationsDnsAuthorizations(
447 $this,
448 $this->serviceName,
449 'dnsAuthorizations',
450 [
451 'methods' => [
452 'create' => [
453 'path' => 'v1/{+parent}/dnsAuthorizations',
454 'httpMethod' => 'POST',
455 'parameters' => [
456 'parent' => [
457 'location' => 'path',
458 'type' => 'string',
459 'required' => true,
460 ],
461 'dnsAuthorizationId' => [
462 'location' => 'query',
463 'type' => 'string',
464 ],
465 ],
466 ],'delete' => [
467 'path' => 'v1/{+name}',
468 'httpMethod' => 'DELETE',
469 'parameters' => [
470 'name' => [
471 'location' => 'path',
472 'type' => 'string',
473 'required' => true,
474 ],
475 ],
476 ],'get' => [
477 'path' => 'v1/{+name}',
478 'httpMethod' => 'GET',
479 'parameters' => [
480 'name' => [
481 'location' => 'path',
482 'type' => 'string',
483 'required' => true,
484 ],
485 ],
486 ],'list' => [
487 'path' => 'v1/{+parent}/dnsAuthorizations',
488 'httpMethod' => 'GET',
489 'parameters' => [
490 'parent' => [
491 'location' => 'path',
492 'type' => 'string',
493 'required' => true,
494 ],
495 'filter' => [
496 'location' => 'query',
497 'type' => 'string',
498 ],
499 'orderBy' => [
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 ],
512 ],'patch' => [
513 'path' => 'v1/{+name}',
514 'httpMethod' => 'PATCH',
515 'parameters' => [
516 'name' => [
517 'location' => 'path',
518 'type' => 'string',
519 'required' => true,
520 ],
521 'updateMask' => [
522 'location' => 'query',
523 'type' => 'string',
524 ],
525 ],
526 ],
527 ]
528 ]
529 );
530 $this->projects_locations_operations = new CertificateManager\Resource\ProjectsLocationsOperations(
531 $this,
532 $this->serviceName,
533 'operations',
534 [
535 'methods' => [
536 'cancel' => [
537 'path' => 'v1/{+name}:cancel',
538 'httpMethod' => 'POST',
539 'parameters' => [
540 'name' => [
541 'location' => 'path',
542 'type' => 'string',
543 'required' => true,
544 ],
545 ],
546 ],'delete' => [
547 'path' => 'v1/{+name}',
548 'httpMethod' => 'DELETE',
549 'parameters' => [
550 'name' => [
551 'location' => 'path',
552 'type' => 'string',
553 'required' => true,
554 ],
555 ],
556 ],'get' => [
557 'path' => 'v1/{+name}',
558 'httpMethod' => 'GET',
559 'parameters' => [
560 'name' => [
561 'location' => 'path',
562 'type' => 'string',
563 'required' => true,
564 ],
565 ],
566 ],'list' => [
567 'path' => 'v1/{+name}/operations',
568 'httpMethod' => 'GET',
569 'parameters' => [
570 'name' => [
571 'location' => 'path',
572 'type' => 'string',
573 'required' => true,
574 ],
575 'filter' => [
576 'location' => 'query',
577 'type' => 'string',
578 ],
579 'pageSize' => [
580 'location' => 'query',
581 'type' => 'integer',
582 ],
583 'pageToken' => [
584 'location' => 'query',
585 'type' => 'string',
586 ],
587 ],
588 ],
589 ]
590 ]
591 );
592 $this->projects_locations_trustConfigs = new CertificateManager\Resource\ProjectsLocationsTrustConfigs(
593 $this,
594 $this->serviceName,
595 'trustConfigs',
596 [
597 'methods' => [
598 'create' => [
599 'path' => 'v1/{+parent}/trustConfigs',
600 'httpMethod' => 'POST',
601 'parameters' => [
602 'parent' => [
603 'location' => 'path',
604 'type' => 'string',
605 'required' => true,
606 ],
607 'trustConfigId' => [
608 'location' => 'query',
609 'type' => 'string',
610 ],
611 ],
612 ],'delete' => [
613 'path' => 'v1/{+name}',
614 'httpMethod' => 'DELETE',
615 'parameters' => [
616 'name' => [
617 'location' => 'path',
618 'type' => 'string',
619 'required' => true,
620 ],
621 'etag' => [
622 'location' => 'query',
623 'type' => 'string',
624 ],
625 ],
626 ],'get' => [
627 'path' => 'v1/{+name}',
628 'httpMethod' => 'GET',
629 'parameters' => [
630 'name' => [
631 'location' => 'path',
632 'type' => 'string',
633 'required' => true,
634 ],
635 ],
636 ],'list' => [
637 'path' => 'v1/{+parent}/trustConfigs',
638 'httpMethod' => 'GET',
639 'parameters' => [
640 'parent' => [
641 'location' => 'path',
642 'type' => 'string',
643 'required' => true,
644 ],
645 'filter' => [
646 'location' => 'query',
647 'type' => 'string',
648 ],
649 'orderBy' => [
650 'location' => 'query',
651 'type' => 'string',
652 ],
653 'pageSize' => [
654 'location' => 'query',
655 'type' => 'integer',
656 ],
657 'pageToken' => [
658 'location' => 'query',
659 'type' => 'string',
660 ],
661 ],
662 ],'patch' => [
663 'path' => 'v1/{+name}',
664 'httpMethod' => 'PATCH',
665 'parameters' => [
666 'name' => [
667 'location' => 'path',
668 'type' => 'string',
669 'required' => true,
670 ],
671 'updateMask' => [
672 'location' => 'query',
673 'type' => 'string',
674 ],
675 ],
676 ],
677 ]
678 ]
679 );
680 }
681}
682
683// Adding a class alias for backwards compatibility with the previous class name.
684class_alias(CertificateManager::class, 'Google_Service_CertificateManager');
Note: See TracBrowser for help on using the repository browser.