google-cloud-oracle_database-v1 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +2672 -184
- data/lib/google/cloud/oracle_database/v1/oracle_database/operations.rb +2 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +152 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2444 -117
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +2 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1782 -373
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/database_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +2 -1
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb +38 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb +98 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb +28 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb +29 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb +54 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb +29 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb +31 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +8 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +84 -48
- data/proto_docs/google/cloud/oracledatabase/v1/database.rb +27 -1
- data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +6 -1
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +4 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb +2238 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb +300 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb +186 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb +712 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb +145 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb +177 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb +175 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +20 -2
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +4 -4
- metadata +17 -3
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -197,6 +197,139 @@ module Google
|
|
|
197
197
|
"projects/#{project}/locations/#{location}/giVersions/#{gi_version}"
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
+
##
|
|
201
|
+
# Create a fully-qualified GoldengateConnection resource string.
|
|
202
|
+
#
|
|
203
|
+
# The resource will be in the following format:
|
|
204
|
+
#
|
|
205
|
+
# `projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}`
|
|
206
|
+
#
|
|
207
|
+
# @param project [String]
|
|
208
|
+
# @param location [String]
|
|
209
|
+
# @param goldengate_connection [String]
|
|
210
|
+
#
|
|
211
|
+
# @return [::String]
|
|
212
|
+
def goldengate_connection_path project:, location:, goldengate_connection:
|
|
213
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
214
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
215
|
+
|
|
216
|
+
"projects/#{project}/locations/#{location}/goldengateConnections/#{goldengate_connection}"
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
##
|
|
220
|
+
# Create a fully-qualified GoldengateConnectionAssignment resource string.
|
|
221
|
+
#
|
|
222
|
+
# The resource will be in the following format:
|
|
223
|
+
#
|
|
224
|
+
# `projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}`
|
|
225
|
+
#
|
|
226
|
+
# @param project [String]
|
|
227
|
+
# @param location [String]
|
|
228
|
+
# @param goldengate_connection_assignment [String]
|
|
229
|
+
#
|
|
230
|
+
# @return [::String]
|
|
231
|
+
def goldengate_connection_assignment_path project:, location:, goldengate_connection_assignment:
|
|
232
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
233
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
234
|
+
|
|
235
|
+
"projects/#{project}/locations/#{location}/goldengateConnectionAssignments/#{goldengate_connection_assignment}"
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
##
|
|
239
|
+
# Create a fully-qualified GoldengateConnectionType resource string.
|
|
240
|
+
#
|
|
241
|
+
# The resource will be in the following format:
|
|
242
|
+
#
|
|
243
|
+
# `projects/{project}/locations/{location}/goldengateConnectionTypes/{goldengate_connection_type}`
|
|
244
|
+
#
|
|
245
|
+
# @param project [String]
|
|
246
|
+
# @param location [String]
|
|
247
|
+
# @param goldengate_connection_type [String]
|
|
248
|
+
#
|
|
249
|
+
# @return [::String]
|
|
250
|
+
def goldengate_connection_type_path project:, location:, goldengate_connection_type:
|
|
251
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
252
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
253
|
+
|
|
254
|
+
"projects/#{project}/locations/#{location}/goldengateConnectionTypes/#{goldengate_connection_type}"
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
##
|
|
258
|
+
# Create a fully-qualified GoldengateDeployment resource string.
|
|
259
|
+
#
|
|
260
|
+
# The resource will be in the following format:
|
|
261
|
+
#
|
|
262
|
+
# `projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}`
|
|
263
|
+
#
|
|
264
|
+
# @param project [String]
|
|
265
|
+
# @param location [String]
|
|
266
|
+
# @param goldengate_deployment [String]
|
|
267
|
+
#
|
|
268
|
+
# @return [::String]
|
|
269
|
+
def goldengate_deployment_path project:, location:, goldengate_deployment:
|
|
270
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
271
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
272
|
+
|
|
273
|
+
"projects/#{project}/locations/#{location}/goldengateDeployments/#{goldengate_deployment}"
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
##
|
|
277
|
+
# Create a fully-qualified GoldengateDeploymentEnvironment resource string.
|
|
278
|
+
#
|
|
279
|
+
# The resource will be in the following format:
|
|
280
|
+
#
|
|
281
|
+
# `projects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}`
|
|
282
|
+
#
|
|
283
|
+
# @param project [String]
|
|
284
|
+
# @param location [String]
|
|
285
|
+
# @param goldengate_deployment_environment [String]
|
|
286
|
+
#
|
|
287
|
+
# @return [::String]
|
|
288
|
+
def goldengate_deployment_environment_path project:, location:, goldengate_deployment_environment:
|
|
289
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
290
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
291
|
+
|
|
292
|
+
"projects/#{project}/locations/#{location}/goldengateDeploymentEnvironments/#{goldengate_deployment_environment}"
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
##
|
|
296
|
+
# Create a fully-qualified GoldengateDeploymentType resource string.
|
|
297
|
+
#
|
|
298
|
+
# The resource will be in the following format:
|
|
299
|
+
#
|
|
300
|
+
# `projects/{project}/locations/{location}/goldengateDeploymentTypes/{goldengate_deployment_type}`
|
|
301
|
+
#
|
|
302
|
+
# @param project [String]
|
|
303
|
+
# @param location [String]
|
|
304
|
+
# @param goldengate_deployment_type [String]
|
|
305
|
+
#
|
|
306
|
+
# @return [::String]
|
|
307
|
+
def goldengate_deployment_type_path project:, location:, goldengate_deployment_type:
|
|
308
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
309
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
310
|
+
|
|
311
|
+
"projects/#{project}/locations/#{location}/goldengateDeploymentTypes/#{goldengate_deployment_type}"
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
##
|
|
315
|
+
# Create a fully-qualified GoldengateDeploymentVersion resource string.
|
|
316
|
+
#
|
|
317
|
+
# The resource will be in the following format:
|
|
318
|
+
#
|
|
319
|
+
# `projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}`
|
|
320
|
+
#
|
|
321
|
+
# @param project [String]
|
|
322
|
+
# @param location [String]
|
|
323
|
+
# @param goldengate_deployment_version [String]
|
|
324
|
+
#
|
|
325
|
+
# @return [::String]
|
|
326
|
+
def goldengate_deployment_version_path project:, location:, goldengate_deployment_version:
|
|
327
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
328
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
329
|
+
|
|
330
|
+
"projects/#{project}/locations/#{location}/goldengateDeploymentVersions/#{goldengate_deployment_version}"
|
|
331
|
+
end
|
|
332
|
+
|
|
200
333
|
##
|
|
201
334
|
# Create a fully-qualified Location resource string.
|
|
202
335
|
#
|
|
@@ -290,6 +423,25 @@ module Google
|
|
|
290
423
|
"projects/#{project}/locations/#{location}/pluggableDatabases/#{pluggable_database}"
|
|
291
424
|
end
|
|
292
425
|
|
|
426
|
+
##
|
|
427
|
+
# Create a fully-qualified SecretVersion resource string.
|
|
428
|
+
#
|
|
429
|
+
# The resource will be in the following format:
|
|
430
|
+
#
|
|
431
|
+
# `projects/{project}/secrets/{secret}/versions/{secret_version}`
|
|
432
|
+
#
|
|
433
|
+
# @param project [String]
|
|
434
|
+
# @param secret [String]
|
|
435
|
+
# @param secret_version [String]
|
|
436
|
+
#
|
|
437
|
+
# @return [::String]
|
|
438
|
+
def secret_version_path project:, secret:, secret_version:
|
|
439
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
440
|
+
raise ::ArgumentError, "secret cannot contain /" if secret.to_s.include? "/"
|
|
441
|
+
|
|
442
|
+
"projects/#{project}/secrets/#{secret}/versions/#{secret_version}"
|
|
443
|
+
end
|
|
444
|
+
|
|
293
445
|
extend self
|
|
294
446
|
end
|
|
295
447
|
end
|