source: vendor/google/apiclient-services/src/OracleDatabase.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: 20.8 KB
Line 
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 OracleDatabase (v1).
24 *
25 * <p>
26 * The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle
27 * database services, such as Exadata and Autonomous Databases.</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/oracle/database/docs" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class OracleDatabase 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_autonomousDatabaseBackups;
44 public $projects_locations_autonomousDatabaseCharacterSets;
45 public $projects_locations_autonomousDatabases;
46 public $projects_locations_autonomousDbVersions;
47 public $projects_locations_cloudExadataInfrastructures;
48 public $projects_locations_cloudExadataInfrastructures_dbServers;
49 public $projects_locations_cloudVmClusters;
50 public $projects_locations_cloudVmClusters_dbNodes;
51 public $projects_locations_dbSystemShapes;
52 public $projects_locations_entitlements;
53 public $projects_locations_giVersions;
54 public $projects_locations_operations;
55 public $rootUrlTemplate;
56
57 /**
58 * Constructs the internal representation of the OracleDatabase 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://oracledatabase.googleapis.com/';
68 $this->rootUrlTemplate = $rootUrl ?: 'https://oracledatabase.UNIVERSE_DOMAIN/';
69 $this->servicePath = '';
70 $this->batchPath = 'batch';
71 $this->version = 'v1';
72 $this->serviceName = 'oracledatabase';
73
74 $this->projects_locations = new OracleDatabase\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_autonomousDatabaseBackups = new OracleDatabase\Resource\ProjectsLocationsAutonomousDatabaseBackups(
117 $this,
118 $this->serviceName,
119 'autonomousDatabaseBackups',
120 [
121 'methods' => [
122 'list' => [
123 'path' => 'v1/{+parent}/autonomousDatabaseBackups',
124 'httpMethod' => 'GET',
125 'parameters' => [
126 'parent' => [
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ],
131 'filter' => [
132 'location' => 'query',
133 'type' => 'string',
134 ],
135 'pageSize' => [
136 'location' => 'query',
137 'type' => 'integer',
138 ],
139 'pageToken' => [
140 'location' => 'query',
141 'type' => 'string',
142 ],
143 ],
144 ],
145 ]
146 ]
147 );
148 $this->projects_locations_autonomousDatabaseCharacterSets = new OracleDatabase\Resource\ProjectsLocationsAutonomousDatabaseCharacterSets(
149 $this,
150 $this->serviceName,
151 'autonomousDatabaseCharacterSets',
152 [
153 'methods' => [
154 'list' => [
155 'path' => 'v1/{+parent}/autonomousDatabaseCharacterSets',
156 'httpMethod' => 'GET',
157 'parameters' => [
158 'parent' => [
159 'location' => 'path',
160 'type' => 'string',
161 'required' => true,
162 ],
163 'filter' => [
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 ],
177 ]
178 ]
179 );
180 $this->projects_locations_autonomousDatabases = new OracleDatabase\Resource\ProjectsLocationsAutonomousDatabases(
181 $this,
182 $this->serviceName,
183 'autonomousDatabases',
184 [
185 'methods' => [
186 'create' => [
187 'path' => 'v1/{+parent}/autonomousDatabases',
188 'httpMethod' => 'POST',
189 'parameters' => [
190 'parent' => [
191 'location' => 'path',
192 'type' => 'string',
193 'required' => true,
194 ],
195 'autonomousDatabaseId' => [
196 'location' => 'query',
197 'type' => 'string',
198 ],
199 'requestId' => [
200 'location' => 'query',
201 'type' => 'string',
202 ],
203 ],
204 ],'delete' => [
205 'path' => 'v1/{+name}',
206 'httpMethod' => 'DELETE',
207 'parameters' => [
208 'name' => [
209 'location' => 'path',
210 'type' => 'string',
211 'required' => true,
212 ],
213 'requestId' => [
214 'location' => 'query',
215 'type' => 'string',
216 ],
217 ],
218 ],'generateWallet' => [
219 'path' => 'v1/{+name}:generateWallet',
220 'httpMethod' => 'POST',
221 'parameters' => [
222 'name' => [
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ],
227 ],
228 ],'get' => [
229 'path' => 'v1/{+name}',
230 'httpMethod' => 'GET',
231 'parameters' => [
232 'name' => [
233 'location' => 'path',
234 'type' => 'string',
235 'required' => true,
236 ],
237 ],
238 ],'list' => [
239 'path' => 'v1/{+parent}/autonomousDatabases',
240 'httpMethod' => 'GET',
241 'parameters' => [
242 'parent' => [
243 'location' => 'path',
244 'type' => 'string',
245 'required' => true,
246 ],
247 'filter' => [
248 'location' => 'query',
249 'type' => 'string',
250 ],
251 'orderBy' => [
252 'location' => 'query',
253 'type' => 'string',
254 ],
255 'pageSize' => [
256 'location' => 'query',
257 'type' => 'integer',
258 ],
259 'pageToken' => [
260 'location' => 'query',
261 'type' => 'string',
262 ],
263 ],
264 ],'restore' => [
265 'path' => 'v1/{+name}:restore',
266 'httpMethod' => 'POST',
267 'parameters' => [
268 'name' => [
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ],
273 ],
274 ],
275 ]
276 ]
277 );
278 $this->projects_locations_autonomousDbVersions = new OracleDatabase\Resource\ProjectsLocationsAutonomousDbVersions(
279 $this,
280 $this->serviceName,
281 'autonomousDbVersions',
282 [
283 'methods' => [
284 'list' => [
285 'path' => 'v1/{+parent}/autonomousDbVersions',
286 'httpMethod' => 'GET',
287 'parameters' => [
288 'parent' => [
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ],
293 'pageSize' => [
294 'location' => 'query',
295 'type' => 'integer',
296 ],
297 'pageToken' => [
298 'location' => 'query',
299 'type' => 'string',
300 ],
301 ],
302 ],
303 ]
304 ]
305 );
306 $this->projects_locations_cloudExadataInfrastructures = new OracleDatabase\Resource\ProjectsLocationsCloudExadataInfrastructures(
307 $this,
308 $this->serviceName,
309 'cloudExadataInfrastructures',
310 [
311 'methods' => [
312 'create' => [
313 'path' => 'v1/{+parent}/cloudExadataInfrastructures',
314 'httpMethod' => 'POST',
315 'parameters' => [
316 'parent' => [
317 'location' => 'path',
318 'type' => 'string',
319 'required' => true,
320 ],
321 'cloudExadataInfrastructureId' => [
322 'location' => 'query',
323 'type' => 'string',
324 ],
325 'requestId' => [
326 'location' => 'query',
327 'type' => 'string',
328 ],
329 ],
330 ],'delete' => [
331 'path' => 'v1/{+name}',
332 'httpMethod' => 'DELETE',
333 'parameters' => [
334 'name' => [
335 'location' => 'path',
336 'type' => 'string',
337 'required' => true,
338 ],
339 'force' => [
340 'location' => 'query',
341 'type' => 'boolean',
342 ],
343 'requestId' => [
344 'location' => 'query',
345 'type' => 'string',
346 ],
347 ],
348 ],'get' => [
349 'path' => 'v1/{+name}',
350 'httpMethod' => 'GET',
351 'parameters' => [
352 'name' => [
353 'location' => 'path',
354 'type' => 'string',
355 'required' => true,
356 ],
357 ],
358 ],'list' => [
359 'path' => 'v1/{+parent}/cloudExadataInfrastructures',
360 'httpMethod' => 'GET',
361 'parameters' => [
362 'parent' => [
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ],
367 'pageSize' => [
368 'location' => 'query',
369 'type' => 'integer',
370 ],
371 'pageToken' => [
372 'location' => 'query',
373 'type' => 'string',
374 ],
375 ],
376 ],
377 ]
378 ]
379 );
380 $this->projects_locations_cloudExadataInfrastructures_dbServers = new OracleDatabase\Resource\ProjectsLocationsCloudExadataInfrastructuresDbServers(
381 $this,
382 $this->serviceName,
383 'dbServers',
384 [
385 'methods' => [
386 'list' => [
387 'path' => 'v1/{+parent}/dbServers',
388 'httpMethod' => 'GET',
389 'parameters' => [
390 'parent' => [
391 'location' => 'path',
392 'type' => 'string',
393 'required' => true,
394 ],
395 'pageSize' => [
396 'location' => 'query',
397 'type' => 'integer',
398 ],
399 'pageToken' => [
400 'location' => 'query',
401 'type' => 'string',
402 ],
403 ],
404 ],
405 ]
406 ]
407 );
408 $this->projects_locations_cloudVmClusters = new OracleDatabase\Resource\ProjectsLocationsCloudVmClusters(
409 $this,
410 $this->serviceName,
411 'cloudVmClusters',
412 [
413 'methods' => [
414 'create' => [
415 'path' => 'v1/{+parent}/cloudVmClusters',
416 'httpMethod' => 'POST',
417 'parameters' => [
418 'parent' => [
419 'location' => 'path',
420 'type' => 'string',
421 'required' => true,
422 ],
423 'cloudVmClusterId' => [
424 'location' => 'query',
425 'type' => 'string',
426 ],
427 'requestId' => [
428 'location' => 'query',
429 'type' => 'string',
430 ],
431 ],
432 ],'delete' => [
433 'path' => 'v1/{+name}',
434 'httpMethod' => 'DELETE',
435 'parameters' => [
436 'name' => [
437 'location' => 'path',
438 'type' => 'string',
439 'required' => true,
440 ],
441 'force' => [
442 'location' => 'query',
443 'type' => 'boolean',
444 ],
445 'requestId' => [
446 'location' => 'query',
447 'type' => 'string',
448 ],
449 ],
450 ],'get' => [
451 'path' => 'v1/{+name}',
452 'httpMethod' => 'GET',
453 'parameters' => [
454 'name' => [
455 'location' => 'path',
456 'type' => 'string',
457 'required' => true,
458 ],
459 ],
460 ],'list' => [
461 'path' => 'v1/{+parent}/cloudVmClusters',
462 'httpMethod' => 'GET',
463 'parameters' => [
464 'parent' => [
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 ],
483 ]
484 ]
485 );
486 $this->projects_locations_cloudVmClusters_dbNodes = new OracleDatabase\Resource\ProjectsLocationsCloudVmClustersDbNodes(
487 $this,
488 $this->serviceName,
489 'dbNodes',
490 [
491 'methods' => [
492 'list' => [
493 'path' => 'v1/{+parent}/dbNodes',
494 'httpMethod' => 'GET',
495 'parameters' => [
496 'parent' => [
497 'location' => 'path',
498 'type' => 'string',
499 'required' => true,
500 ],
501 'pageSize' => [
502 'location' => 'query',
503 'type' => 'integer',
504 ],
505 'pageToken' => [
506 'location' => 'query',
507 'type' => 'string',
508 ],
509 ],
510 ],
511 ]
512 ]
513 );
514 $this->projects_locations_dbSystemShapes = new OracleDatabase\Resource\ProjectsLocationsDbSystemShapes(
515 $this,
516 $this->serviceName,
517 'dbSystemShapes',
518 [
519 'methods' => [
520 'list' => [
521 'path' => 'v1/{+parent}/dbSystemShapes',
522 'httpMethod' => 'GET',
523 'parameters' => [
524 'parent' => [
525 'location' => 'path',
526 'type' => 'string',
527 'required' => true,
528 ],
529 'pageSize' => [
530 'location' => 'query',
531 'type' => 'integer',
532 ],
533 'pageToken' => [
534 'location' => 'query',
535 'type' => 'string',
536 ],
537 ],
538 ],
539 ]
540 ]
541 );
542 $this->projects_locations_entitlements = new OracleDatabase\Resource\ProjectsLocationsEntitlements(
543 $this,
544 $this->serviceName,
545 'entitlements',
546 [
547 'methods' => [
548 'list' => [
549 'path' => 'v1/{+parent}/entitlements',
550 'httpMethod' => 'GET',
551 'parameters' => [
552 'parent' => [
553 'location' => 'path',
554 'type' => 'string',
555 'required' => true,
556 ],
557 'pageSize' => [
558 'location' => 'query',
559 'type' => 'integer',
560 ],
561 'pageToken' => [
562 'location' => 'query',
563 'type' => 'string',
564 ],
565 ],
566 ],
567 ]
568 ]
569 );
570 $this->projects_locations_giVersions = new OracleDatabase\Resource\ProjectsLocationsGiVersions(
571 $this,
572 $this->serviceName,
573 'giVersions',
574 [
575 'methods' => [
576 'list' => [
577 'path' => 'v1/{+parent}/giVersions',
578 'httpMethod' => 'GET',
579 'parameters' => [
580 'parent' => [
581 'location' => 'path',
582 'type' => 'string',
583 'required' => true,
584 ],
585 'pageSize' => [
586 'location' => 'query',
587 'type' => 'integer',
588 ],
589 'pageToken' => [
590 'location' => 'query',
591 'type' => 'string',
592 ],
593 ],
594 ],
595 ]
596 ]
597 );
598 $this->projects_locations_operations = new OracleDatabase\Resource\ProjectsLocationsOperations(
599 $this,
600 $this->serviceName,
601 'operations',
602 [
603 'methods' => [
604 'cancel' => [
605 'path' => 'v1/{+name}:cancel',
606 'httpMethod' => 'POST',
607 'parameters' => [
608 'name' => [
609 'location' => 'path',
610 'type' => 'string',
611 'required' => true,
612 ],
613 ],
614 ],'delete' => [
615 'path' => 'v1/{+name}',
616 'httpMethod' => 'DELETE',
617 'parameters' => [
618 'name' => [
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ],
623 ],
624 ],'get' => [
625 'path' => 'v1/{+name}',
626 'httpMethod' => 'GET',
627 'parameters' => [
628 'name' => [
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ],
633 ],
634 ],'list' => [
635 'path' => 'v1/{+name}/operations',
636 'httpMethod' => 'GET',
637 'parameters' => [
638 'name' => [
639 'location' => 'path',
640 'type' => 'string',
641 'required' => true,
642 ],
643 'filter' => [
644 'location' => 'query',
645 'type' => 'string',
646 ],
647 'pageSize' => [
648 'location' => 'query',
649 'type' => 'integer',
650 ],
651 'pageToken' => [
652 'location' => 'query',
653 'type' => 'string',
654 ],
655 ],
656 ],
657 ]
658 ]
659 );
660 }
661}
662
663// Adding a class alias for backwards compatibility with the previous class name.
664class_alias(OracleDatabase::class, 'Google_Service_OracleDatabase');
Note: See TracBrowser for help on using the repository browser.