Skip to content

Commit ffa6af9

Browse files
feat: [google-cloud-oracledatabase] re-enable gRPC support (#13851)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 752650809 Source-Link: googleapis/googleapis@38f9761 Source-Link: googleapis/googleapis-gen@2e9ebcd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yYWNsZWRhdGFiYXNlLy5Pd2xCb3QueWFtbCIsImgiOiIyZTllYmNkNDdiMWM4OWI5MjhlYTU2ZTdhMmJiMDE0ODk0NDdmOGY3In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2d3bf14 commit ffa6af9

37 files changed

Lines changed: 32415 additions & 7351 deletions

File tree

packages/google-cloud-oracledatabase/google/cloud/oracledatabase/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
__version__ = package_version.__version__
1919

2020

21+
from google.cloud.oracledatabase_v1.services.oracle_database.async_client import (
22+
OracleDatabaseAsyncClient,
23+
)
2124
from google.cloud.oracledatabase_v1.services.oracle_database.client import (
2225
OracleDatabaseClient,
2326
)
@@ -109,6 +112,7 @@
109112

110113
__all__ = (
111114
"OracleDatabaseClient",
115+
"OracleDatabaseAsyncClient",
112116
"AllConnectionStrings",
113117
"AutonomousDatabase",
114118
"AutonomousDatabaseApex",

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
__version__ = package_version.__version__
1919

2020

21-
from .services.oracle_database import OracleDatabaseClient
21+
from .services.oracle_database import OracleDatabaseAsyncClient, OracleDatabaseClient
2222
from .types.autonomous_database import (
2323
AllConnectionStrings,
2424
AutonomousDatabase,
@@ -99,6 +99,7 @@
9999
)
100100

101101
__all__ = (
102+
"OracleDatabaseAsyncClient",
102103
"AllConnectionStrings",
103104
"AutonomousDatabase",
104105
"AutonomousDatabaseApex",

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/gapic_metadata.json

Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,266 @@
77
"services": {
88
"OracleDatabase": {
99
"clients": {
10+
"grpc": {
11+
"libraryClient": "OracleDatabaseClient",
12+
"rpcs": {
13+
"CreateAutonomousDatabase": {
14+
"methods": [
15+
"create_autonomous_database"
16+
]
17+
},
18+
"CreateCloudExadataInfrastructure": {
19+
"methods": [
20+
"create_cloud_exadata_infrastructure"
21+
]
22+
},
23+
"CreateCloudVmCluster": {
24+
"methods": [
25+
"create_cloud_vm_cluster"
26+
]
27+
},
28+
"DeleteAutonomousDatabase": {
29+
"methods": [
30+
"delete_autonomous_database"
31+
]
32+
},
33+
"DeleteCloudExadataInfrastructure": {
34+
"methods": [
35+
"delete_cloud_exadata_infrastructure"
36+
]
37+
},
38+
"DeleteCloudVmCluster": {
39+
"methods": [
40+
"delete_cloud_vm_cluster"
41+
]
42+
},
43+
"GenerateAutonomousDatabaseWallet": {
44+
"methods": [
45+
"generate_autonomous_database_wallet"
46+
]
47+
},
48+
"GetAutonomousDatabase": {
49+
"methods": [
50+
"get_autonomous_database"
51+
]
52+
},
53+
"GetCloudExadataInfrastructure": {
54+
"methods": [
55+
"get_cloud_exadata_infrastructure"
56+
]
57+
},
58+
"GetCloudVmCluster": {
59+
"methods": [
60+
"get_cloud_vm_cluster"
61+
]
62+
},
63+
"ListAutonomousDatabaseBackups": {
64+
"methods": [
65+
"list_autonomous_database_backups"
66+
]
67+
},
68+
"ListAutonomousDatabaseCharacterSets": {
69+
"methods": [
70+
"list_autonomous_database_character_sets"
71+
]
72+
},
73+
"ListAutonomousDatabases": {
74+
"methods": [
75+
"list_autonomous_databases"
76+
]
77+
},
78+
"ListAutonomousDbVersions": {
79+
"methods": [
80+
"list_autonomous_db_versions"
81+
]
82+
},
83+
"ListCloudExadataInfrastructures": {
84+
"methods": [
85+
"list_cloud_exadata_infrastructures"
86+
]
87+
},
88+
"ListCloudVmClusters": {
89+
"methods": [
90+
"list_cloud_vm_clusters"
91+
]
92+
},
93+
"ListDbNodes": {
94+
"methods": [
95+
"list_db_nodes"
96+
]
97+
},
98+
"ListDbServers": {
99+
"methods": [
100+
"list_db_servers"
101+
]
102+
},
103+
"ListDbSystemShapes": {
104+
"methods": [
105+
"list_db_system_shapes"
106+
]
107+
},
108+
"ListEntitlements": {
109+
"methods": [
110+
"list_entitlements"
111+
]
112+
},
113+
"ListGiVersions": {
114+
"methods": [
115+
"list_gi_versions"
116+
]
117+
},
118+
"RestartAutonomousDatabase": {
119+
"methods": [
120+
"restart_autonomous_database"
121+
]
122+
},
123+
"RestoreAutonomousDatabase": {
124+
"methods": [
125+
"restore_autonomous_database"
126+
]
127+
},
128+
"StartAutonomousDatabase": {
129+
"methods": [
130+
"start_autonomous_database"
131+
]
132+
},
133+
"StopAutonomousDatabase": {
134+
"methods": [
135+
"stop_autonomous_database"
136+
]
137+
}
138+
}
139+
},
140+
"grpc-async": {
141+
"libraryClient": "OracleDatabaseAsyncClient",
142+
"rpcs": {
143+
"CreateAutonomousDatabase": {
144+
"methods": [
145+
"create_autonomous_database"
146+
]
147+
},
148+
"CreateCloudExadataInfrastructure": {
149+
"methods": [
150+
"create_cloud_exadata_infrastructure"
151+
]
152+
},
153+
"CreateCloudVmCluster": {
154+
"methods": [
155+
"create_cloud_vm_cluster"
156+
]
157+
},
158+
"DeleteAutonomousDatabase": {
159+
"methods": [
160+
"delete_autonomous_database"
161+
]
162+
},
163+
"DeleteCloudExadataInfrastructure": {
164+
"methods": [
165+
"delete_cloud_exadata_infrastructure"
166+
]
167+
},
168+
"DeleteCloudVmCluster": {
169+
"methods": [
170+
"delete_cloud_vm_cluster"
171+
]
172+
},
173+
"GenerateAutonomousDatabaseWallet": {
174+
"methods": [
175+
"generate_autonomous_database_wallet"
176+
]
177+
},
178+
"GetAutonomousDatabase": {
179+
"methods": [
180+
"get_autonomous_database"
181+
]
182+
},
183+
"GetCloudExadataInfrastructure": {
184+
"methods": [
185+
"get_cloud_exadata_infrastructure"
186+
]
187+
},
188+
"GetCloudVmCluster": {
189+
"methods": [
190+
"get_cloud_vm_cluster"
191+
]
192+
},
193+
"ListAutonomousDatabaseBackups": {
194+
"methods": [
195+
"list_autonomous_database_backups"
196+
]
197+
},
198+
"ListAutonomousDatabaseCharacterSets": {
199+
"methods": [
200+
"list_autonomous_database_character_sets"
201+
]
202+
},
203+
"ListAutonomousDatabases": {
204+
"methods": [
205+
"list_autonomous_databases"
206+
]
207+
},
208+
"ListAutonomousDbVersions": {
209+
"methods": [
210+
"list_autonomous_db_versions"
211+
]
212+
},
213+
"ListCloudExadataInfrastructures": {
214+
"methods": [
215+
"list_cloud_exadata_infrastructures"
216+
]
217+
},
218+
"ListCloudVmClusters": {
219+
"methods": [
220+
"list_cloud_vm_clusters"
221+
]
222+
},
223+
"ListDbNodes": {
224+
"methods": [
225+
"list_db_nodes"
226+
]
227+
},
228+
"ListDbServers": {
229+
"methods": [
230+
"list_db_servers"
231+
]
232+
},
233+
"ListDbSystemShapes": {
234+
"methods": [
235+
"list_db_system_shapes"
236+
]
237+
},
238+
"ListEntitlements": {
239+
"methods": [
240+
"list_entitlements"
241+
]
242+
},
243+
"ListGiVersions": {
244+
"methods": [
245+
"list_gi_versions"
246+
]
247+
},
248+
"RestartAutonomousDatabase": {
249+
"methods": [
250+
"restart_autonomous_database"
251+
]
252+
},
253+
"RestoreAutonomousDatabase": {
254+
"methods": [
255+
"restore_autonomous_database"
256+
]
257+
},
258+
"StartAutonomousDatabase": {
259+
"methods": [
260+
"start_autonomous_database"
261+
]
262+
},
263+
"StopAutonomousDatabase": {
264+
"methods": [
265+
"stop_autonomous_database"
266+
]
267+
}
268+
}
269+
},
10270
"rest": {
11271
"libraryClient": "OracleDatabaseClient",
12272
"rpcs": {

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/services/oracle_database/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from .async_client import OracleDatabaseAsyncClient
1617
from .client import OracleDatabaseClient
1718

18-
__all__ = ("OracleDatabaseClient",)
19+
__all__ = (
20+
"OracleDatabaseClient",
21+
"OracleDatabaseAsyncClient",
22+
)

0 commit comments

Comments
 (0)