Skip to content

Commit ac3ef54

Browse files
1 parent 81105e3 commit ac3ef54

18 files changed

Lines changed: 2128 additions & 0 deletions

src/OracleDatabase.php

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ class OracleDatabase extends \Google\Service
5555
public $projects_locations_dbSystems;
5656
public $projects_locations_dbVersions;
5757
public $projects_locations_entitlements;
58+
public $projects_locations_exadbVmClusters;
59+
public $projects_locations_exascaleDbStorageVaults;
5860
public $projects_locations_giVersions;
61+
public $projects_locations_giVersions_minorVersions;
5962
public $projects_locations_odbNetworks;
6063
public $projects_locations_odbNetworks_odbSubnets;
6164
public $projects_locations_operations;
@@ -228,6 +231,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
228231
'type' => 'string',
229232
],
230233
],
234+
],'failover' => [
235+
'path' => 'v1/{+name}:failover',
236+
'httpMethod' => 'POST',
237+
'parameters' => [
238+
'name' => [
239+
'location' => 'path',
240+
'type' => 'string',
241+
'required' => true,
242+
],
243+
],
231244
],'generateWallet' => [
232245
'path' => 'v1/{+name}:generateWallet',
233246
'httpMethod' => 'POST',
@@ -844,6 +857,190 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
844857
]
845858
]
846859
);
860+
$this->projects_locations_exadbVmClusters = new OracleDatabase\Resource\ProjectsLocationsExadbVmClusters(
861+
$this,
862+
$this->serviceName,
863+
'exadbVmClusters',
864+
[
865+
'methods' => [
866+
'create' => [
867+
'path' => 'v1/{+parent}/exadbVmClusters',
868+
'httpMethod' => 'POST',
869+
'parameters' => [
870+
'parent' => [
871+
'location' => 'path',
872+
'type' => 'string',
873+
'required' => true,
874+
],
875+
'exadbVmClusterId' => [
876+
'location' => 'query',
877+
'type' => 'string',
878+
],
879+
'requestId' => [
880+
'location' => 'query',
881+
'type' => 'string',
882+
],
883+
],
884+
],'delete' => [
885+
'path' => 'v1/{+name}',
886+
'httpMethod' => 'DELETE',
887+
'parameters' => [
888+
'name' => [
889+
'location' => 'path',
890+
'type' => 'string',
891+
'required' => true,
892+
],
893+
'requestId' => [
894+
'location' => 'query',
895+
'type' => 'string',
896+
],
897+
],
898+
],'get' => [
899+
'path' => 'v1/{+name}',
900+
'httpMethod' => 'GET',
901+
'parameters' => [
902+
'name' => [
903+
'location' => 'path',
904+
'type' => 'string',
905+
'required' => true,
906+
],
907+
],
908+
],'list' => [
909+
'path' => 'v1/{+parent}/exadbVmClusters',
910+
'httpMethod' => 'GET',
911+
'parameters' => [
912+
'parent' => [
913+
'location' => 'path',
914+
'type' => 'string',
915+
'required' => true,
916+
],
917+
'filter' => [
918+
'location' => 'query',
919+
'type' => 'string',
920+
],
921+
'orderBy' => [
922+
'location' => 'query',
923+
'type' => 'string',
924+
],
925+
'pageSize' => [
926+
'location' => 'query',
927+
'type' => 'integer',
928+
],
929+
'pageToken' => [
930+
'location' => 'query',
931+
'type' => 'string',
932+
],
933+
],
934+
],'patch' => [
935+
'path' => 'v1/{+name}',
936+
'httpMethod' => 'PATCH',
937+
'parameters' => [
938+
'name' => [
939+
'location' => 'path',
940+
'type' => 'string',
941+
'required' => true,
942+
],
943+
'requestId' => [
944+
'location' => 'query',
945+
'type' => 'string',
946+
],
947+
'updateMask' => [
948+
'location' => 'query',
949+
'type' => 'string',
950+
],
951+
],
952+
],'removeVirtualMachine' => [
953+
'path' => 'v1/{+name}:removeVirtualMachine',
954+
'httpMethod' => 'POST',
955+
'parameters' => [
956+
'name' => [
957+
'location' => 'path',
958+
'type' => 'string',
959+
'required' => true,
960+
],
961+
],
962+
],
963+
]
964+
]
965+
);
966+
$this->projects_locations_exascaleDbStorageVaults = new OracleDatabase\Resource\ProjectsLocationsExascaleDbStorageVaults(
967+
$this,
968+
$this->serviceName,
969+
'exascaleDbStorageVaults',
970+
[
971+
'methods' => [
972+
'create' => [
973+
'path' => 'v1/{+parent}/exascaleDbStorageVaults',
974+
'httpMethod' => 'POST',
975+
'parameters' => [
976+
'parent' => [
977+
'location' => 'path',
978+
'type' => 'string',
979+
'required' => true,
980+
],
981+
'exascaleDbStorageVaultId' => [
982+
'location' => 'query',
983+
'type' => 'string',
984+
],
985+
'requestId' => [
986+
'location' => 'query',
987+
'type' => 'string',
988+
],
989+
],
990+
],'delete' => [
991+
'path' => 'v1/{+name}',
992+
'httpMethod' => 'DELETE',
993+
'parameters' => [
994+
'name' => [
995+
'location' => 'path',
996+
'type' => 'string',
997+
'required' => true,
998+
],
999+
'requestId' => [
1000+
'location' => 'query',
1001+
'type' => 'string',
1002+
],
1003+
],
1004+
],'get' => [
1005+
'path' => 'v1/{+name}',
1006+
'httpMethod' => 'GET',
1007+
'parameters' => [
1008+
'name' => [
1009+
'location' => 'path',
1010+
'type' => 'string',
1011+
'required' => true,
1012+
],
1013+
],
1014+
],'list' => [
1015+
'path' => 'v1/{+parent}/exascaleDbStorageVaults',
1016+
'httpMethod' => 'GET',
1017+
'parameters' => [
1018+
'parent' => [
1019+
'location' => 'path',
1020+
'type' => 'string',
1021+
'required' => true,
1022+
],
1023+
'filter' => [
1024+
'location' => 'query',
1025+
'type' => 'string',
1026+
],
1027+
'orderBy' => [
1028+
'location' => 'query',
1029+
'type' => 'string',
1030+
],
1031+
'pageSize' => [
1032+
'location' => 'query',
1033+
'type' => 'integer',
1034+
],
1035+
'pageToken' => [
1036+
'location' => 'query',
1037+
'type' => 'string',
1038+
],
1039+
],
1040+
],
1041+
]
1042+
]
1043+
);
8471044
$this->projects_locations_giVersions = new OracleDatabase\Resource\ProjectsLocationsGiVersions(
8481045
$this,
8491046
$this->serviceName,
@@ -876,6 +1073,38 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
8761073
]
8771074
]
8781075
);
1076+
$this->projects_locations_giVersions_minorVersions = new OracleDatabase\Resource\ProjectsLocationsGiVersionsMinorVersions(
1077+
$this,
1078+
$this->serviceName,
1079+
'minorVersions',
1080+
[
1081+
'methods' => [
1082+
'list' => [
1083+
'path' => 'v1/{+parent}/minorVersions',
1084+
'httpMethod' => 'GET',
1085+
'parameters' => [
1086+
'parent' => [
1087+
'location' => 'path',
1088+
'type' => 'string',
1089+
'required' => true,
1090+
],
1091+
'filter' => [
1092+
'location' => 'query',
1093+
'type' => 'string',
1094+
],
1095+
'pageSize' => [
1096+
'location' => 'query',
1097+
'type' => 'integer',
1098+
],
1099+
'pageToken' => [
1100+
'location' => 'query',
1101+
'type' => 'string',
1102+
],
1103+
],
1104+
],
1105+
]
1106+
]
1107+
);
8791108
$this->projects_locations_odbNetworks = new OracleDatabase\Resource\ProjectsLocationsOdbNetworks(
8801109
$this,
8811110
$this->serviceName,
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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\OracleDatabase;
19+
20+
class DataCollectionOptionsCommon extends \Google\Model
21+
{
22+
/**
23+
* @var bool
24+
*/
25+
public $isDiagnosticsEventsEnabled;
26+
/**
27+
* @var bool
28+
*/
29+
public $isHealthMonitoringEnabled;
30+
/**
31+
* @var bool
32+
*/
33+
public $isIncidentLogsEnabled;
34+
35+
/**
36+
* @param bool
37+
*/
38+
public function setIsDiagnosticsEventsEnabled($isDiagnosticsEventsEnabled)
39+
{
40+
$this->isDiagnosticsEventsEnabled = $isDiagnosticsEventsEnabled;
41+
}
42+
/**
43+
* @return bool
44+
*/
45+
public function getIsDiagnosticsEventsEnabled()
46+
{
47+
return $this->isDiagnosticsEventsEnabled;
48+
}
49+
/**
50+
* @param bool
51+
*/
52+
public function setIsHealthMonitoringEnabled($isHealthMonitoringEnabled)
53+
{
54+
$this->isHealthMonitoringEnabled = $isHealthMonitoringEnabled;
55+
}
56+
/**
57+
* @return bool
58+
*/
59+
public function getIsHealthMonitoringEnabled()
60+
{
61+
return $this->isHealthMonitoringEnabled;
62+
}
63+
/**
64+
* @param bool
65+
*/
66+
public function setIsIncidentLogsEnabled($isIncidentLogsEnabled)
67+
{
68+
$this->isIncidentLogsEnabled = $isIncidentLogsEnabled;
69+
}
70+
/**
71+
* @return bool
72+
*/
73+
public function getIsIncidentLogsEnabled()
74+
{
75+
return $this->isIncidentLogsEnabled;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(DataCollectionOptionsCommon::class, 'Google_Service_OracleDatabase_DataCollectionOptionsCommon');

0 commit comments

Comments
 (0)