google-cloud-oracle_database-v1 1.4.0 → 1.5.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/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +5075 -2586
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +57 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +4887 -2552
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1377 -18
- 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/common_pb.rb +2 -1
- data/lib/google/cloud/oracledatabase/v1/database_connection_pb.rb +36 -0
- data/lib/google/cloud/oracledatabase/v1/database_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/db_system_compute_performance_pb.rb +28 -0
- data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/execute_sql_pb.rb +34 -0
- data/lib/google/cloud/oracledatabase/v1/flex_component_pb.rb +29 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/odb_network_pb.rb +5 -1
- data/lib/google/cloud/oracledatabase/v1/odb_subnet_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +11 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +46 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +1 -1
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +6 -3
- data/proto_docs/google/cloud/oracledatabase/v1/common.rb +16 -0
- data/proto_docs/google/cloud/oracledatabase/v1/database.rb +6 -6
- data/proto_docs/google/cloud/oracledatabase/v1/database_connection.rb +255 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +42 -10
- data/proto_docs/google/cloud/oracledatabase/v1/db_system_compute_performance.rb +100 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +5 -5
- data/proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb +7 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +38 -7
- data/proto_docs/google/cloud/oracledatabase/v1/execute_sql.rb +167 -0
- data/proto_docs/google/cloud/oracledatabase/v1/flex_component.rb +135 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb +37 -6
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb +35 -2
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb +40 -8
- data/proto_docs/google/cloud/oracledatabase/v1/odb_network.rb +79 -2
- data/proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb +33 -2
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +126 -9
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +23 -15
- data/proto_docs/google/protobuf/struct.rb +108 -0
- metadata +10 -1
|
@@ -140,6 +140,25 @@ module Google
|
|
|
140
140
|
"projects/#{project}/locations/#{location}/databases/#{database}"
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
+
##
|
|
144
|
+
# Create a fully-qualified DatabaseConnection resource string.
|
|
145
|
+
#
|
|
146
|
+
# The resource will be in the following format:
|
|
147
|
+
#
|
|
148
|
+
# `projects/{project}/locations/{location}/databaseConnections/{database_connection}`
|
|
149
|
+
#
|
|
150
|
+
# @param project [String]
|
|
151
|
+
# @param location [String]
|
|
152
|
+
# @param database_connection [String]
|
|
153
|
+
#
|
|
154
|
+
# @return [::String]
|
|
155
|
+
def database_connection_path project:, location:, database_connection:
|
|
156
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
157
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
158
|
+
|
|
159
|
+
"projects/#{project}/locations/#{location}/databaseConnections/#{database_connection}"
|
|
160
|
+
end
|
|
161
|
+
|
|
143
162
|
##
|
|
144
163
|
# Create a fully-qualified DbSystem resource string.
|
|
145
164
|
#
|
|
@@ -307,6 +326,25 @@ module Google
|
|
|
307
326
|
"projects/#{project}/global/networks/#{network}"
|
|
308
327
|
end
|
|
309
328
|
|
|
329
|
+
##
|
|
330
|
+
# Create a fully-qualified NetworkAttachment resource string.
|
|
331
|
+
#
|
|
332
|
+
# The resource will be in the following format:
|
|
333
|
+
#
|
|
334
|
+
# `projects/{project}/regions/{region}/networkAttachments/{network_attachment}`
|
|
335
|
+
#
|
|
336
|
+
# @param project [String]
|
|
337
|
+
# @param region [String]
|
|
338
|
+
# @param network_attachment [String]
|
|
339
|
+
#
|
|
340
|
+
# @return [::String]
|
|
341
|
+
def network_attachment_path project:, region:, network_attachment:
|
|
342
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
343
|
+
raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
|
|
344
|
+
|
|
345
|
+
"projects/#{project}/regions/#{region}/networkAttachments/#{network_attachment}"
|
|
346
|
+
end
|
|
347
|
+
|
|
310
348
|
##
|
|
311
349
|
# Create a fully-qualified OdbDnsZone resource string.
|
|
312
350
|
#
|
|
@@ -406,6 +444,25 @@ module Google
|
|
|
406
444
|
"projects/#{project}/secrets/#{secret}/versions/#{secret_version}"
|
|
407
445
|
end
|
|
408
446
|
|
|
447
|
+
##
|
|
448
|
+
# Create a fully-qualified WorkloadIdentityPool resource string.
|
|
449
|
+
#
|
|
450
|
+
# The resource will be in the following format:
|
|
451
|
+
#
|
|
452
|
+
# `projects/{project}/locations/{location}/workloadIdentityPools/{workload_identity_pool}`
|
|
453
|
+
#
|
|
454
|
+
# @param project [String]
|
|
455
|
+
# @param location [String]
|
|
456
|
+
# @param workload_identity_pool [String]
|
|
457
|
+
#
|
|
458
|
+
# @return [::String]
|
|
459
|
+
def workload_identity_pool_path project:, location:, workload_identity_pool:
|
|
460
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
461
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
462
|
+
|
|
463
|
+
"projects/#{project}/locations/#{location}/workloadIdentityPools/#{workload_identity_pool}"
|
|
464
|
+
end
|
|
465
|
+
|
|
409
466
|
extend self
|
|
410
467
|
end
|
|
411
468
|
end
|