source: vendor/google/apiclient-services/src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.php

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

Upload project files

  • Property mode set to 100644
File size: 23.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 ManagedServiceforMicrosoftActiveDirectoryConsumerAPI (v1).
24 *
25 * <p>
26 * The Managed Service for Microsoft Active Directory API is used for managing a
27 * highly available, hardened service running Microsoft Active Directory (AD).</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/managed-microsoft-ad/" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class ManagedServiceforMicrosoftActiveDirectoryConsumerAPI extends \Google\Service
37{
38 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
39 const CLOUD_PLATFORM =
40 "https://www.googleapis.com/auth/cloud-platform";
41
42 public $projects_locations;
43 public $projects_locations_global_domains;
44 public $projects_locations_global_domains_backups;
45 public $projects_locations_global_domains_sqlIntegrations;
46 public $projects_locations_global_operations;
47 public $projects_locations_global_peerings;
48 public $rootUrlTemplate;
49
50 /**
51 * Constructs the internal representation of the
52 * ManagedServiceforMicrosoftActiveDirectoryConsumerAPI 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://managedidentities.googleapis.com/';
62 $this->rootUrlTemplate = $rootUrl ?: 'https://managedidentities.UNIVERSE_DOMAIN/';
63 $this->servicePath = '';
64 $this->batchPath = 'batch';
65 $this->version = 'v1';
66 $this->serviceName = 'managedidentities';
67
68 $this->projects_locations = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\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_global_domains = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource\ProjectsLocationsManagedidentitiesGlobalDomains(
111 $this,
112 $this->serviceName,
113 'domains',
114 [
115 'methods' => [
116 'attachTrust' => [
117 'path' => 'v1/{+name}:attachTrust',
118 'httpMethod' => 'POST',
119 'parameters' => [
120 'name' => [
121 'location' => 'path',
122 'type' => 'string',
123 'required' => true,
124 ],
125 ],
126 ],'checkMigrationPermission' => [
127 'path' => 'v1/{+domain}:checkMigrationPermission',
128 'httpMethod' => 'POST',
129 'parameters' => [
130 'domain' => [
131 'location' => 'path',
132 'type' => 'string',
133 'required' => true,
134 ],
135 ],
136 ],'create' => [
137 'path' => 'v1/{+parent}/domains',
138 'httpMethod' => 'POST',
139 'parameters' => [
140 'parent' => [
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ],
145 'domainName' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 ],
150 ],'delete' => [
151 'path' => 'v1/{+name}',
152 'httpMethod' => 'DELETE',
153 'parameters' => [
154 'name' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 ],
160 ],'detachTrust' => [
161 'path' => 'v1/{+name}:detachTrust',
162 'httpMethod' => 'POST',
163 'parameters' => [
164 'name' => [
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ],
169 ],
170 ],'disableMigration' => [
171 'path' => 'v1/{+domain}:disableMigration',
172 'httpMethod' => 'POST',
173 'parameters' => [
174 'domain' => [
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ],
179 ],
180 ],'domainJoinMachine' => [
181 'path' => 'v1/{+domain}:domainJoinMachine',
182 'httpMethod' => 'POST',
183 'parameters' => [
184 'domain' => [
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ],
189 ],
190 ],'enableMigration' => [
191 'path' => 'v1/{+domain}:enableMigration',
192 'httpMethod' => 'POST',
193 'parameters' => [
194 'domain' => [
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ],
199 ],
200 ],'extendSchema' => [
201 'path' => 'v1/{+domain}:extendSchema',
202 'httpMethod' => 'POST',
203 'parameters' => [
204 'domain' => [
205 'location' => 'path',
206 'type' => 'string',
207 'required' => true,
208 ],
209 ],
210 ],'get' => [
211 'path' => 'v1/{+name}',
212 'httpMethod' => 'GET',
213 'parameters' => [
214 'name' => [
215 'location' => 'path',
216 'type' => 'string',
217 'required' => true,
218 ],
219 ],
220 ],'getIamPolicy' => [
221 'path' => 'v1/{+resource}:getIamPolicy',
222 'httpMethod' => 'GET',
223 'parameters' => [
224 'resource' => [
225 'location' => 'path',
226 'type' => 'string',
227 'required' => true,
228 ],
229 'options.requestedPolicyVersion' => [
230 'location' => 'query',
231 'type' => 'integer',
232 ],
233 ],
234 ],'getLdapssettings' => [
235 'path' => 'v1/{+name}/ldapssettings',
236 'httpMethod' => 'GET',
237 'parameters' => [
238 'name' => [
239 'location' => 'path',
240 'type' => 'string',
241 'required' => true,
242 ],
243 ],
244 ],'list' => [
245 'path' => 'v1/{+parent}/domains',
246 'httpMethod' => 'GET',
247 'parameters' => [
248 'parent' => [
249 'location' => 'path',
250 'type' => 'string',
251 'required' => true,
252 ],
253 'filter' => [
254 'location' => 'query',
255 'type' => 'string',
256 ],
257 'orderBy' => [
258 'location' => 'query',
259 'type' => 'string',
260 ],
261 'pageSize' => [
262 'location' => 'query',
263 'type' => 'integer',
264 ],
265 'pageToken' => [
266 'location' => 'query',
267 'type' => 'string',
268 ],
269 ],
270 ],'patch' => [
271 'path' => 'v1/{+name}',
272 'httpMethod' => 'PATCH',
273 'parameters' => [
274 'name' => [
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ],
279 'updateMask' => [
280 'location' => 'query',
281 'type' => 'string',
282 ],
283 ],
284 ],'reconfigureTrust' => [
285 'path' => 'v1/{+name}:reconfigureTrust',
286 'httpMethod' => 'POST',
287 'parameters' => [
288 'name' => [
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ],
293 ],
294 ],'resetAdminPassword' => [
295 'path' => 'v1/{+name}:resetAdminPassword',
296 'httpMethod' => 'POST',
297 'parameters' => [
298 'name' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 ],
304 ],'restore' => [
305 'path' => 'v1/{+name}:restore',
306 'httpMethod' => 'POST',
307 'parameters' => [
308 'name' => [
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ],
313 ],
314 ],'setIamPolicy' => [
315 'path' => 'v1/{+resource}:setIamPolicy',
316 'httpMethod' => 'POST',
317 'parameters' => [
318 'resource' => [
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ],
323 ],
324 ],'testIamPermissions' => [
325 'path' => 'v1/{+resource}:testIamPermissions',
326 'httpMethod' => 'POST',
327 'parameters' => [
328 'resource' => [
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ],
333 ],
334 ],'updateLdapssettings' => [
335 'path' => 'v1/{+name}/ldapssettings',
336 'httpMethod' => 'PATCH',
337 'parameters' => [
338 'name' => [
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ],
343 'updateMask' => [
344 'location' => 'query',
345 'type' => 'string',
346 ],
347 ],
348 ],'validateTrust' => [
349 'path' => 'v1/{+name}:validateTrust',
350 'httpMethod' => 'POST',
351 'parameters' => [
352 'name' => [
353 'location' => 'path',
354 'type' => 'string',
355 'required' => true,
356 ],
357 ],
358 ],
359 ]
360 ]
361 );
362 $this->projects_locations_global_domains_backups = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource\ProjectsLocationsManagedidentitiesGlobalDomainsBackups(
363 $this,
364 $this->serviceName,
365 'backups',
366 [
367 'methods' => [
368 'create' => [
369 'path' => 'v1/{+parent}/backups',
370 'httpMethod' => 'POST',
371 'parameters' => [
372 'parent' => [
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ],
377 'backupId' => [
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 ],'getIamPolicy' => [
403 'path' => 'v1/{+resource}:getIamPolicy',
404 'httpMethod' => 'GET',
405 'parameters' => [
406 'resource' => [
407 'location' => 'path',
408 'type' => 'string',
409 'required' => true,
410 ],
411 'options.requestedPolicyVersion' => [
412 'location' => 'query',
413 'type' => 'integer',
414 ],
415 ],
416 ],'list' => [
417 'path' => 'v1/{+parent}/backups',
418 'httpMethod' => 'GET',
419 'parameters' => [
420 'parent' => [
421 'location' => 'path',
422 'type' => 'string',
423 'required' => true,
424 ],
425 'filter' => [
426 'location' => 'query',
427 'type' => 'string',
428 ],
429 'orderBy' => [
430 'location' => 'query',
431 'type' => 'string',
432 ],
433 'pageSize' => [
434 'location' => 'query',
435 'type' => 'integer',
436 ],
437 'pageToken' => [
438 'location' => 'query',
439 'type' => 'string',
440 ],
441 ],
442 ],'patch' => [
443 'path' => 'v1/{+name}',
444 'httpMethod' => 'PATCH',
445 'parameters' => [
446 'name' => [
447 'location' => 'path',
448 'type' => 'string',
449 'required' => true,
450 ],
451 'updateMask' => [
452 'location' => 'query',
453 'type' => 'string',
454 ],
455 ],
456 ],'setIamPolicy' => [
457 'path' => 'v1/{+resource}:setIamPolicy',
458 'httpMethod' => 'POST',
459 'parameters' => [
460 'resource' => [
461 'location' => 'path',
462 'type' => 'string',
463 'required' => true,
464 ],
465 ],
466 ],'testIamPermissions' => [
467 'path' => 'v1/{+resource}:testIamPermissions',
468 'httpMethod' => 'POST',
469 'parameters' => [
470 'resource' => [
471 'location' => 'path',
472 'type' => 'string',
473 'required' => true,
474 ],
475 ],
476 ],
477 ]
478 ]
479 );
480 $this->projects_locations_global_domains_sqlIntegrations = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource\ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations(
481 $this,
482 $this->serviceName,
483 'sqlIntegrations',
484 [
485 'methods' => [
486 'get' => [
487 'path' => 'v1/{+name}',
488 'httpMethod' => 'GET',
489 'parameters' => [
490 'name' => [
491 'location' => 'path',
492 'type' => 'string',
493 'required' => true,
494 ],
495 ],
496 ],'list' => [
497 'path' => 'v1/{+parent}/sqlIntegrations',
498 'httpMethod' => 'GET',
499 'parameters' => [
500 'parent' => [
501 'location' => 'path',
502 'type' => 'string',
503 'required' => true,
504 ],
505 'filter' => [
506 'location' => 'query',
507 'type' => 'string',
508 ],
509 'orderBy' => [
510 'location' => 'query',
511 'type' => 'string',
512 ],
513 'pageSize' => [
514 'location' => 'query',
515 'type' => 'integer',
516 ],
517 'pageToken' => [
518 'location' => 'query',
519 'type' => 'string',
520 ],
521 ],
522 ],
523 ]
524 ]
525 );
526 $this->projects_locations_global_operations = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource\ProjectsLocationsManagedidentitiesGlobalOperations(
527 $this,
528 $this->serviceName,
529 'operations',
530 [
531 'methods' => [
532 'cancel' => [
533 'path' => 'v1/{+name}:cancel',
534 'httpMethod' => 'POST',
535 'parameters' => [
536 'name' => [
537 'location' => 'path',
538 'type' => 'string',
539 'required' => true,
540 ],
541 ],
542 ],'delete' => [
543 'path' => 'v1/{+name}',
544 'httpMethod' => 'DELETE',
545 'parameters' => [
546 'name' => [
547 'location' => 'path',
548 'type' => 'string',
549 'required' => true,
550 ],
551 ],
552 ],'get' => [
553 'path' => 'v1/{+name}',
554 'httpMethod' => 'GET',
555 'parameters' => [
556 'name' => [
557 'location' => 'path',
558 'type' => 'string',
559 'required' => true,
560 ],
561 ],
562 ],'list' => [
563 'path' => 'v1/{+name}',
564 'httpMethod' => 'GET',
565 'parameters' => [
566 'name' => [
567 'location' => 'path',
568 'type' => 'string',
569 'required' => true,
570 ],
571 'filter' => [
572 'location' => 'query',
573 'type' => 'string',
574 ],
575 'pageSize' => [
576 'location' => 'query',
577 'type' => 'integer',
578 ],
579 'pageToken' => [
580 'location' => 'query',
581 'type' => 'string',
582 ],
583 ],
584 ],
585 ]
586 ]
587 );
588 $this->projects_locations_global_peerings = new ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource\ProjectsLocationsManagedidentitiesGlobalPeerings(
589 $this,
590 $this->serviceName,
591 'peerings',
592 [
593 'methods' => [
594 'create' => [
595 'path' => 'v1/{+parent}/peerings',
596 'httpMethod' => 'POST',
597 'parameters' => [
598 'parent' => [
599 'location' => 'path',
600 'type' => 'string',
601 'required' => true,
602 ],
603 'peeringId' => [
604 'location' => 'query',
605 'type' => 'string',
606 ],
607 ],
608 ],'delete' => [
609 'path' => 'v1/{+name}',
610 'httpMethod' => 'DELETE',
611 'parameters' => [
612 'name' => [
613 'location' => 'path',
614 'type' => 'string',
615 'required' => true,
616 ],
617 ],
618 ],'get' => [
619 'path' => 'v1/{+name}',
620 'httpMethod' => 'GET',
621 'parameters' => [
622 'name' => [
623 'location' => 'path',
624 'type' => 'string',
625 'required' => true,
626 ],
627 ],
628 ],'getIamPolicy' => [
629 'path' => 'v1/{+resource}:getIamPolicy',
630 'httpMethod' => 'GET',
631 'parameters' => [
632 'resource' => [
633 'location' => 'path',
634 'type' => 'string',
635 'required' => true,
636 ],
637 'options.requestedPolicyVersion' => [
638 'location' => 'query',
639 'type' => 'integer',
640 ],
641 ],
642 ],'list' => [
643 'path' => 'v1/{+parent}/peerings',
644 'httpMethod' => 'GET',
645 'parameters' => [
646 'parent' => [
647 'location' => 'path',
648 'type' => 'string',
649 'required' => true,
650 ],
651 'filter' => [
652 'location' => 'query',
653 'type' => 'string',
654 ],
655 'orderBy' => [
656 'location' => 'query',
657 'type' => 'string',
658 ],
659 'pageSize' => [
660 'location' => 'query',
661 'type' => 'integer',
662 ],
663 'pageToken' => [
664 'location' => 'query',
665 'type' => 'string',
666 ],
667 ],
668 ],'patch' => [
669 'path' => 'v1/{+name}',
670 'httpMethod' => 'PATCH',
671 'parameters' => [
672 'name' => [
673 'location' => 'path',
674 'type' => 'string',
675 'required' => true,
676 ],
677 'updateMask' => [
678 'location' => 'query',
679 'type' => 'string',
680 ],
681 ],
682 ],'setIamPolicy' => [
683 'path' => 'v1/{+resource}:setIamPolicy',
684 'httpMethod' => 'POST',
685 'parameters' => [
686 'resource' => [
687 'location' => 'path',
688 'type' => 'string',
689 'required' => true,
690 ],
691 ],
692 ],'testIamPermissions' => [
693 'path' => 'v1/{+resource}:testIamPermissions',
694 'httpMethod' => 'POST',
695 'parameters' => [
696 'resource' => [
697 'location' => 'path',
698 'type' => 'string',
699 'required' => true,
700 ],
701 ],
702 ],
703 ]
704 ]
705 );
706 }
707}
708
709// Adding a class alias for backwards compatibility with the previous class name.
710class_alias(ManagedServiceforMicrosoftActiveDirectoryConsumerAPI::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI');
Note: See TracBrowser for help on using the repository browser.