google-cloud-oracle_database-v1 0.10.0 → 0.11.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 +3752 -56
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +175 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +3532 -67
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +2234 -204
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +5 -1
- data/lib/google/cloud/oracledatabase/v1/common_pb.rb +5 -1
- data/lib/google/cloud/oracledatabase/v1/database_character_set_pb.rb +48 -0
- data/lib/google/cloud/oracledatabase/v1/database_pb.rb +61 -0
- data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/db_system_initial_storage_size_pb.rb +51 -0
- data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +66 -0
- data/lib/google/cloud/oracledatabase/v1/db_version_pb.rb +48 -0
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb +56 -0
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +59 -0
- data/lib/google/cloud/oracledatabase/v1/minor_version_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/odb_network_pb.rb +54 -0
- data/lib/google/cloud/oracledatabase/v1/odb_subnet_pb.rb +55 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +25 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +74 -0
- data/lib/google/cloud/oracledatabase/v1/pluggable_database_pb.rb +60 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +3 -1
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +104 -1
- data/proto_docs/google/cloud/oracledatabase/v1/common.rb +64 -0
- data/proto_docs/google/cloud/oracledatabase/v1/database.rb +326 -0
- data/proto_docs/google/cloud/oracledatabase/v1/database_character_set.rb +99 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +3 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +381 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system_initial_storage_size.rb +126 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_version.rb +102 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +12 -1
- data/proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb +229 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +271 -0
- data/proto_docs/google/cloud/oracledatabase/v1/minor_version.rb +81 -0
- data/proto_docs/google/cloud/oracledatabase/v1/odb_network.rb +184 -0
- data/proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb +189 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +219 -0
- data/proto_docs/google/cloud/oracledatabase/v1/pluggable_database.rb +366 -0
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +32 -7
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +24 -1
|
@@ -553,6 +553,46 @@ module Google
|
|
|
553
553
|
end
|
|
554
554
|
end
|
|
555
555
|
|
|
556
|
+
##
|
|
557
|
+
# Baseline implementation for the list_minor_versions REST call
|
|
558
|
+
#
|
|
559
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsRequest]
|
|
560
|
+
# A request object representing the call parameters. Required.
|
|
561
|
+
# @param options [::Gapic::CallOptions]
|
|
562
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
563
|
+
#
|
|
564
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
565
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsResponse]
|
|
566
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
567
|
+
#
|
|
568
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsResponse]
|
|
569
|
+
# A result object deserialized from the server's reply
|
|
570
|
+
def list_minor_versions request_pb, options = nil
|
|
571
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
572
|
+
|
|
573
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_minor_versions_request request_pb
|
|
574
|
+
query_string_params = if query_string_params.any?
|
|
575
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
576
|
+
else
|
|
577
|
+
{}
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
response = @client_stub.make_http_request(
|
|
581
|
+
verb,
|
|
582
|
+
uri: uri,
|
|
583
|
+
body: body || "",
|
|
584
|
+
params: query_string_params,
|
|
585
|
+
method_name: "list_minor_versions",
|
|
586
|
+
options: options
|
|
587
|
+
)
|
|
588
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
589
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListMinorVersionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
590
|
+
catch :response do
|
|
591
|
+
yield result, operation if block_given?
|
|
592
|
+
result
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
556
596
|
##
|
|
557
597
|
# Baseline implementation for the list_db_system_shapes REST call
|
|
558
598
|
#
|
|
@@ -713,6 +753,46 @@ module Google
|
|
|
713
753
|
end
|
|
714
754
|
end
|
|
715
755
|
|
|
756
|
+
##
|
|
757
|
+
# Baseline implementation for the update_autonomous_database REST call
|
|
758
|
+
#
|
|
759
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateAutonomousDatabaseRequest]
|
|
760
|
+
# A request object representing the call parameters. Required.
|
|
761
|
+
# @param options [::Gapic::CallOptions]
|
|
762
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
763
|
+
#
|
|
764
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
765
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
766
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
767
|
+
#
|
|
768
|
+
# @return [::Google::Longrunning::Operation]
|
|
769
|
+
# A result object deserialized from the server's reply
|
|
770
|
+
def update_autonomous_database request_pb, options = nil
|
|
771
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
772
|
+
|
|
773
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_autonomous_database_request request_pb
|
|
774
|
+
query_string_params = if query_string_params.any?
|
|
775
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
776
|
+
else
|
|
777
|
+
{}
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
response = @client_stub.make_http_request(
|
|
781
|
+
verb,
|
|
782
|
+
uri: uri,
|
|
783
|
+
body: body || "",
|
|
784
|
+
params: query_string_params,
|
|
785
|
+
method_name: "update_autonomous_database",
|
|
786
|
+
options: options
|
|
787
|
+
)
|
|
788
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
789
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
790
|
+
catch :response do
|
|
791
|
+
yield result, operation if block_given?
|
|
792
|
+
result
|
|
793
|
+
end
|
|
794
|
+
end
|
|
795
|
+
|
|
716
796
|
##
|
|
717
797
|
# Baseline implementation for the delete_autonomous_database REST call
|
|
718
798
|
#
|
|
@@ -1074,147 +1154,1929 @@ module Google
|
|
|
1074
1154
|
end
|
|
1075
1155
|
|
|
1076
1156
|
##
|
|
1077
|
-
#
|
|
1157
|
+
# Baseline implementation for the switchover_autonomous_database REST call
|
|
1078
1158
|
#
|
|
1079
|
-
#
|
|
1080
|
-
#
|
|
1081
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudExadataInfrastructuresRequest]
|
|
1159
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest]
|
|
1082
1160
|
# A request object representing the call parameters. Required.
|
|
1083
|
-
# @
|
|
1084
|
-
#
|
|
1085
|
-
def self.transcode_list_cloud_exadata_infrastructures_request request_pb
|
|
1086
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1087
|
-
.with_bindings(
|
|
1088
|
-
uri_method: :get,
|
|
1089
|
-
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
1090
|
-
matches: [
|
|
1091
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1092
|
-
]
|
|
1093
|
-
)
|
|
1094
|
-
transcoder.transcode request_pb
|
|
1095
|
-
end
|
|
1096
|
-
|
|
1097
|
-
##
|
|
1098
|
-
# @private
|
|
1161
|
+
# @param options [::Gapic::CallOptions]
|
|
1162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1099
1163
|
#
|
|
1100
|
-
#
|
|
1164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1165
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1101
1167
|
#
|
|
1102
|
-
# @
|
|
1103
|
-
# A
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1168
|
+
# @return [::Google::Longrunning::Operation]
|
|
1169
|
+
# A result object deserialized from the server's reply
|
|
1170
|
+
def switchover_autonomous_database request_pb, options = nil
|
|
1171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1172
|
+
|
|
1173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_switchover_autonomous_database_request request_pb
|
|
1174
|
+
query_string_params = if query_string_params.any?
|
|
1175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1176
|
+
else
|
|
1177
|
+
{}
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
response = @client_stub.make_http_request(
|
|
1181
|
+
verb,
|
|
1182
|
+
uri: uri,
|
|
1183
|
+
body: body || "",
|
|
1184
|
+
params: query_string_params,
|
|
1185
|
+
method_name: "switchover_autonomous_database",
|
|
1186
|
+
options: options
|
|
1187
|
+
)
|
|
1188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1189
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1190
|
+
catch :response do
|
|
1191
|
+
yield result, operation if block_given?
|
|
1192
|
+
result
|
|
1193
|
+
end
|
|
1116
1194
|
end
|
|
1117
1195
|
|
|
1118
1196
|
##
|
|
1119
|
-
#
|
|
1120
|
-
#
|
|
1121
|
-
# GRPC transcoding helper method for the create_cloud_exadata_infrastructure REST call
|
|
1197
|
+
# Baseline implementation for the failover_autonomous_database REST call
|
|
1122
1198
|
#
|
|
1123
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
1199
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::FailoverAutonomousDatabaseRequest]
|
|
1124
1200
|
# A request object representing the call parameters. Required.
|
|
1125
|
-
# @
|
|
1126
|
-
#
|
|
1127
|
-
def self.transcode_create_cloud_exadata_infrastructure_request request_pb
|
|
1128
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1129
|
-
.with_bindings(
|
|
1130
|
-
uri_method: :post,
|
|
1131
|
-
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
1132
|
-
body: "cloud_exadata_infrastructure",
|
|
1133
|
-
matches: [
|
|
1134
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1135
|
-
]
|
|
1136
|
-
)
|
|
1137
|
-
transcoder.transcode request_pb
|
|
1138
|
-
end
|
|
1139
|
-
|
|
1140
|
-
##
|
|
1141
|
-
# @private
|
|
1201
|
+
# @param options [::Gapic::CallOptions]
|
|
1202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1142
1203
|
#
|
|
1143
|
-
#
|
|
1204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1205
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1144
1207
|
#
|
|
1145
|
-
# @
|
|
1146
|
-
# A
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1208
|
+
# @return [::Google::Longrunning::Operation]
|
|
1209
|
+
# A result object deserialized from the server's reply
|
|
1210
|
+
def failover_autonomous_database request_pb, options = nil
|
|
1211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1212
|
+
|
|
1213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_failover_autonomous_database_request request_pb
|
|
1214
|
+
query_string_params = if query_string_params.any?
|
|
1215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1216
|
+
else
|
|
1217
|
+
{}
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
response = @client_stub.make_http_request(
|
|
1221
|
+
verb,
|
|
1222
|
+
uri: uri,
|
|
1223
|
+
body: body || "",
|
|
1224
|
+
params: query_string_params,
|
|
1225
|
+
method_name: "failover_autonomous_database",
|
|
1226
|
+
options: options
|
|
1227
|
+
)
|
|
1228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1229
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1230
|
+
catch :response do
|
|
1231
|
+
yield result, operation if block_given?
|
|
1232
|
+
result
|
|
1233
|
+
end
|
|
1159
1234
|
end
|
|
1160
1235
|
|
|
1161
1236
|
##
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1164
|
-
# GRPC transcoding helper method for the list_cloud_vm_clusters REST call
|
|
1237
|
+
# Baseline implementation for the list_odb_networks REST call
|
|
1165
1238
|
#
|
|
1166
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
1239
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksRequest]
|
|
1167
1240
|
# A request object representing the call parameters. Required.
|
|
1168
|
-
# @
|
|
1169
|
-
#
|
|
1170
|
-
def self.transcode_list_cloud_vm_clusters_request request_pb
|
|
1171
|
-
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1172
|
-
.with_bindings(
|
|
1173
|
-
uri_method: :get,
|
|
1174
|
-
uri_template: "/v1/{parent}/cloudVmClusters",
|
|
1175
|
-
matches: [
|
|
1176
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1177
|
-
]
|
|
1178
|
-
)
|
|
1179
|
-
transcoder.transcode request_pb
|
|
1180
|
-
end
|
|
1181
|
-
|
|
1182
|
-
##
|
|
1183
|
-
# @private
|
|
1241
|
+
# @param options [::Gapic::CallOptions]
|
|
1242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1184
1243
|
#
|
|
1185
|
-
#
|
|
1244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1245
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksResponse]
|
|
1246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1186
1247
|
#
|
|
1187
|
-
# @
|
|
1188
|
-
# A
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1248
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksResponse]
|
|
1249
|
+
# A result object deserialized from the server's reply
|
|
1250
|
+
def list_odb_networks request_pb, options = nil
|
|
1251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1252
|
+
|
|
1253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_odb_networks_request request_pb
|
|
1254
|
+
query_string_params = if query_string_params.any?
|
|
1255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1256
|
+
else
|
|
1257
|
+
{}
|
|
1258
|
+
end
|
|
1259
|
+
|
|
1260
|
+
response = @client_stub.make_http_request(
|
|
1261
|
+
verb,
|
|
1262
|
+
uri: uri,
|
|
1263
|
+
body: body || "",
|
|
1264
|
+
params: query_string_params,
|
|
1265
|
+
method_name: "list_odb_networks",
|
|
1266
|
+
options: options
|
|
1267
|
+
)
|
|
1268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1269
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListOdbNetworksResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1270
|
+
catch :response do
|
|
1271
|
+
yield result, operation if block_given?
|
|
1272
|
+
result
|
|
1273
|
+
end
|
|
1201
1274
|
end
|
|
1202
1275
|
|
|
1203
1276
|
##
|
|
1204
|
-
#
|
|
1277
|
+
# Baseline implementation for the get_odb_network REST call
|
|
1205
1278
|
#
|
|
1206
|
-
#
|
|
1279
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbNetworkRequest]
|
|
1280
|
+
# A request object representing the call parameters. Required.
|
|
1281
|
+
# @param options [::Gapic::CallOptions]
|
|
1282
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1283
|
+
#
|
|
1284
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1285
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::OdbNetwork]
|
|
1286
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1287
|
+
#
|
|
1288
|
+
# @return [::Google::Cloud::OracleDatabase::V1::OdbNetwork]
|
|
1289
|
+
# A result object deserialized from the server's reply
|
|
1290
|
+
def get_odb_network request_pb, options = nil
|
|
1291
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1292
|
+
|
|
1293
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_odb_network_request request_pb
|
|
1294
|
+
query_string_params = if query_string_params.any?
|
|
1295
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1296
|
+
else
|
|
1297
|
+
{}
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
response = @client_stub.make_http_request(
|
|
1301
|
+
verb,
|
|
1302
|
+
uri: uri,
|
|
1303
|
+
body: body || "",
|
|
1304
|
+
params: query_string_params,
|
|
1305
|
+
method_name: "get_odb_network",
|
|
1306
|
+
options: options
|
|
1307
|
+
)
|
|
1308
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1309
|
+
result = ::Google::Cloud::OracleDatabase::V1::OdbNetwork.decode_json response.body, ignore_unknown_fields: true
|
|
1310
|
+
catch :response do
|
|
1311
|
+
yield result, operation if block_given?
|
|
1312
|
+
result
|
|
1313
|
+
end
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1316
|
+
##
|
|
1317
|
+
# Baseline implementation for the create_odb_network REST call
|
|
1318
|
+
#
|
|
1319
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbNetworkRequest]
|
|
1320
|
+
# A request object representing the call parameters. Required.
|
|
1321
|
+
# @param options [::Gapic::CallOptions]
|
|
1322
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1323
|
+
#
|
|
1324
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1325
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1326
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1327
|
+
#
|
|
1328
|
+
# @return [::Google::Longrunning::Operation]
|
|
1329
|
+
# A result object deserialized from the server's reply
|
|
1330
|
+
def create_odb_network request_pb, options = nil
|
|
1331
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1332
|
+
|
|
1333
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_odb_network_request request_pb
|
|
1334
|
+
query_string_params = if query_string_params.any?
|
|
1335
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1336
|
+
else
|
|
1337
|
+
{}
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
response = @client_stub.make_http_request(
|
|
1341
|
+
verb,
|
|
1342
|
+
uri: uri,
|
|
1343
|
+
body: body || "",
|
|
1344
|
+
params: query_string_params,
|
|
1345
|
+
method_name: "create_odb_network",
|
|
1346
|
+
options: options
|
|
1347
|
+
)
|
|
1348
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1349
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1350
|
+
catch :response do
|
|
1351
|
+
yield result, operation if block_given?
|
|
1352
|
+
result
|
|
1353
|
+
end
|
|
1354
|
+
end
|
|
1355
|
+
|
|
1356
|
+
##
|
|
1357
|
+
# Baseline implementation for the delete_odb_network REST call
|
|
1358
|
+
#
|
|
1359
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbNetworkRequest]
|
|
1360
|
+
# A request object representing the call parameters. Required.
|
|
1361
|
+
# @param options [::Gapic::CallOptions]
|
|
1362
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1363
|
+
#
|
|
1364
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1365
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1366
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1367
|
+
#
|
|
1368
|
+
# @return [::Google::Longrunning::Operation]
|
|
1369
|
+
# A result object deserialized from the server's reply
|
|
1370
|
+
def delete_odb_network request_pb, options = nil
|
|
1371
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1372
|
+
|
|
1373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_odb_network_request request_pb
|
|
1374
|
+
query_string_params = if query_string_params.any?
|
|
1375
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1376
|
+
else
|
|
1377
|
+
{}
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
response = @client_stub.make_http_request(
|
|
1381
|
+
verb,
|
|
1382
|
+
uri: uri,
|
|
1383
|
+
body: body || "",
|
|
1384
|
+
params: query_string_params,
|
|
1385
|
+
method_name: "delete_odb_network",
|
|
1386
|
+
options: options
|
|
1387
|
+
)
|
|
1388
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1389
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1390
|
+
catch :response do
|
|
1391
|
+
yield result, operation if block_given?
|
|
1392
|
+
result
|
|
1393
|
+
end
|
|
1394
|
+
end
|
|
1395
|
+
|
|
1396
|
+
##
|
|
1397
|
+
# Baseline implementation for the list_odb_subnets REST call
|
|
1398
|
+
#
|
|
1399
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsRequest]
|
|
1400
|
+
# A request object representing the call parameters. Required.
|
|
1401
|
+
# @param options [::Gapic::CallOptions]
|
|
1402
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1403
|
+
#
|
|
1404
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1405
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsResponse]
|
|
1406
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1407
|
+
#
|
|
1408
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsResponse]
|
|
1409
|
+
# A result object deserialized from the server's reply
|
|
1410
|
+
def list_odb_subnets request_pb, options = nil
|
|
1411
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1412
|
+
|
|
1413
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_odb_subnets_request request_pb
|
|
1414
|
+
query_string_params = if query_string_params.any?
|
|
1415
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1416
|
+
else
|
|
1417
|
+
{}
|
|
1418
|
+
end
|
|
1419
|
+
|
|
1420
|
+
response = @client_stub.make_http_request(
|
|
1421
|
+
verb,
|
|
1422
|
+
uri: uri,
|
|
1423
|
+
body: body || "",
|
|
1424
|
+
params: query_string_params,
|
|
1425
|
+
method_name: "list_odb_subnets",
|
|
1426
|
+
options: options
|
|
1427
|
+
)
|
|
1428
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1429
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1430
|
+
catch :response do
|
|
1431
|
+
yield result, operation if block_given?
|
|
1432
|
+
result
|
|
1433
|
+
end
|
|
1434
|
+
end
|
|
1435
|
+
|
|
1436
|
+
##
|
|
1437
|
+
# Baseline implementation for the get_odb_subnet REST call
|
|
1438
|
+
#
|
|
1439
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbSubnetRequest]
|
|
1440
|
+
# A request object representing the call parameters. Required.
|
|
1441
|
+
# @param options [::Gapic::CallOptions]
|
|
1442
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1443
|
+
#
|
|
1444
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1445
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::OdbSubnet]
|
|
1446
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1447
|
+
#
|
|
1448
|
+
# @return [::Google::Cloud::OracleDatabase::V1::OdbSubnet]
|
|
1449
|
+
# A result object deserialized from the server's reply
|
|
1450
|
+
def get_odb_subnet request_pb, options = nil
|
|
1451
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1452
|
+
|
|
1453
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_odb_subnet_request request_pb
|
|
1454
|
+
query_string_params = if query_string_params.any?
|
|
1455
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1456
|
+
else
|
|
1457
|
+
{}
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
response = @client_stub.make_http_request(
|
|
1461
|
+
verb,
|
|
1462
|
+
uri: uri,
|
|
1463
|
+
body: body || "",
|
|
1464
|
+
params: query_string_params,
|
|
1465
|
+
method_name: "get_odb_subnet",
|
|
1466
|
+
options: options
|
|
1467
|
+
)
|
|
1468
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1469
|
+
result = ::Google::Cloud::OracleDatabase::V1::OdbSubnet.decode_json response.body, ignore_unknown_fields: true
|
|
1470
|
+
catch :response do
|
|
1471
|
+
yield result, operation if block_given?
|
|
1472
|
+
result
|
|
1473
|
+
end
|
|
1474
|
+
end
|
|
1475
|
+
|
|
1476
|
+
##
|
|
1477
|
+
# Baseline implementation for the create_odb_subnet REST call
|
|
1478
|
+
#
|
|
1479
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbSubnetRequest]
|
|
1480
|
+
# A request object representing the call parameters. Required.
|
|
1481
|
+
# @param options [::Gapic::CallOptions]
|
|
1482
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1483
|
+
#
|
|
1484
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1485
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1486
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1487
|
+
#
|
|
1488
|
+
# @return [::Google::Longrunning::Operation]
|
|
1489
|
+
# A result object deserialized from the server's reply
|
|
1490
|
+
def create_odb_subnet request_pb, options = nil
|
|
1491
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1492
|
+
|
|
1493
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_odb_subnet_request request_pb
|
|
1494
|
+
query_string_params = if query_string_params.any?
|
|
1495
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1496
|
+
else
|
|
1497
|
+
{}
|
|
1498
|
+
end
|
|
1499
|
+
|
|
1500
|
+
response = @client_stub.make_http_request(
|
|
1501
|
+
verb,
|
|
1502
|
+
uri: uri,
|
|
1503
|
+
body: body || "",
|
|
1504
|
+
params: query_string_params,
|
|
1505
|
+
method_name: "create_odb_subnet",
|
|
1506
|
+
options: options
|
|
1507
|
+
)
|
|
1508
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1509
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1510
|
+
catch :response do
|
|
1511
|
+
yield result, operation if block_given?
|
|
1512
|
+
result
|
|
1513
|
+
end
|
|
1514
|
+
end
|
|
1515
|
+
|
|
1516
|
+
##
|
|
1517
|
+
# Baseline implementation for the delete_odb_subnet REST call
|
|
1518
|
+
#
|
|
1519
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbSubnetRequest]
|
|
1520
|
+
# A request object representing the call parameters. Required.
|
|
1521
|
+
# @param options [::Gapic::CallOptions]
|
|
1522
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1523
|
+
#
|
|
1524
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1525
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1526
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1527
|
+
#
|
|
1528
|
+
# @return [::Google::Longrunning::Operation]
|
|
1529
|
+
# A result object deserialized from the server's reply
|
|
1530
|
+
def delete_odb_subnet request_pb, options = nil
|
|
1531
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1532
|
+
|
|
1533
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_odb_subnet_request request_pb
|
|
1534
|
+
query_string_params = if query_string_params.any?
|
|
1535
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1536
|
+
else
|
|
1537
|
+
{}
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
response = @client_stub.make_http_request(
|
|
1541
|
+
verb,
|
|
1542
|
+
uri: uri,
|
|
1543
|
+
body: body || "",
|
|
1544
|
+
params: query_string_params,
|
|
1545
|
+
method_name: "delete_odb_subnet",
|
|
1546
|
+
options: options
|
|
1547
|
+
)
|
|
1548
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1549
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1550
|
+
catch :response do
|
|
1551
|
+
yield result, operation if block_given?
|
|
1552
|
+
result
|
|
1553
|
+
end
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1556
|
+
##
|
|
1557
|
+
# Baseline implementation for the list_exadb_vm_clusters REST call
|
|
1558
|
+
#
|
|
1559
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersRequest]
|
|
1560
|
+
# A request object representing the call parameters. Required.
|
|
1561
|
+
# @param options [::Gapic::CallOptions]
|
|
1562
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1563
|
+
#
|
|
1564
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1565
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersResponse]
|
|
1566
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1567
|
+
#
|
|
1568
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersResponse]
|
|
1569
|
+
# A result object deserialized from the server's reply
|
|
1570
|
+
def list_exadb_vm_clusters request_pb, options = nil
|
|
1571
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1572
|
+
|
|
1573
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_exadb_vm_clusters_request request_pb
|
|
1574
|
+
query_string_params = if query_string_params.any?
|
|
1575
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1576
|
+
else
|
|
1577
|
+
{}
|
|
1578
|
+
end
|
|
1579
|
+
|
|
1580
|
+
response = @client_stub.make_http_request(
|
|
1581
|
+
verb,
|
|
1582
|
+
uri: uri,
|
|
1583
|
+
body: body || "",
|
|
1584
|
+
params: query_string_params,
|
|
1585
|
+
method_name: "list_exadb_vm_clusters",
|
|
1586
|
+
options: options
|
|
1587
|
+
)
|
|
1588
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1589
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1590
|
+
catch :response do
|
|
1591
|
+
yield result, operation if block_given?
|
|
1592
|
+
result
|
|
1593
|
+
end
|
|
1594
|
+
end
|
|
1595
|
+
|
|
1596
|
+
##
|
|
1597
|
+
# Baseline implementation for the get_exadb_vm_cluster REST call
|
|
1598
|
+
#
|
|
1599
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExadbVmClusterRequest]
|
|
1600
|
+
# A request object representing the call parameters. Required.
|
|
1601
|
+
# @param options [::Gapic::CallOptions]
|
|
1602
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1603
|
+
#
|
|
1604
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1605
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ExadbVmCluster]
|
|
1606
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1607
|
+
#
|
|
1608
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ExadbVmCluster]
|
|
1609
|
+
# A result object deserialized from the server's reply
|
|
1610
|
+
def get_exadb_vm_cluster request_pb, options = nil
|
|
1611
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1612
|
+
|
|
1613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_exadb_vm_cluster_request request_pb
|
|
1614
|
+
query_string_params = if query_string_params.any?
|
|
1615
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1616
|
+
else
|
|
1617
|
+
{}
|
|
1618
|
+
end
|
|
1619
|
+
|
|
1620
|
+
response = @client_stub.make_http_request(
|
|
1621
|
+
verb,
|
|
1622
|
+
uri: uri,
|
|
1623
|
+
body: body || "",
|
|
1624
|
+
params: query_string_params,
|
|
1625
|
+
method_name: "get_exadb_vm_cluster",
|
|
1626
|
+
options: options
|
|
1627
|
+
)
|
|
1628
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1629
|
+
result = ::Google::Cloud::OracleDatabase::V1::ExadbVmCluster.decode_json response.body, ignore_unknown_fields: true
|
|
1630
|
+
catch :response do
|
|
1631
|
+
yield result, operation if block_given?
|
|
1632
|
+
result
|
|
1633
|
+
end
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1636
|
+
##
|
|
1637
|
+
# Baseline implementation for the create_exadb_vm_cluster REST call
|
|
1638
|
+
#
|
|
1639
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExadbVmClusterRequest]
|
|
1640
|
+
# A request object representing the call parameters. Required.
|
|
1641
|
+
# @param options [::Gapic::CallOptions]
|
|
1642
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1643
|
+
#
|
|
1644
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1645
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1646
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1647
|
+
#
|
|
1648
|
+
# @return [::Google::Longrunning::Operation]
|
|
1649
|
+
# A result object deserialized from the server's reply
|
|
1650
|
+
def create_exadb_vm_cluster request_pb, options = nil
|
|
1651
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1652
|
+
|
|
1653
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_exadb_vm_cluster_request request_pb
|
|
1654
|
+
query_string_params = if query_string_params.any?
|
|
1655
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1656
|
+
else
|
|
1657
|
+
{}
|
|
1658
|
+
end
|
|
1659
|
+
|
|
1660
|
+
response = @client_stub.make_http_request(
|
|
1661
|
+
verb,
|
|
1662
|
+
uri: uri,
|
|
1663
|
+
body: body || "",
|
|
1664
|
+
params: query_string_params,
|
|
1665
|
+
method_name: "create_exadb_vm_cluster",
|
|
1666
|
+
options: options
|
|
1667
|
+
)
|
|
1668
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1669
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1670
|
+
catch :response do
|
|
1671
|
+
yield result, operation if block_given?
|
|
1672
|
+
result
|
|
1673
|
+
end
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1676
|
+
##
|
|
1677
|
+
# Baseline implementation for the delete_exadb_vm_cluster REST call
|
|
1678
|
+
#
|
|
1679
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExadbVmClusterRequest]
|
|
1680
|
+
# A request object representing the call parameters. Required.
|
|
1681
|
+
# @param options [::Gapic::CallOptions]
|
|
1682
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1683
|
+
#
|
|
1684
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1685
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1686
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1687
|
+
#
|
|
1688
|
+
# @return [::Google::Longrunning::Operation]
|
|
1689
|
+
# A result object deserialized from the server's reply
|
|
1690
|
+
def delete_exadb_vm_cluster request_pb, options = nil
|
|
1691
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1692
|
+
|
|
1693
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_exadb_vm_cluster_request request_pb
|
|
1694
|
+
query_string_params = if query_string_params.any?
|
|
1695
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1696
|
+
else
|
|
1697
|
+
{}
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1700
|
+
response = @client_stub.make_http_request(
|
|
1701
|
+
verb,
|
|
1702
|
+
uri: uri,
|
|
1703
|
+
body: body || "",
|
|
1704
|
+
params: query_string_params,
|
|
1705
|
+
method_name: "delete_exadb_vm_cluster",
|
|
1706
|
+
options: options
|
|
1707
|
+
)
|
|
1708
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1709
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1710
|
+
catch :response do
|
|
1711
|
+
yield result, operation if block_given?
|
|
1712
|
+
result
|
|
1713
|
+
end
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1716
|
+
##
|
|
1717
|
+
# Baseline implementation for the update_exadb_vm_cluster REST call
|
|
1718
|
+
#
|
|
1719
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateExadbVmClusterRequest]
|
|
1720
|
+
# A request object representing the call parameters. Required.
|
|
1721
|
+
# @param options [::Gapic::CallOptions]
|
|
1722
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1723
|
+
#
|
|
1724
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1725
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1726
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1727
|
+
#
|
|
1728
|
+
# @return [::Google::Longrunning::Operation]
|
|
1729
|
+
# A result object deserialized from the server's reply
|
|
1730
|
+
def update_exadb_vm_cluster request_pb, options = nil
|
|
1731
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1732
|
+
|
|
1733
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_exadb_vm_cluster_request request_pb
|
|
1734
|
+
query_string_params = if query_string_params.any?
|
|
1735
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1736
|
+
else
|
|
1737
|
+
{}
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1740
|
+
response = @client_stub.make_http_request(
|
|
1741
|
+
verb,
|
|
1742
|
+
uri: uri,
|
|
1743
|
+
body: body || "",
|
|
1744
|
+
params: query_string_params,
|
|
1745
|
+
method_name: "update_exadb_vm_cluster",
|
|
1746
|
+
options: options
|
|
1747
|
+
)
|
|
1748
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1749
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1750
|
+
catch :response do
|
|
1751
|
+
yield result, operation if block_given?
|
|
1752
|
+
result
|
|
1753
|
+
end
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
##
|
|
1757
|
+
# Baseline implementation for the remove_virtual_machine_exadb_vm_cluster REST call
|
|
1758
|
+
#
|
|
1759
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RemoveVirtualMachineExadbVmClusterRequest]
|
|
1760
|
+
# A request object representing the call parameters. Required.
|
|
1761
|
+
# @param options [::Gapic::CallOptions]
|
|
1762
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1763
|
+
#
|
|
1764
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1765
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1766
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1767
|
+
#
|
|
1768
|
+
# @return [::Google::Longrunning::Operation]
|
|
1769
|
+
# A result object deserialized from the server's reply
|
|
1770
|
+
def remove_virtual_machine_exadb_vm_cluster request_pb, options = nil
|
|
1771
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1772
|
+
|
|
1773
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb
|
|
1774
|
+
query_string_params = if query_string_params.any?
|
|
1775
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1776
|
+
else
|
|
1777
|
+
{}
|
|
1778
|
+
end
|
|
1779
|
+
|
|
1780
|
+
response = @client_stub.make_http_request(
|
|
1781
|
+
verb,
|
|
1782
|
+
uri: uri,
|
|
1783
|
+
body: body || "",
|
|
1784
|
+
params: query_string_params,
|
|
1785
|
+
method_name: "remove_virtual_machine_exadb_vm_cluster",
|
|
1786
|
+
options: options
|
|
1787
|
+
)
|
|
1788
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1789
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1790
|
+
catch :response do
|
|
1791
|
+
yield result, operation if block_given?
|
|
1792
|
+
result
|
|
1793
|
+
end
|
|
1794
|
+
end
|
|
1795
|
+
|
|
1796
|
+
##
|
|
1797
|
+
# Baseline implementation for the list_exascale_db_storage_vaults REST call
|
|
1798
|
+
#
|
|
1799
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsRequest]
|
|
1800
|
+
# A request object representing the call parameters. Required.
|
|
1801
|
+
# @param options [::Gapic::CallOptions]
|
|
1802
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1803
|
+
#
|
|
1804
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1805
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsResponse]
|
|
1806
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1807
|
+
#
|
|
1808
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsResponse]
|
|
1809
|
+
# A result object deserialized from the server's reply
|
|
1810
|
+
def list_exascale_db_storage_vaults request_pb, options = nil
|
|
1811
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1812
|
+
|
|
1813
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_exascale_db_storage_vaults_request request_pb
|
|
1814
|
+
query_string_params = if query_string_params.any?
|
|
1815
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1816
|
+
else
|
|
1817
|
+
{}
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
response = @client_stub.make_http_request(
|
|
1821
|
+
verb,
|
|
1822
|
+
uri: uri,
|
|
1823
|
+
body: body || "",
|
|
1824
|
+
params: query_string_params,
|
|
1825
|
+
method_name: "list_exascale_db_storage_vaults",
|
|
1826
|
+
options: options
|
|
1827
|
+
)
|
|
1828
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1829
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1830
|
+
catch :response do
|
|
1831
|
+
yield result, operation if block_given?
|
|
1832
|
+
result
|
|
1833
|
+
end
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
##
|
|
1837
|
+
# Baseline implementation for the get_exascale_db_storage_vault REST call
|
|
1838
|
+
#
|
|
1839
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExascaleDbStorageVaultRequest]
|
|
1840
|
+
# A request object representing the call parameters. Required.
|
|
1841
|
+
# @param options [::Gapic::CallOptions]
|
|
1842
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1843
|
+
#
|
|
1844
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1845
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ExascaleDbStorageVault]
|
|
1846
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1847
|
+
#
|
|
1848
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ExascaleDbStorageVault]
|
|
1849
|
+
# A result object deserialized from the server's reply
|
|
1850
|
+
def get_exascale_db_storage_vault request_pb, options = nil
|
|
1851
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1852
|
+
|
|
1853
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_exascale_db_storage_vault_request request_pb
|
|
1854
|
+
query_string_params = if query_string_params.any?
|
|
1855
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1856
|
+
else
|
|
1857
|
+
{}
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
response = @client_stub.make_http_request(
|
|
1861
|
+
verb,
|
|
1862
|
+
uri: uri,
|
|
1863
|
+
body: body || "",
|
|
1864
|
+
params: query_string_params,
|
|
1865
|
+
method_name: "get_exascale_db_storage_vault",
|
|
1866
|
+
options: options
|
|
1867
|
+
)
|
|
1868
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1869
|
+
result = ::Google::Cloud::OracleDatabase::V1::ExascaleDbStorageVault.decode_json response.body, ignore_unknown_fields: true
|
|
1870
|
+
catch :response do
|
|
1871
|
+
yield result, operation if block_given?
|
|
1872
|
+
result
|
|
1873
|
+
end
|
|
1874
|
+
end
|
|
1875
|
+
|
|
1876
|
+
##
|
|
1877
|
+
# Baseline implementation for the create_exascale_db_storage_vault REST call
|
|
1878
|
+
#
|
|
1879
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExascaleDbStorageVaultRequest]
|
|
1880
|
+
# A request object representing the call parameters. Required.
|
|
1881
|
+
# @param options [::Gapic::CallOptions]
|
|
1882
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1883
|
+
#
|
|
1884
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1885
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1886
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1887
|
+
#
|
|
1888
|
+
# @return [::Google::Longrunning::Operation]
|
|
1889
|
+
# A result object deserialized from the server's reply
|
|
1890
|
+
def create_exascale_db_storage_vault request_pb, options = nil
|
|
1891
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1892
|
+
|
|
1893
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_exascale_db_storage_vault_request request_pb
|
|
1894
|
+
query_string_params = if query_string_params.any?
|
|
1895
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1896
|
+
else
|
|
1897
|
+
{}
|
|
1898
|
+
end
|
|
1899
|
+
|
|
1900
|
+
response = @client_stub.make_http_request(
|
|
1901
|
+
verb,
|
|
1902
|
+
uri: uri,
|
|
1903
|
+
body: body || "",
|
|
1904
|
+
params: query_string_params,
|
|
1905
|
+
method_name: "create_exascale_db_storage_vault",
|
|
1906
|
+
options: options
|
|
1907
|
+
)
|
|
1908
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1909
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1910
|
+
catch :response do
|
|
1911
|
+
yield result, operation if block_given?
|
|
1912
|
+
result
|
|
1913
|
+
end
|
|
1914
|
+
end
|
|
1915
|
+
|
|
1916
|
+
##
|
|
1917
|
+
# Baseline implementation for the delete_exascale_db_storage_vault REST call
|
|
1918
|
+
#
|
|
1919
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExascaleDbStorageVaultRequest]
|
|
1920
|
+
# A request object representing the call parameters. Required.
|
|
1921
|
+
# @param options [::Gapic::CallOptions]
|
|
1922
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1923
|
+
#
|
|
1924
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1925
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
1926
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1927
|
+
#
|
|
1928
|
+
# @return [::Google::Longrunning::Operation]
|
|
1929
|
+
# A result object deserialized from the server's reply
|
|
1930
|
+
def delete_exascale_db_storage_vault request_pb, options = nil
|
|
1931
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1932
|
+
|
|
1933
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_exascale_db_storage_vault_request request_pb
|
|
1934
|
+
query_string_params = if query_string_params.any?
|
|
1935
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1936
|
+
else
|
|
1937
|
+
{}
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
response = @client_stub.make_http_request(
|
|
1941
|
+
verb,
|
|
1942
|
+
uri: uri,
|
|
1943
|
+
body: body || "",
|
|
1944
|
+
params: query_string_params,
|
|
1945
|
+
method_name: "delete_exascale_db_storage_vault",
|
|
1946
|
+
options: options
|
|
1947
|
+
)
|
|
1948
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1949
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
1950
|
+
catch :response do
|
|
1951
|
+
yield result, operation if block_given?
|
|
1952
|
+
result
|
|
1953
|
+
end
|
|
1954
|
+
end
|
|
1955
|
+
|
|
1956
|
+
##
|
|
1957
|
+
# Baseline implementation for the list_db_system_initial_storage_sizes REST call
|
|
1958
|
+
#
|
|
1959
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesRequest]
|
|
1960
|
+
# A request object representing the call parameters. Required.
|
|
1961
|
+
# @param options [::Gapic::CallOptions]
|
|
1962
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1963
|
+
#
|
|
1964
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1965
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesResponse]
|
|
1966
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
1967
|
+
#
|
|
1968
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesResponse]
|
|
1969
|
+
# A result object deserialized from the server's reply
|
|
1970
|
+
def list_db_system_initial_storage_sizes request_pb, options = nil
|
|
1971
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
1972
|
+
|
|
1973
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_db_system_initial_storage_sizes_request request_pb
|
|
1974
|
+
query_string_params = if query_string_params.any?
|
|
1975
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1976
|
+
else
|
|
1977
|
+
{}
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
response = @client_stub.make_http_request(
|
|
1981
|
+
verb,
|
|
1982
|
+
uri: uri,
|
|
1983
|
+
body: body || "",
|
|
1984
|
+
params: query_string_params,
|
|
1985
|
+
method_name: "list_db_system_initial_storage_sizes",
|
|
1986
|
+
options: options
|
|
1987
|
+
)
|
|
1988
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
1989
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
1990
|
+
catch :response do
|
|
1991
|
+
yield result, operation if block_given?
|
|
1992
|
+
result
|
|
1993
|
+
end
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
##
|
|
1997
|
+
# Baseline implementation for the list_databases REST call
|
|
1998
|
+
#
|
|
1999
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabasesRequest]
|
|
2000
|
+
# A request object representing the call parameters. Required.
|
|
2001
|
+
# @param options [::Gapic::CallOptions]
|
|
2002
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2003
|
+
#
|
|
2004
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2005
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDatabasesResponse]
|
|
2006
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2007
|
+
#
|
|
2008
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDatabasesResponse]
|
|
2009
|
+
# A result object deserialized from the server's reply
|
|
2010
|
+
def list_databases request_pb, options = nil
|
|
2011
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2012
|
+
|
|
2013
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_databases_request request_pb
|
|
2014
|
+
query_string_params = if query_string_params.any?
|
|
2015
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2016
|
+
else
|
|
2017
|
+
{}
|
|
2018
|
+
end
|
|
2019
|
+
|
|
2020
|
+
response = @client_stub.make_http_request(
|
|
2021
|
+
verb,
|
|
2022
|
+
uri: uri,
|
|
2023
|
+
body: body || "",
|
|
2024
|
+
params: query_string_params,
|
|
2025
|
+
method_name: "list_databases",
|
|
2026
|
+
options: options
|
|
2027
|
+
)
|
|
2028
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2029
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDatabasesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2030
|
+
catch :response do
|
|
2031
|
+
yield result, operation if block_given?
|
|
2032
|
+
result
|
|
2033
|
+
end
|
|
2034
|
+
end
|
|
2035
|
+
|
|
2036
|
+
##
|
|
2037
|
+
# Baseline implementation for the get_database REST call
|
|
2038
|
+
#
|
|
2039
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDatabaseRequest]
|
|
2040
|
+
# A request object representing the call parameters. Required.
|
|
2041
|
+
# @param options [::Gapic::CallOptions]
|
|
2042
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2043
|
+
#
|
|
2044
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2045
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::Database]
|
|
2046
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2047
|
+
#
|
|
2048
|
+
# @return [::Google::Cloud::OracleDatabase::V1::Database]
|
|
2049
|
+
# A result object deserialized from the server's reply
|
|
2050
|
+
def get_database request_pb, options = nil
|
|
2051
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2052
|
+
|
|
2053
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_database_request request_pb
|
|
2054
|
+
query_string_params = if query_string_params.any?
|
|
2055
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2056
|
+
else
|
|
2057
|
+
{}
|
|
2058
|
+
end
|
|
2059
|
+
|
|
2060
|
+
response = @client_stub.make_http_request(
|
|
2061
|
+
verb,
|
|
2062
|
+
uri: uri,
|
|
2063
|
+
body: body || "",
|
|
2064
|
+
params: query_string_params,
|
|
2065
|
+
method_name: "get_database",
|
|
2066
|
+
options: options
|
|
2067
|
+
)
|
|
2068
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2069
|
+
result = ::Google::Cloud::OracleDatabase::V1::Database.decode_json response.body, ignore_unknown_fields: true
|
|
2070
|
+
catch :response do
|
|
2071
|
+
yield result, operation if block_given?
|
|
2072
|
+
result
|
|
2073
|
+
end
|
|
2074
|
+
end
|
|
2075
|
+
|
|
2076
|
+
##
|
|
2077
|
+
# Baseline implementation for the list_pluggable_databases REST call
|
|
2078
|
+
#
|
|
2079
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesRequest]
|
|
2080
|
+
# A request object representing the call parameters. Required.
|
|
2081
|
+
# @param options [::Gapic::CallOptions]
|
|
2082
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2083
|
+
#
|
|
2084
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2085
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesResponse]
|
|
2086
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2087
|
+
#
|
|
2088
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesResponse]
|
|
2089
|
+
# A result object deserialized from the server's reply
|
|
2090
|
+
def list_pluggable_databases request_pb, options = nil
|
|
2091
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2092
|
+
|
|
2093
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_pluggable_databases_request request_pb
|
|
2094
|
+
query_string_params = if query_string_params.any?
|
|
2095
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2096
|
+
else
|
|
2097
|
+
{}
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
response = @client_stub.make_http_request(
|
|
2101
|
+
verb,
|
|
2102
|
+
uri: uri,
|
|
2103
|
+
body: body || "",
|
|
2104
|
+
params: query_string_params,
|
|
2105
|
+
method_name: "list_pluggable_databases",
|
|
2106
|
+
options: options
|
|
2107
|
+
)
|
|
2108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2109
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2110
|
+
catch :response do
|
|
2111
|
+
yield result, operation if block_given?
|
|
2112
|
+
result
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
##
|
|
2117
|
+
# Baseline implementation for the get_pluggable_database REST call
|
|
2118
|
+
#
|
|
2119
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetPluggableDatabaseRequest]
|
|
2120
|
+
# A request object representing the call parameters. Required.
|
|
2121
|
+
# @param options [::Gapic::CallOptions]
|
|
2122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2123
|
+
#
|
|
2124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2125
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::PluggableDatabase]
|
|
2126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2127
|
+
#
|
|
2128
|
+
# @return [::Google::Cloud::OracleDatabase::V1::PluggableDatabase]
|
|
2129
|
+
# A result object deserialized from the server's reply
|
|
2130
|
+
def get_pluggable_database request_pb, options = nil
|
|
2131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2132
|
+
|
|
2133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_pluggable_database_request request_pb
|
|
2134
|
+
query_string_params = if query_string_params.any?
|
|
2135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2136
|
+
else
|
|
2137
|
+
{}
|
|
2138
|
+
end
|
|
2139
|
+
|
|
2140
|
+
response = @client_stub.make_http_request(
|
|
2141
|
+
verb,
|
|
2142
|
+
uri: uri,
|
|
2143
|
+
body: body || "",
|
|
2144
|
+
params: query_string_params,
|
|
2145
|
+
method_name: "get_pluggable_database",
|
|
2146
|
+
options: options
|
|
2147
|
+
)
|
|
2148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2149
|
+
result = ::Google::Cloud::OracleDatabase::V1::PluggableDatabase.decode_json response.body, ignore_unknown_fields: true
|
|
2150
|
+
catch :response do
|
|
2151
|
+
yield result, operation if block_given?
|
|
2152
|
+
result
|
|
2153
|
+
end
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
##
|
|
2157
|
+
# Baseline implementation for the list_db_systems REST call
|
|
2158
|
+
#
|
|
2159
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemsRequest]
|
|
2160
|
+
# A request object representing the call parameters. Required.
|
|
2161
|
+
# @param options [::Gapic::CallOptions]
|
|
2162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2163
|
+
#
|
|
2164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2165
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbSystemsResponse]
|
|
2166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2167
|
+
#
|
|
2168
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDbSystemsResponse]
|
|
2169
|
+
# A result object deserialized from the server's reply
|
|
2170
|
+
def list_db_systems request_pb, options = nil
|
|
2171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2172
|
+
|
|
2173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_db_systems_request request_pb
|
|
2174
|
+
query_string_params = if query_string_params.any?
|
|
2175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2176
|
+
else
|
|
2177
|
+
{}
|
|
2178
|
+
end
|
|
2179
|
+
|
|
2180
|
+
response = @client_stub.make_http_request(
|
|
2181
|
+
verb,
|
|
2182
|
+
uri: uri,
|
|
2183
|
+
body: body || "",
|
|
2184
|
+
params: query_string_params,
|
|
2185
|
+
method_name: "list_db_systems",
|
|
2186
|
+
options: options
|
|
2187
|
+
)
|
|
2188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2189
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDbSystemsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2190
|
+
catch :response do
|
|
2191
|
+
yield result, operation if block_given?
|
|
2192
|
+
result
|
|
2193
|
+
end
|
|
2194
|
+
end
|
|
2195
|
+
|
|
2196
|
+
##
|
|
2197
|
+
# Baseline implementation for the get_db_system REST call
|
|
2198
|
+
#
|
|
2199
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDbSystemRequest]
|
|
2200
|
+
# A request object representing the call parameters. Required.
|
|
2201
|
+
# @param options [::Gapic::CallOptions]
|
|
2202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2203
|
+
#
|
|
2204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2205
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::DbSystem]
|
|
2206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2207
|
+
#
|
|
2208
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbSystem]
|
|
2209
|
+
# A result object deserialized from the server's reply
|
|
2210
|
+
def get_db_system request_pb, options = nil
|
|
2211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2212
|
+
|
|
2213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_db_system_request request_pb
|
|
2214
|
+
query_string_params = if query_string_params.any?
|
|
2215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2216
|
+
else
|
|
2217
|
+
{}
|
|
2218
|
+
end
|
|
2219
|
+
|
|
2220
|
+
response = @client_stub.make_http_request(
|
|
2221
|
+
verb,
|
|
2222
|
+
uri: uri,
|
|
2223
|
+
body: body || "",
|
|
2224
|
+
params: query_string_params,
|
|
2225
|
+
method_name: "get_db_system",
|
|
2226
|
+
options: options
|
|
2227
|
+
)
|
|
2228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2229
|
+
result = ::Google::Cloud::OracleDatabase::V1::DbSystem.decode_json response.body, ignore_unknown_fields: true
|
|
2230
|
+
catch :response do
|
|
2231
|
+
yield result, operation if block_given?
|
|
2232
|
+
result
|
|
2233
|
+
end
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2236
|
+
##
|
|
2237
|
+
# Baseline implementation for the create_db_system REST call
|
|
2238
|
+
#
|
|
2239
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest]
|
|
2240
|
+
# A request object representing the call parameters. Required.
|
|
2241
|
+
# @param options [::Gapic::CallOptions]
|
|
2242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2243
|
+
#
|
|
2244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2245
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2247
|
+
#
|
|
2248
|
+
# @return [::Google::Longrunning::Operation]
|
|
2249
|
+
# A result object deserialized from the server's reply
|
|
2250
|
+
def create_db_system request_pb, options = nil
|
|
2251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2252
|
+
|
|
2253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_db_system_request request_pb
|
|
2254
|
+
query_string_params = if query_string_params.any?
|
|
2255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2256
|
+
else
|
|
2257
|
+
{}
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
response = @client_stub.make_http_request(
|
|
2261
|
+
verb,
|
|
2262
|
+
uri: uri,
|
|
2263
|
+
body: body || "",
|
|
2264
|
+
params: query_string_params,
|
|
2265
|
+
method_name: "create_db_system",
|
|
2266
|
+
options: options
|
|
2267
|
+
)
|
|
2268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2269
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2270
|
+
catch :response do
|
|
2271
|
+
yield result, operation if block_given?
|
|
2272
|
+
result
|
|
2273
|
+
end
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
##
|
|
2277
|
+
# Baseline implementation for the delete_db_system REST call
|
|
2278
|
+
#
|
|
2279
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest]
|
|
2280
|
+
# A request object representing the call parameters. Required.
|
|
2281
|
+
# @param options [::Gapic::CallOptions]
|
|
2282
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2283
|
+
#
|
|
2284
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2285
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2286
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2287
|
+
#
|
|
2288
|
+
# @return [::Google::Longrunning::Operation]
|
|
2289
|
+
# A result object deserialized from the server's reply
|
|
2290
|
+
def delete_db_system request_pb, options = nil
|
|
2291
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2292
|
+
|
|
2293
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_db_system_request request_pb
|
|
2294
|
+
query_string_params = if query_string_params.any?
|
|
2295
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2296
|
+
else
|
|
2297
|
+
{}
|
|
2298
|
+
end
|
|
2299
|
+
|
|
2300
|
+
response = @client_stub.make_http_request(
|
|
2301
|
+
verb,
|
|
2302
|
+
uri: uri,
|
|
2303
|
+
body: body || "",
|
|
2304
|
+
params: query_string_params,
|
|
2305
|
+
method_name: "delete_db_system",
|
|
2306
|
+
options: options
|
|
2307
|
+
)
|
|
2308
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2309
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2310
|
+
catch :response do
|
|
2311
|
+
yield result, operation if block_given?
|
|
2312
|
+
result
|
|
2313
|
+
end
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2316
|
+
##
|
|
2317
|
+
# Baseline implementation for the list_db_versions REST call
|
|
2318
|
+
#
|
|
2319
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest]
|
|
2320
|
+
# A request object representing the call parameters. Required.
|
|
2321
|
+
# @param options [::Gapic::CallOptions]
|
|
2322
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2323
|
+
#
|
|
2324
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2325
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse]
|
|
2326
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2327
|
+
#
|
|
2328
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse]
|
|
2329
|
+
# A result object deserialized from the server's reply
|
|
2330
|
+
def list_db_versions request_pb, options = nil
|
|
2331
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2332
|
+
|
|
2333
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_db_versions_request request_pb
|
|
2334
|
+
query_string_params = if query_string_params.any?
|
|
2335
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2336
|
+
else
|
|
2337
|
+
{}
|
|
2338
|
+
end
|
|
2339
|
+
|
|
2340
|
+
response = @client_stub.make_http_request(
|
|
2341
|
+
verb,
|
|
2342
|
+
uri: uri,
|
|
2343
|
+
body: body || "",
|
|
2344
|
+
params: query_string_params,
|
|
2345
|
+
method_name: "list_db_versions",
|
|
2346
|
+
options: options
|
|
2347
|
+
)
|
|
2348
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2349
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2350
|
+
catch :response do
|
|
2351
|
+
yield result, operation if block_given?
|
|
2352
|
+
result
|
|
2353
|
+
end
|
|
2354
|
+
end
|
|
2355
|
+
|
|
2356
|
+
##
|
|
2357
|
+
# Baseline implementation for the list_database_character_sets REST call
|
|
2358
|
+
#
|
|
2359
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest]
|
|
2360
|
+
# A request object representing the call parameters. Required.
|
|
2361
|
+
# @param options [::Gapic::CallOptions]
|
|
2362
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2363
|
+
#
|
|
2364
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2365
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse]
|
|
2366
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2367
|
+
#
|
|
2368
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse]
|
|
2369
|
+
# A result object deserialized from the server's reply
|
|
2370
|
+
def list_database_character_sets request_pb, options = nil
|
|
2371
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2372
|
+
|
|
2373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_database_character_sets_request request_pb
|
|
2374
|
+
query_string_params = if query_string_params.any?
|
|
2375
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2376
|
+
else
|
|
2377
|
+
{}
|
|
2378
|
+
end
|
|
2379
|
+
|
|
2380
|
+
response = @client_stub.make_http_request(
|
|
2381
|
+
verb,
|
|
2382
|
+
uri: uri,
|
|
2383
|
+
body: body || "",
|
|
2384
|
+
params: query_string_params,
|
|
2385
|
+
method_name: "list_database_character_sets",
|
|
2386
|
+
options: options
|
|
2387
|
+
)
|
|
2388
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2389
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2390
|
+
catch :response do
|
|
2391
|
+
yield result, operation if block_given?
|
|
2392
|
+
result
|
|
2393
|
+
end
|
|
2394
|
+
end
|
|
2395
|
+
|
|
2396
|
+
##
|
|
2397
|
+
# @private
|
|
2398
|
+
#
|
|
2399
|
+
# GRPC transcoding helper method for the list_cloud_exadata_infrastructures REST call
|
|
2400
|
+
#
|
|
2401
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudExadataInfrastructuresRequest]
|
|
2402
|
+
# A request object representing the call parameters. Required.
|
|
2403
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2404
|
+
# Uri, Body, Query string parameters
|
|
2405
|
+
def self.transcode_list_cloud_exadata_infrastructures_request request_pb
|
|
2406
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2407
|
+
.with_bindings(
|
|
2408
|
+
uri_method: :get,
|
|
2409
|
+
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
2410
|
+
matches: [
|
|
2411
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2412
|
+
]
|
|
2413
|
+
)
|
|
2414
|
+
transcoder.transcode request_pb
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2417
|
+
##
|
|
2418
|
+
# @private
|
|
2419
|
+
#
|
|
2420
|
+
# GRPC transcoding helper method for the get_cloud_exadata_infrastructure REST call
|
|
2421
|
+
#
|
|
2422
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudExadataInfrastructureRequest]
|
|
2423
|
+
# A request object representing the call parameters. Required.
|
|
2424
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2425
|
+
# Uri, Body, Query string parameters
|
|
2426
|
+
def self.transcode_get_cloud_exadata_infrastructure_request request_pb
|
|
2427
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2428
|
+
.with_bindings(
|
|
2429
|
+
uri_method: :get,
|
|
2430
|
+
uri_template: "/v1/{name}",
|
|
2431
|
+
matches: [
|
|
2432
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
2433
|
+
]
|
|
2434
|
+
)
|
|
2435
|
+
transcoder.transcode request_pb
|
|
2436
|
+
end
|
|
2437
|
+
|
|
2438
|
+
##
|
|
2439
|
+
# @private
|
|
2440
|
+
#
|
|
2441
|
+
# GRPC transcoding helper method for the create_cloud_exadata_infrastructure REST call
|
|
2442
|
+
#
|
|
2443
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudExadataInfrastructureRequest]
|
|
2444
|
+
# A request object representing the call parameters. Required.
|
|
2445
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2446
|
+
# Uri, Body, Query string parameters
|
|
2447
|
+
def self.transcode_create_cloud_exadata_infrastructure_request request_pb
|
|
2448
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2449
|
+
.with_bindings(
|
|
2450
|
+
uri_method: :post,
|
|
2451
|
+
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
2452
|
+
body: "cloud_exadata_infrastructure",
|
|
2453
|
+
matches: [
|
|
2454
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2455
|
+
]
|
|
2456
|
+
)
|
|
2457
|
+
transcoder.transcode request_pb
|
|
2458
|
+
end
|
|
2459
|
+
|
|
2460
|
+
##
|
|
2461
|
+
# @private
|
|
2462
|
+
#
|
|
2463
|
+
# GRPC transcoding helper method for the delete_cloud_exadata_infrastructure REST call
|
|
2464
|
+
#
|
|
2465
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudExadataInfrastructureRequest]
|
|
2466
|
+
# A request object representing the call parameters. Required.
|
|
2467
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2468
|
+
# Uri, Body, Query string parameters
|
|
2469
|
+
def self.transcode_delete_cloud_exadata_infrastructure_request request_pb
|
|
2470
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2471
|
+
.with_bindings(
|
|
2472
|
+
uri_method: :delete,
|
|
2473
|
+
uri_template: "/v1/{name}",
|
|
2474
|
+
matches: [
|
|
2475
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
2476
|
+
]
|
|
2477
|
+
)
|
|
2478
|
+
transcoder.transcode request_pb
|
|
2479
|
+
end
|
|
2480
|
+
|
|
2481
|
+
##
|
|
2482
|
+
# @private
|
|
2483
|
+
#
|
|
2484
|
+
# GRPC transcoding helper method for the list_cloud_vm_clusters REST call
|
|
2485
|
+
#
|
|
2486
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudVmClustersRequest]
|
|
2487
|
+
# A request object representing the call parameters. Required.
|
|
2488
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2489
|
+
# Uri, Body, Query string parameters
|
|
2490
|
+
def self.transcode_list_cloud_vm_clusters_request request_pb
|
|
2491
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2492
|
+
.with_bindings(
|
|
2493
|
+
uri_method: :get,
|
|
2494
|
+
uri_template: "/v1/{parent}/cloudVmClusters",
|
|
2495
|
+
matches: [
|
|
2496
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2497
|
+
]
|
|
2498
|
+
)
|
|
2499
|
+
transcoder.transcode request_pb
|
|
2500
|
+
end
|
|
2501
|
+
|
|
2502
|
+
##
|
|
2503
|
+
# @private
|
|
2504
|
+
#
|
|
2505
|
+
# GRPC transcoding helper method for the get_cloud_vm_cluster REST call
|
|
2506
|
+
#
|
|
2507
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudVmClusterRequest]
|
|
2508
|
+
# A request object representing the call parameters. Required.
|
|
2509
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2510
|
+
# Uri, Body, Query string parameters
|
|
2511
|
+
def self.transcode_get_cloud_vm_cluster_request request_pb
|
|
2512
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2513
|
+
.with_bindings(
|
|
2514
|
+
uri_method: :get,
|
|
2515
|
+
uri_template: "/v1/{name}",
|
|
2516
|
+
matches: [
|
|
2517
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
2518
|
+
]
|
|
2519
|
+
)
|
|
2520
|
+
transcoder.transcode request_pb
|
|
2521
|
+
end
|
|
2522
|
+
|
|
2523
|
+
##
|
|
2524
|
+
# @private
|
|
2525
|
+
#
|
|
2526
|
+
# GRPC transcoding helper method for the create_cloud_vm_cluster REST call
|
|
2527
|
+
#
|
|
2528
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudVmClusterRequest]
|
|
2529
|
+
# A request object representing the call parameters. Required.
|
|
2530
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2531
|
+
# Uri, Body, Query string parameters
|
|
2532
|
+
def self.transcode_create_cloud_vm_cluster_request request_pb
|
|
2533
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2534
|
+
.with_bindings(
|
|
2535
|
+
uri_method: :post,
|
|
2536
|
+
uri_template: "/v1/{parent}/cloudVmClusters",
|
|
2537
|
+
body: "cloud_vm_cluster",
|
|
2538
|
+
matches: [
|
|
2539
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2540
|
+
]
|
|
2541
|
+
)
|
|
2542
|
+
transcoder.transcode request_pb
|
|
2543
|
+
end
|
|
2544
|
+
|
|
2545
|
+
##
|
|
2546
|
+
# @private
|
|
2547
|
+
#
|
|
2548
|
+
# GRPC transcoding helper method for the delete_cloud_vm_cluster REST call
|
|
2549
|
+
#
|
|
2550
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudVmClusterRequest]
|
|
2551
|
+
# A request object representing the call parameters. Required.
|
|
2552
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2553
|
+
# Uri, Body, Query string parameters
|
|
2554
|
+
def self.transcode_delete_cloud_vm_cluster_request request_pb
|
|
2555
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2556
|
+
.with_bindings(
|
|
2557
|
+
uri_method: :delete,
|
|
2558
|
+
uri_template: "/v1/{name}",
|
|
2559
|
+
matches: [
|
|
2560
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
2561
|
+
]
|
|
2562
|
+
)
|
|
2563
|
+
transcoder.transcode request_pb
|
|
2564
|
+
end
|
|
2565
|
+
|
|
2566
|
+
##
|
|
2567
|
+
# @private
|
|
2568
|
+
#
|
|
2569
|
+
# GRPC transcoding helper method for the list_entitlements REST call
|
|
2570
|
+
#
|
|
2571
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListEntitlementsRequest]
|
|
2572
|
+
# A request object representing the call parameters. Required.
|
|
2573
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2574
|
+
# Uri, Body, Query string parameters
|
|
2575
|
+
def self.transcode_list_entitlements_request request_pb
|
|
2576
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2577
|
+
.with_bindings(
|
|
2578
|
+
uri_method: :get,
|
|
2579
|
+
uri_template: "/v1/{parent}/entitlements",
|
|
2580
|
+
matches: [
|
|
2581
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2582
|
+
]
|
|
2583
|
+
)
|
|
2584
|
+
transcoder.transcode request_pb
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
##
|
|
2588
|
+
# @private
|
|
2589
|
+
#
|
|
2590
|
+
# GRPC transcoding helper method for the list_db_servers REST call
|
|
2591
|
+
#
|
|
2592
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbServersRequest]
|
|
2593
|
+
# A request object representing the call parameters. Required.
|
|
2594
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2595
|
+
# Uri, Body, Query string parameters
|
|
2596
|
+
def self.transcode_list_db_servers_request request_pb
|
|
2597
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2598
|
+
.with_bindings(
|
|
2599
|
+
uri_method: :get,
|
|
2600
|
+
uri_template: "/v1/{parent}/dbServers",
|
|
2601
|
+
matches: [
|
|
2602
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
2603
|
+
]
|
|
2604
|
+
)
|
|
2605
|
+
transcoder.transcode request_pb
|
|
2606
|
+
end
|
|
2607
|
+
|
|
2608
|
+
##
|
|
2609
|
+
# @private
|
|
2610
|
+
#
|
|
2611
|
+
# GRPC transcoding helper method for the list_db_nodes REST call
|
|
2612
|
+
#
|
|
2613
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbNodesRequest]
|
|
2614
|
+
# A request object representing the call parameters. Required.
|
|
2615
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2616
|
+
# Uri, Body, Query string parameters
|
|
2617
|
+
def self.transcode_list_db_nodes_request request_pb
|
|
2618
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2619
|
+
.with_bindings(
|
|
2620
|
+
uri_method: :get,
|
|
2621
|
+
uri_template: "/v1/{parent}/dbNodes",
|
|
2622
|
+
matches: [
|
|
2623
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
2624
|
+
]
|
|
2625
|
+
)
|
|
2626
|
+
.with_bindings(
|
|
2627
|
+
uri_method: :get,
|
|
2628
|
+
uri_template: "/v1/{parent}/dbNodes",
|
|
2629
|
+
matches: [
|
|
2630
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
2631
|
+
]
|
|
2632
|
+
)
|
|
2633
|
+
transcoder.transcode request_pb
|
|
2634
|
+
end
|
|
2635
|
+
|
|
2636
|
+
##
|
|
2637
|
+
# @private
|
|
2638
|
+
#
|
|
2639
|
+
# GRPC transcoding helper method for the list_gi_versions REST call
|
|
2640
|
+
#
|
|
2641
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGiVersionsRequest]
|
|
2642
|
+
# A request object representing the call parameters. Required.
|
|
2643
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2644
|
+
# Uri, Body, Query string parameters
|
|
2645
|
+
def self.transcode_list_gi_versions_request request_pb
|
|
2646
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2647
|
+
.with_bindings(
|
|
2648
|
+
uri_method: :get,
|
|
2649
|
+
uri_template: "/v1/{parent}/giVersions",
|
|
2650
|
+
matches: [
|
|
2651
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2652
|
+
]
|
|
2653
|
+
)
|
|
2654
|
+
transcoder.transcode request_pb
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2657
|
+
##
|
|
2658
|
+
# @private
|
|
2659
|
+
#
|
|
2660
|
+
# GRPC transcoding helper method for the list_minor_versions REST call
|
|
2661
|
+
#
|
|
2662
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsRequest]
|
|
2663
|
+
# A request object representing the call parameters. Required.
|
|
2664
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2665
|
+
# Uri, Body, Query string parameters
|
|
2666
|
+
def self.transcode_list_minor_versions_request request_pb
|
|
2667
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2668
|
+
.with_bindings(
|
|
2669
|
+
uri_method: :get,
|
|
2670
|
+
uri_template: "/v1/{parent}/minorVersions",
|
|
2671
|
+
matches: [
|
|
2672
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/giVersions/[^/]+/?$}, false]
|
|
2673
|
+
]
|
|
2674
|
+
)
|
|
2675
|
+
transcoder.transcode request_pb
|
|
2676
|
+
end
|
|
2677
|
+
|
|
2678
|
+
##
|
|
2679
|
+
# @private
|
|
2680
|
+
#
|
|
2681
|
+
# GRPC transcoding helper method for the list_db_system_shapes REST call
|
|
2682
|
+
#
|
|
2683
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemShapesRequest]
|
|
2684
|
+
# A request object representing the call parameters. Required.
|
|
2685
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2686
|
+
# Uri, Body, Query string parameters
|
|
2687
|
+
def self.transcode_list_db_system_shapes_request request_pb
|
|
2688
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2689
|
+
.with_bindings(
|
|
2690
|
+
uri_method: :get,
|
|
2691
|
+
uri_template: "/v1/{parent}/dbSystemShapes",
|
|
2692
|
+
matches: [
|
|
2693
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2694
|
+
]
|
|
2695
|
+
)
|
|
2696
|
+
transcoder.transcode request_pb
|
|
2697
|
+
end
|
|
2698
|
+
|
|
2699
|
+
##
|
|
2700
|
+
# @private
|
|
2701
|
+
#
|
|
2702
|
+
# GRPC transcoding helper method for the list_autonomous_databases REST call
|
|
2703
|
+
#
|
|
2704
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabasesRequest]
|
|
2705
|
+
# A request object representing the call parameters. Required.
|
|
2706
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2707
|
+
# Uri, Body, Query string parameters
|
|
2708
|
+
def self.transcode_list_autonomous_databases_request request_pb
|
|
2709
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2710
|
+
.with_bindings(
|
|
2711
|
+
uri_method: :get,
|
|
2712
|
+
uri_template: "/v1/{parent}/autonomousDatabases",
|
|
2713
|
+
matches: [
|
|
2714
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2715
|
+
]
|
|
2716
|
+
)
|
|
2717
|
+
transcoder.transcode request_pb
|
|
2718
|
+
end
|
|
2719
|
+
|
|
2720
|
+
##
|
|
2721
|
+
# @private
|
|
2722
|
+
#
|
|
2723
|
+
# GRPC transcoding helper method for the get_autonomous_database REST call
|
|
2724
|
+
#
|
|
2725
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetAutonomousDatabaseRequest]
|
|
2726
|
+
# A request object representing the call parameters. Required.
|
|
2727
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2728
|
+
# Uri, Body, Query string parameters
|
|
2729
|
+
def self.transcode_get_autonomous_database_request request_pb
|
|
2730
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2731
|
+
.with_bindings(
|
|
2732
|
+
uri_method: :get,
|
|
2733
|
+
uri_template: "/v1/{name}",
|
|
2734
|
+
matches: [
|
|
2735
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2736
|
+
]
|
|
2737
|
+
)
|
|
2738
|
+
transcoder.transcode request_pb
|
|
2739
|
+
end
|
|
2740
|
+
|
|
2741
|
+
##
|
|
2742
|
+
# @private
|
|
2743
|
+
#
|
|
2744
|
+
# GRPC transcoding helper method for the create_autonomous_database REST call
|
|
2745
|
+
#
|
|
2746
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateAutonomousDatabaseRequest]
|
|
2747
|
+
# A request object representing the call parameters. Required.
|
|
2748
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2749
|
+
# Uri, Body, Query string parameters
|
|
2750
|
+
def self.transcode_create_autonomous_database_request request_pb
|
|
2751
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2752
|
+
.with_bindings(
|
|
2753
|
+
uri_method: :post,
|
|
2754
|
+
uri_template: "/v1/{parent}/autonomousDatabases",
|
|
2755
|
+
body: "autonomous_database",
|
|
2756
|
+
matches: [
|
|
2757
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2758
|
+
]
|
|
2759
|
+
)
|
|
2760
|
+
transcoder.transcode request_pb
|
|
2761
|
+
end
|
|
2762
|
+
|
|
2763
|
+
##
|
|
2764
|
+
# @private
|
|
2765
|
+
#
|
|
2766
|
+
# GRPC transcoding helper method for the update_autonomous_database REST call
|
|
2767
|
+
#
|
|
2768
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateAutonomousDatabaseRequest]
|
|
2769
|
+
# A request object representing the call parameters. Required.
|
|
2770
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2771
|
+
# Uri, Body, Query string parameters
|
|
2772
|
+
def self.transcode_update_autonomous_database_request request_pb
|
|
2773
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2774
|
+
.with_bindings(
|
|
2775
|
+
uri_method: :patch,
|
|
2776
|
+
uri_template: "/v1/{autonomous_database.name}",
|
|
2777
|
+
body: "autonomous_database",
|
|
2778
|
+
matches: [
|
|
2779
|
+
["autonomous_database.name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2780
|
+
]
|
|
2781
|
+
)
|
|
2782
|
+
transcoder.transcode request_pb
|
|
2783
|
+
end
|
|
2784
|
+
|
|
2785
|
+
##
|
|
2786
|
+
# @private
|
|
2787
|
+
#
|
|
2788
|
+
# GRPC transcoding helper method for the delete_autonomous_database REST call
|
|
2789
|
+
#
|
|
2790
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteAutonomousDatabaseRequest]
|
|
2791
|
+
# A request object representing the call parameters. Required.
|
|
2792
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2793
|
+
# Uri, Body, Query string parameters
|
|
2794
|
+
def self.transcode_delete_autonomous_database_request request_pb
|
|
2795
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2796
|
+
.with_bindings(
|
|
2797
|
+
uri_method: :delete,
|
|
2798
|
+
uri_template: "/v1/{name}",
|
|
2799
|
+
matches: [
|
|
2800
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2801
|
+
]
|
|
2802
|
+
)
|
|
2803
|
+
transcoder.transcode request_pb
|
|
2804
|
+
end
|
|
2805
|
+
|
|
2806
|
+
##
|
|
2807
|
+
# @private
|
|
2808
|
+
#
|
|
2809
|
+
# GRPC transcoding helper method for the restore_autonomous_database REST call
|
|
2810
|
+
#
|
|
2811
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestoreAutonomousDatabaseRequest]
|
|
2812
|
+
# A request object representing the call parameters. Required.
|
|
2813
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2814
|
+
# Uri, Body, Query string parameters
|
|
2815
|
+
def self.transcode_restore_autonomous_database_request request_pb
|
|
2816
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2817
|
+
.with_bindings(
|
|
2818
|
+
uri_method: :post,
|
|
2819
|
+
uri_template: "/v1/{name}:restore",
|
|
2820
|
+
body: "*",
|
|
2821
|
+
matches: [
|
|
2822
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2823
|
+
]
|
|
2824
|
+
)
|
|
2825
|
+
transcoder.transcode request_pb
|
|
2826
|
+
end
|
|
2827
|
+
|
|
2828
|
+
##
|
|
2829
|
+
# @private
|
|
2830
|
+
#
|
|
2831
|
+
# GRPC transcoding helper method for the generate_autonomous_database_wallet REST call
|
|
2832
|
+
#
|
|
2833
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GenerateAutonomousDatabaseWalletRequest]
|
|
2834
|
+
# A request object representing the call parameters. Required.
|
|
2835
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2836
|
+
# Uri, Body, Query string parameters
|
|
2837
|
+
def self.transcode_generate_autonomous_database_wallet_request request_pb
|
|
2838
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2839
|
+
.with_bindings(
|
|
2840
|
+
uri_method: :post,
|
|
2841
|
+
uri_template: "/v1/{name}:generateWallet",
|
|
2842
|
+
body: "*",
|
|
2843
|
+
matches: [
|
|
2844
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2845
|
+
]
|
|
2846
|
+
)
|
|
2847
|
+
transcoder.transcode request_pb
|
|
2848
|
+
end
|
|
2849
|
+
|
|
2850
|
+
##
|
|
2851
|
+
# @private
|
|
2852
|
+
#
|
|
2853
|
+
# GRPC transcoding helper method for the list_autonomous_db_versions REST call
|
|
2854
|
+
#
|
|
2855
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDbVersionsRequest]
|
|
2856
|
+
# A request object representing the call parameters. Required.
|
|
2857
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2858
|
+
# Uri, Body, Query string parameters
|
|
2859
|
+
def self.transcode_list_autonomous_db_versions_request request_pb
|
|
2860
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2861
|
+
.with_bindings(
|
|
2862
|
+
uri_method: :get,
|
|
2863
|
+
uri_template: "/v1/{parent}/autonomousDbVersions",
|
|
2864
|
+
matches: [
|
|
2865
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2866
|
+
]
|
|
2867
|
+
)
|
|
2868
|
+
transcoder.transcode request_pb
|
|
2869
|
+
end
|
|
2870
|
+
|
|
2871
|
+
##
|
|
2872
|
+
# @private
|
|
2873
|
+
#
|
|
2874
|
+
# GRPC transcoding helper method for the list_autonomous_database_character_sets REST call
|
|
2875
|
+
#
|
|
2876
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsRequest]
|
|
2877
|
+
# A request object representing the call parameters. Required.
|
|
2878
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2879
|
+
# Uri, Body, Query string parameters
|
|
2880
|
+
def self.transcode_list_autonomous_database_character_sets_request request_pb
|
|
2881
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2882
|
+
.with_bindings(
|
|
2883
|
+
uri_method: :get,
|
|
2884
|
+
uri_template: "/v1/{parent}/autonomousDatabaseCharacterSets",
|
|
2885
|
+
matches: [
|
|
2886
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2887
|
+
]
|
|
2888
|
+
)
|
|
2889
|
+
transcoder.transcode request_pb
|
|
2890
|
+
end
|
|
2891
|
+
|
|
2892
|
+
##
|
|
2893
|
+
# @private
|
|
2894
|
+
#
|
|
2895
|
+
# GRPC transcoding helper method for the list_autonomous_database_backups REST call
|
|
2896
|
+
#
|
|
2897
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsRequest]
|
|
2898
|
+
# A request object representing the call parameters. Required.
|
|
2899
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2900
|
+
# Uri, Body, Query string parameters
|
|
2901
|
+
def self.transcode_list_autonomous_database_backups_request request_pb
|
|
2902
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2903
|
+
.with_bindings(
|
|
2904
|
+
uri_method: :get,
|
|
2905
|
+
uri_template: "/v1/{parent}/autonomousDatabaseBackups",
|
|
2906
|
+
matches: [
|
|
2907
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2908
|
+
]
|
|
2909
|
+
)
|
|
2910
|
+
transcoder.transcode request_pb
|
|
2911
|
+
end
|
|
2912
|
+
|
|
2913
|
+
##
|
|
2914
|
+
# @private
|
|
2915
|
+
#
|
|
2916
|
+
# GRPC transcoding helper method for the stop_autonomous_database REST call
|
|
2917
|
+
#
|
|
2918
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest]
|
|
2919
|
+
# A request object representing the call parameters. Required.
|
|
2920
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2921
|
+
# Uri, Body, Query string parameters
|
|
2922
|
+
def self.transcode_stop_autonomous_database_request request_pb
|
|
2923
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2924
|
+
.with_bindings(
|
|
2925
|
+
uri_method: :post,
|
|
2926
|
+
uri_template: "/v1/{name}:stop",
|
|
2927
|
+
body: "*",
|
|
2928
|
+
matches: [
|
|
2929
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2930
|
+
]
|
|
2931
|
+
)
|
|
2932
|
+
transcoder.transcode request_pb
|
|
2933
|
+
end
|
|
2934
|
+
|
|
2935
|
+
##
|
|
2936
|
+
# @private
|
|
2937
|
+
#
|
|
2938
|
+
# GRPC transcoding helper method for the start_autonomous_database REST call
|
|
2939
|
+
#
|
|
2940
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest]
|
|
2941
|
+
# A request object representing the call parameters. Required.
|
|
2942
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2943
|
+
# Uri, Body, Query string parameters
|
|
2944
|
+
def self.transcode_start_autonomous_database_request request_pb
|
|
2945
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2946
|
+
.with_bindings(
|
|
2947
|
+
uri_method: :post,
|
|
2948
|
+
uri_template: "/v1/{name}:start",
|
|
2949
|
+
body: "*",
|
|
2950
|
+
matches: [
|
|
2951
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2952
|
+
]
|
|
2953
|
+
)
|
|
2954
|
+
transcoder.transcode request_pb
|
|
2955
|
+
end
|
|
2956
|
+
|
|
2957
|
+
##
|
|
2958
|
+
# @private
|
|
2959
|
+
#
|
|
2960
|
+
# GRPC transcoding helper method for the restart_autonomous_database REST call
|
|
2961
|
+
#
|
|
2962
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest]
|
|
2963
|
+
# A request object representing the call parameters. Required.
|
|
2964
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2965
|
+
# Uri, Body, Query string parameters
|
|
2966
|
+
def self.transcode_restart_autonomous_database_request request_pb
|
|
2967
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2968
|
+
.with_bindings(
|
|
2969
|
+
uri_method: :post,
|
|
2970
|
+
uri_template: "/v1/{name}:restart",
|
|
2971
|
+
body: "*",
|
|
2972
|
+
matches: [
|
|
2973
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2974
|
+
]
|
|
2975
|
+
)
|
|
2976
|
+
transcoder.transcode request_pb
|
|
2977
|
+
end
|
|
2978
|
+
|
|
2979
|
+
##
|
|
2980
|
+
# @private
|
|
2981
|
+
#
|
|
2982
|
+
# GRPC transcoding helper method for the switchover_autonomous_database REST call
|
|
2983
|
+
#
|
|
2984
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest]
|
|
2985
|
+
# A request object representing the call parameters. Required.
|
|
2986
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2987
|
+
# Uri, Body, Query string parameters
|
|
2988
|
+
def self.transcode_switchover_autonomous_database_request request_pb
|
|
2989
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2990
|
+
.with_bindings(
|
|
2991
|
+
uri_method: :post,
|
|
2992
|
+
uri_template: "/v1/{name}:switchover",
|
|
2993
|
+
body: "*",
|
|
2994
|
+
matches: [
|
|
2995
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2996
|
+
]
|
|
2997
|
+
)
|
|
2998
|
+
transcoder.transcode request_pb
|
|
2999
|
+
end
|
|
3000
|
+
|
|
3001
|
+
##
|
|
3002
|
+
# @private
|
|
3003
|
+
#
|
|
3004
|
+
# GRPC transcoding helper method for the failover_autonomous_database REST call
|
|
3005
|
+
#
|
|
3006
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::FailoverAutonomousDatabaseRequest]
|
|
3007
|
+
# A request object representing the call parameters. Required.
|
|
3008
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3009
|
+
# Uri, Body, Query string parameters
|
|
3010
|
+
def self.transcode_failover_autonomous_database_request request_pb
|
|
3011
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3012
|
+
.with_bindings(
|
|
3013
|
+
uri_method: :post,
|
|
3014
|
+
uri_template: "/v1/{name}:failover",
|
|
3015
|
+
body: "*",
|
|
3016
|
+
matches: [
|
|
3017
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3018
|
+
]
|
|
3019
|
+
)
|
|
3020
|
+
transcoder.transcode request_pb
|
|
3021
|
+
end
|
|
3022
|
+
|
|
3023
|
+
##
|
|
3024
|
+
# @private
|
|
3025
|
+
#
|
|
3026
|
+
# GRPC transcoding helper method for the list_odb_networks REST call
|
|
3027
|
+
#
|
|
3028
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksRequest]
|
|
3029
|
+
# A request object representing the call parameters. Required.
|
|
3030
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3031
|
+
# Uri, Body, Query string parameters
|
|
3032
|
+
def self.transcode_list_odb_networks_request request_pb
|
|
3033
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3034
|
+
.with_bindings(
|
|
3035
|
+
uri_method: :get,
|
|
3036
|
+
uri_template: "/v1/{parent}/odbNetworks",
|
|
3037
|
+
matches: [
|
|
3038
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3039
|
+
]
|
|
3040
|
+
)
|
|
3041
|
+
transcoder.transcode request_pb
|
|
3042
|
+
end
|
|
3043
|
+
|
|
3044
|
+
##
|
|
3045
|
+
# @private
|
|
3046
|
+
#
|
|
3047
|
+
# GRPC transcoding helper method for the get_odb_network REST call
|
|
3048
|
+
#
|
|
3049
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbNetworkRequest]
|
|
3050
|
+
# A request object representing the call parameters. Required.
|
|
3051
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3052
|
+
# Uri, Body, Query string parameters
|
|
3053
|
+
def self.transcode_get_odb_network_request request_pb
|
|
3054
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3055
|
+
.with_bindings(
|
|
3056
|
+
uri_method: :get,
|
|
3057
|
+
uri_template: "/v1/{name}",
|
|
3058
|
+
matches: [
|
|
3059
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
3060
|
+
]
|
|
3061
|
+
)
|
|
3062
|
+
transcoder.transcode request_pb
|
|
3063
|
+
end
|
|
3064
|
+
|
|
3065
|
+
##
|
|
3066
|
+
# @private
|
|
1207
3067
|
#
|
|
1208
|
-
#
|
|
3068
|
+
# GRPC transcoding helper method for the create_odb_network REST call
|
|
3069
|
+
#
|
|
3070
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbNetworkRequest]
|
|
1209
3071
|
# A request object representing the call parameters. Required.
|
|
1210
3072
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1211
3073
|
# Uri, Body, Query string parameters
|
|
1212
|
-
def self.
|
|
3074
|
+
def self.transcode_create_odb_network_request request_pb
|
|
1213
3075
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1214
3076
|
.with_bindings(
|
|
1215
3077
|
uri_method: :post,
|
|
1216
|
-
uri_template: "/v1/{parent}/
|
|
1217
|
-
body: "
|
|
3078
|
+
uri_template: "/v1/{parent}/odbNetworks",
|
|
3079
|
+
body: "odb_network",
|
|
1218
3080
|
matches: [
|
|
1219
3081
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1220
3082
|
]
|
|
@@ -1225,19 +3087,19 @@ module Google
|
|
|
1225
3087
|
##
|
|
1226
3088
|
# @private
|
|
1227
3089
|
#
|
|
1228
|
-
# GRPC transcoding helper method for the
|
|
3090
|
+
# GRPC transcoding helper method for the delete_odb_network REST call
|
|
1229
3091
|
#
|
|
1230
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3092
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbNetworkRequest]
|
|
1231
3093
|
# A request object representing the call parameters. Required.
|
|
1232
3094
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1233
3095
|
# Uri, Body, Query string parameters
|
|
1234
|
-
def self.
|
|
3096
|
+
def self.transcode_delete_odb_network_request request_pb
|
|
1235
3097
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1236
3098
|
.with_bindings(
|
|
1237
3099
|
uri_method: :delete,
|
|
1238
3100
|
uri_template: "/v1/{name}",
|
|
1239
3101
|
matches: [
|
|
1240
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3102
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
1241
3103
|
]
|
|
1242
3104
|
)
|
|
1243
3105
|
transcoder.transcode request_pb
|
|
@@ -1246,19 +3108,19 @@ module Google
|
|
|
1246
3108
|
##
|
|
1247
3109
|
# @private
|
|
1248
3110
|
#
|
|
1249
|
-
# GRPC transcoding helper method for the
|
|
3111
|
+
# GRPC transcoding helper method for the list_odb_subnets REST call
|
|
1250
3112
|
#
|
|
1251
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3113
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsRequest]
|
|
1252
3114
|
# A request object representing the call parameters. Required.
|
|
1253
3115
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1254
3116
|
# Uri, Body, Query string parameters
|
|
1255
|
-
def self.
|
|
3117
|
+
def self.transcode_list_odb_subnets_request request_pb
|
|
1256
3118
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1257
3119
|
.with_bindings(
|
|
1258
3120
|
uri_method: :get,
|
|
1259
|
-
uri_template: "/v1/{parent}/
|
|
3121
|
+
uri_template: "/v1/{parent}/odbSubnets",
|
|
1260
3122
|
matches: [
|
|
1261
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3123
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
1262
3124
|
]
|
|
1263
3125
|
)
|
|
1264
3126
|
transcoder.transcode request_pb
|
|
@@ -1267,19 +3129,19 @@ module Google
|
|
|
1267
3129
|
##
|
|
1268
3130
|
# @private
|
|
1269
3131
|
#
|
|
1270
|
-
# GRPC transcoding helper method for the
|
|
3132
|
+
# GRPC transcoding helper method for the get_odb_subnet REST call
|
|
1271
3133
|
#
|
|
1272
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3134
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbSubnetRequest]
|
|
1273
3135
|
# A request object representing the call parameters. Required.
|
|
1274
3136
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1275
3137
|
# Uri, Body, Query string parameters
|
|
1276
|
-
def self.
|
|
3138
|
+
def self.transcode_get_odb_subnet_request request_pb
|
|
1277
3139
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1278
3140
|
.with_bindings(
|
|
1279
3141
|
uri_method: :get,
|
|
1280
|
-
uri_template: "/v1/{
|
|
3142
|
+
uri_template: "/v1/{name}",
|
|
1281
3143
|
matches: [
|
|
1282
|
-
["
|
|
3144
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false]
|
|
1283
3145
|
]
|
|
1284
3146
|
)
|
|
1285
3147
|
transcoder.transcode request_pb
|
|
@@ -1288,19 +3150,20 @@ module Google
|
|
|
1288
3150
|
##
|
|
1289
3151
|
# @private
|
|
1290
3152
|
#
|
|
1291
|
-
# GRPC transcoding helper method for the
|
|
3153
|
+
# GRPC transcoding helper method for the create_odb_subnet REST call
|
|
1292
3154
|
#
|
|
1293
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3155
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbSubnetRequest]
|
|
1294
3156
|
# A request object representing the call parameters. Required.
|
|
1295
3157
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1296
3158
|
# Uri, Body, Query string parameters
|
|
1297
|
-
def self.
|
|
3159
|
+
def self.transcode_create_odb_subnet_request request_pb
|
|
1298
3160
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1299
3161
|
.with_bindings(
|
|
1300
|
-
uri_method: :
|
|
1301
|
-
uri_template: "/v1/{parent}/
|
|
3162
|
+
uri_method: :post,
|
|
3163
|
+
uri_template: "/v1/{parent}/odbSubnets",
|
|
3164
|
+
body: "odb_subnet",
|
|
1302
3165
|
matches: [
|
|
1303
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/
|
|
3166
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
1304
3167
|
]
|
|
1305
3168
|
)
|
|
1306
3169
|
transcoder.transcode request_pb
|
|
@@ -1309,17 +3172,38 @@ module Google
|
|
|
1309
3172
|
##
|
|
1310
3173
|
# @private
|
|
1311
3174
|
#
|
|
1312
|
-
# GRPC transcoding helper method for the
|
|
3175
|
+
# GRPC transcoding helper method for the delete_odb_subnet REST call
|
|
1313
3176
|
#
|
|
1314
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3177
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbSubnetRequest]
|
|
1315
3178
|
# A request object representing the call parameters. Required.
|
|
1316
3179
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1317
3180
|
# Uri, Body, Query string parameters
|
|
1318
|
-
def self.
|
|
3181
|
+
def self.transcode_delete_odb_subnet_request request_pb
|
|
3182
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3183
|
+
.with_bindings(
|
|
3184
|
+
uri_method: :delete,
|
|
3185
|
+
uri_template: "/v1/{name}",
|
|
3186
|
+
matches: [
|
|
3187
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false]
|
|
3188
|
+
]
|
|
3189
|
+
)
|
|
3190
|
+
transcoder.transcode request_pb
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3193
|
+
##
|
|
3194
|
+
# @private
|
|
3195
|
+
#
|
|
3196
|
+
# GRPC transcoding helper method for the list_exadb_vm_clusters REST call
|
|
3197
|
+
#
|
|
3198
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersRequest]
|
|
3199
|
+
# A request object representing the call parameters. Required.
|
|
3200
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3201
|
+
# Uri, Body, Query string parameters
|
|
3202
|
+
def self.transcode_list_exadb_vm_clusters_request request_pb
|
|
1319
3203
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1320
3204
|
.with_bindings(
|
|
1321
3205
|
uri_method: :get,
|
|
1322
|
-
uri_template: "/v1/{parent}/
|
|
3206
|
+
uri_template: "/v1/{parent}/exadbVmClusters",
|
|
1323
3207
|
matches: [
|
|
1324
3208
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1325
3209
|
]
|
|
@@ -1330,17 +3214,39 @@ module Google
|
|
|
1330
3214
|
##
|
|
1331
3215
|
# @private
|
|
1332
3216
|
#
|
|
1333
|
-
# GRPC transcoding helper method for the
|
|
3217
|
+
# GRPC transcoding helper method for the get_exadb_vm_cluster REST call
|
|
1334
3218
|
#
|
|
1335
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3219
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExadbVmClusterRequest]
|
|
1336
3220
|
# A request object representing the call parameters. Required.
|
|
1337
3221
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1338
3222
|
# Uri, Body, Query string parameters
|
|
1339
|
-
def self.
|
|
3223
|
+
def self.transcode_get_exadb_vm_cluster_request request_pb
|
|
1340
3224
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1341
3225
|
.with_bindings(
|
|
1342
3226
|
uri_method: :get,
|
|
1343
|
-
uri_template: "/v1/{
|
|
3227
|
+
uri_template: "/v1/{name}",
|
|
3228
|
+
matches: [
|
|
3229
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
3230
|
+
]
|
|
3231
|
+
)
|
|
3232
|
+
transcoder.transcode request_pb
|
|
3233
|
+
end
|
|
3234
|
+
|
|
3235
|
+
##
|
|
3236
|
+
# @private
|
|
3237
|
+
#
|
|
3238
|
+
# GRPC transcoding helper method for the create_exadb_vm_cluster REST call
|
|
3239
|
+
#
|
|
3240
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExadbVmClusterRequest]
|
|
3241
|
+
# A request object representing the call parameters. Required.
|
|
3242
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3243
|
+
# Uri, Body, Query string parameters
|
|
3244
|
+
def self.transcode_create_exadb_vm_cluster_request request_pb
|
|
3245
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3246
|
+
.with_bindings(
|
|
3247
|
+
uri_method: :post,
|
|
3248
|
+
uri_template: "/v1/{parent}/exadbVmClusters",
|
|
3249
|
+
body: "exadb_vm_cluster",
|
|
1344
3250
|
matches: [
|
|
1345
3251
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1346
3252
|
]
|
|
@@ -1351,17 +3257,82 @@ module Google
|
|
|
1351
3257
|
##
|
|
1352
3258
|
# @private
|
|
1353
3259
|
#
|
|
1354
|
-
# GRPC transcoding helper method for the
|
|
3260
|
+
# GRPC transcoding helper method for the delete_exadb_vm_cluster REST call
|
|
1355
3261
|
#
|
|
1356
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3262
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExadbVmClusterRequest]
|
|
1357
3263
|
# A request object representing the call parameters. Required.
|
|
1358
3264
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1359
3265
|
# Uri, Body, Query string parameters
|
|
1360
|
-
def self.
|
|
3266
|
+
def self.transcode_delete_exadb_vm_cluster_request request_pb
|
|
3267
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3268
|
+
.with_bindings(
|
|
3269
|
+
uri_method: :delete,
|
|
3270
|
+
uri_template: "/v1/{name}",
|
|
3271
|
+
matches: [
|
|
3272
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
3273
|
+
]
|
|
3274
|
+
)
|
|
3275
|
+
transcoder.transcode request_pb
|
|
3276
|
+
end
|
|
3277
|
+
|
|
3278
|
+
##
|
|
3279
|
+
# @private
|
|
3280
|
+
#
|
|
3281
|
+
# GRPC transcoding helper method for the update_exadb_vm_cluster REST call
|
|
3282
|
+
#
|
|
3283
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateExadbVmClusterRequest]
|
|
3284
|
+
# A request object representing the call parameters. Required.
|
|
3285
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3286
|
+
# Uri, Body, Query string parameters
|
|
3287
|
+
def self.transcode_update_exadb_vm_cluster_request request_pb
|
|
3288
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3289
|
+
.with_bindings(
|
|
3290
|
+
uri_method: :patch,
|
|
3291
|
+
uri_template: "/v1/{exadb_vm_cluster.name}",
|
|
3292
|
+
body: "exadb_vm_cluster",
|
|
3293
|
+
matches: [
|
|
3294
|
+
["exadb_vm_cluster.name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
3295
|
+
]
|
|
3296
|
+
)
|
|
3297
|
+
transcoder.transcode request_pb
|
|
3298
|
+
end
|
|
3299
|
+
|
|
3300
|
+
##
|
|
3301
|
+
# @private
|
|
3302
|
+
#
|
|
3303
|
+
# GRPC transcoding helper method for the remove_virtual_machine_exadb_vm_cluster REST call
|
|
3304
|
+
#
|
|
3305
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RemoveVirtualMachineExadbVmClusterRequest]
|
|
3306
|
+
# A request object representing the call parameters. Required.
|
|
3307
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3308
|
+
# Uri, Body, Query string parameters
|
|
3309
|
+
def self.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb
|
|
3310
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3311
|
+
.with_bindings(
|
|
3312
|
+
uri_method: :post,
|
|
3313
|
+
uri_template: "/v1/{name}:removeVirtualMachine",
|
|
3314
|
+
body: "*",
|
|
3315
|
+
matches: [
|
|
3316
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
3317
|
+
]
|
|
3318
|
+
)
|
|
3319
|
+
transcoder.transcode request_pb
|
|
3320
|
+
end
|
|
3321
|
+
|
|
3322
|
+
##
|
|
3323
|
+
# @private
|
|
3324
|
+
#
|
|
3325
|
+
# GRPC transcoding helper method for the list_exascale_db_storage_vaults REST call
|
|
3326
|
+
#
|
|
3327
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsRequest]
|
|
3328
|
+
# A request object representing the call parameters. Required.
|
|
3329
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3330
|
+
# Uri, Body, Query string parameters
|
|
3331
|
+
def self.transcode_list_exascale_db_storage_vaults_request request_pb
|
|
1361
3332
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1362
3333
|
.with_bindings(
|
|
1363
3334
|
uri_method: :get,
|
|
1364
|
-
uri_template: "/v1/{parent}/
|
|
3335
|
+
uri_template: "/v1/{parent}/exascaleDbStorageVaults",
|
|
1365
3336
|
matches: [
|
|
1366
3337
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1367
3338
|
]
|
|
@@ -1372,19 +3343,19 @@ module Google
|
|
|
1372
3343
|
##
|
|
1373
3344
|
# @private
|
|
1374
3345
|
#
|
|
1375
|
-
# GRPC transcoding helper method for the
|
|
3346
|
+
# GRPC transcoding helper method for the get_exascale_db_storage_vault REST call
|
|
1376
3347
|
#
|
|
1377
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3348
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExascaleDbStorageVaultRequest]
|
|
1378
3349
|
# A request object representing the call parameters. Required.
|
|
1379
3350
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1380
3351
|
# Uri, Body, Query string parameters
|
|
1381
|
-
def self.
|
|
3352
|
+
def self.transcode_get_exascale_db_storage_vault_request request_pb
|
|
1382
3353
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1383
3354
|
.with_bindings(
|
|
1384
3355
|
uri_method: :get,
|
|
1385
3356
|
uri_template: "/v1/{name}",
|
|
1386
3357
|
matches: [
|
|
1387
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3358
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false]
|
|
1388
3359
|
]
|
|
1389
3360
|
)
|
|
1390
3361
|
transcoder.transcode request_pb
|
|
@@ -1393,18 +3364,18 @@ module Google
|
|
|
1393
3364
|
##
|
|
1394
3365
|
# @private
|
|
1395
3366
|
#
|
|
1396
|
-
# GRPC transcoding helper method for the
|
|
3367
|
+
# GRPC transcoding helper method for the create_exascale_db_storage_vault REST call
|
|
1397
3368
|
#
|
|
1398
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3369
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExascaleDbStorageVaultRequest]
|
|
1399
3370
|
# A request object representing the call parameters. Required.
|
|
1400
3371
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1401
3372
|
# Uri, Body, Query string parameters
|
|
1402
|
-
def self.
|
|
3373
|
+
def self.transcode_create_exascale_db_storage_vault_request request_pb
|
|
1403
3374
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1404
3375
|
.with_bindings(
|
|
1405
3376
|
uri_method: :post,
|
|
1406
|
-
uri_template: "/v1/{parent}/
|
|
1407
|
-
body: "
|
|
3377
|
+
uri_template: "/v1/{parent}/exascaleDbStorageVaults",
|
|
3378
|
+
body: "exascale_db_storage_vault",
|
|
1408
3379
|
matches: [
|
|
1409
3380
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1410
3381
|
]
|
|
@@ -1415,19 +3386,19 @@ module Google
|
|
|
1415
3386
|
##
|
|
1416
3387
|
# @private
|
|
1417
3388
|
#
|
|
1418
|
-
# GRPC transcoding helper method for the
|
|
3389
|
+
# GRPC transcoding helper method for the delete_exascale_db_storage_vault REST call
|
|
1419
3390
|
#
|
|
1420
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3391
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExascaleDbStorageVaultRequest]
|
|
1421
3392
|
# A request object representing the call parameters. Required.
|
|
1422
3393
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1423
3394
|
# Uri, Body, Query string parameters
|
|
1424
|
-
def self.
|
|
3395
|
+
def self.transcode_delete_exascale_db_storage_vault_request request_pb
|
|
1425
3396
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1426
3397
|
.with_bindings(
|
|
1427
3398
|
uri_method: :delete,
|
|
1428
3399
|
uri_template: "/v1/{name}",
|
|
1429
3400
|
matches: [
|
|
1430
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3401
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false]
|
|
1431
3402
|
]
|
|
1432
3403
|
)
|
|
1433
3404
|
transcoder.transcode request_pb
|
|
@@ -1436,20 +3407,19 @@ module Google
|
|
|
1436
3407
|
##
|
|
1437
3408
|
# @private
|
|
1438
3409
|
#
|
|
1439
|
-
# GRPC transcoding helper method for the
|
|
3410
|
+
# GRPC transcoding helper method for the list_db_system_initial_storage_sizes REST call
|
|
1440
3411
|
#
|
|
1441
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3412
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesRequest]
|
|
1442
3413
|
# A request object representing the call parameters. Required.
|
|
1443
3414
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1444
3415
|
# Uri, Body, Query string parameters
|
|
1445
|
-
def self.
|
|
3416
|
+
def self.transcode_list_db_system_initial_storage_sizes_request request_pb
|
|
1446
3417
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1447
3418
|
.with_bindings(
|
|
1448
|
-
uri_method: :
|
|
1449
|
-
uri_template: "/v1/{
|
|
1450
|
-
body: "*",
|
|
3419
|
+
uri_method: :get,
|
|
3420
|
+
uri_template: "/v1/{parent}/dbSystemInitialStorageSizes",
|
|
1451
3421
|
matches: [
|
|
1452
|
-
["
|
|
3422
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1453
3423
|
]
|
|
1454
3424
|
)
|
|
1455
3425
|
transcoder.transcode request_pb
|
|
@@ -1458,20 +3428,19 @@ module Google
|
|
|
1458
3428
|
##
|
|
1459
3429
|
# @private
|
|
1460
3430
|
#
|
|
1461
|
-
# GRPC transcoding helper method for the
|
|
3431
|
+
# GRPC transcoding helper method for the list_databases REST call
|
|
1462
3432
|
#
|
|
1463
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3433
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabasesRequest]
|
|
1464
3434
|
# A request object representing the call parameters. Required.
|
|
1465
3435
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1466
3436
|
# Uri, Body, Query string parameters
|
|
1467
|
-
def self.
|
|
3437
|
+
def self.transcode_list_databases_request request_pb
|
|
1468
3438
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1469
3439
|
.with_bindings(
|
|
1470
|
-
uri_method: :
|
|
1471
|
-
uri_template: "/v1/{
|
|
1472
|
-
body: "*",
|
|
3440
|
+
uri_method: :get,
|
|
3441
|
+
uri_template: "/v1/{parent}/databases",
|
|
1473
3442
|
matches: [
|
|
1474
|
-
["
|
|
3443
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1475
3444
|
]
|
|
1476
3445
|
)
|
|
1477
3446
|
transcoder.transcode request_pb
|
|
@@ -1480,19 +3449,19 @@ module Google
|
|
|
1480
3449
|
##
|
|
1481
3450
|
# @private
|
|
1482
3451
|
#
|
|
1483
|
-
# GRPC transcoding helper method for the
|
|
3452
|
+
# GRPC transcoding helper method for the get_database REST call
|
|
1484
3453
|
#
|
|
1485
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3454
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDatabaseRequest]
|
|
1486
3455
|
# A request object representing the call parameters. Required.
|
|
1487
3456
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1488
3457
|
# Uri, Body, Query string parameters
|
|
1489
|
-
def self.
|
|
3458
|
+
def self.transcode_get_database_request request_pb
|
|
1490
3459
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1491
3460
|
.with_bindings(
|
|
1492
3461
|
uri_method: :get,
|
|
1493
|
-
uri_template: "/v1/{
|
|
3462
|
+
uri_template: "/v1/{name}",
|
|
1494
3463
|
matches: [
|
|
1495
|
-
["
|
|
3464
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/databases/[^/]+/?$}, false]
|
|
1496
3465
|
]
|
|
1497
3466
|
)
|
|
1498
3467
|
transcoder.transcode request_pb
|
|
@@ -1501,17 +3470,17 @@ module Google
|
|
|
1501
3470
|
##
|
|
1502
3471
|
# @private
|
|
1503
3472
|
#
|
|
1504
|
-
# GRPC transcoding helper method for the
|
|
3473
|
+
# GRPC transcoding helper method for the list_pluggable_databases REST call
|
|
1505
3474
|
#
|
|
1506
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3475
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesRequest]
|
|
1507
3476
|
# A request object representing the call parameters. Required.
|
|
1508
3477
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1509
3478
|
# Uri, Body, Query string parameters
|
|
1510
|
-
def self.
|
|
3479
|
+
def self.transcode_list_pluggable_databases_request request_pb
|
|
1511
3480
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1512
3481
|
.with_bindings(
|
|
1513
3482
|
uri_method: :get,
|
|
1514
|
-
uri_template: "/v1/{parent}/
|
|
3483
|
+
uri_template: "/v1/{parent}/pluggableDatabases",
|
|
1515
3484
|
matches: [
|
|
1516
3485
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1517
3486
|
]
|
|
@@ -1522,17 +3491,38 @@ module Google
|
|
|
1522
3491
|
##
|
|
1523
3492
|
# @private
|
|
1524
3493
|
#
|
|
1525
|
-
# GRPC transcoding helper method for the
|
|
3494
|
+
# GRPC transcoding helper method for the get_pluggable_database REST call
|
|
1526
3495
|
#
|
|
1527
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3496
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetPluggableDatabaseRequest]
|
|
1528
3497
|
# A request object representing the call parameters. Required.
|
|
1529
3498
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1530
3499
|
# Uri, Body, Query string parameters
|
|
1531
|
-
def self.
|
|
3500
|
+
def self.transcode_get_pluggable_database_request request_pb
|
|
1532
3501
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1533
3502
|
.with_bindings(
|
|
1534
3503
|
uri_method: :get,
|
|
1535
|
-
uri_template: "/v1/{
|
|
3504
|
+
uri_template: "/v1/{name}",
|
|
3505
|
+
matches: [
|
|
3506
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+/?$}, false]
|
|
3507
|
+
]
|
|
3508
|
+
)
|
|
3509
|
+
transcoder.transcode request_pb
|
|
3510
|
+
end
|
|
3511
|
+
|
|
3512
|
+
##
|
|
3513
|
+
# @private
|
|
3514
|
+
#
|
|
3515
|
+
# GRPC transcoding helper method for the list_db_systems REST call
|
|
3516
|
+
#
|
|
3517
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemsRequest]
|
|
3518
|
+
# A request object representing the call parameters. Required.
|
|
3519
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3520
|
+
# Uri, Body, Query string parameters
|
|
3521
|
+
def self.transcode_list_db_systems_request request_pb
|
|
3522
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3523
|
+
.with_bindings(
|
|
3524
|
+
uri_method: :get,
|
|
3525
|
+
uri_template: "/v1/{parent}/dbSystems",
|
|
1536
3526
|
matches: [
|
|
1537
3527
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1538
3528
|
]
|
|
@@ -1543,20 +3533,19 @@ module Google
|
|
|
1543
3533
|
##
|
|
1544
3534
|
# @private
|
|
1545
3535
|
#
|
|
1546
|
-
# GRPC transcoding helper method for the
|
|
3536
|
+
# GRPC transcoding helper method for the get_db_system REST call
|
|
1547
3537
|
#
|
|
1548
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3538
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDbSystemRequest]
|
|
1549
3539
|
# A request object representing the call parameters. Required.
|
|
1550
3540
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1551
3541
|
# Uri, Body, Query string parameters
|
|
1552
|
-
def self.
|
|
3542
|
+
def self.transcode_get_db_system_request request_pb
|
|
1553
3543
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1554
3544
|
.with_bindings(
|
|
1555
|
-
uri_method: :
|
|
1556
|
-
uri_template: "/v1/{name}
|
|
1557
|
-
body: "*",
|
|
3545
|
+
uri_method: :get,
|
|
3546
|
+
uri_template: "/v1/{name}",
|
|
1558
3547
|
matches: [
|
|
1559
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3548
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false]
|
|
1560
3549
|
]
|
|
1561
3550
|
)
|
|
1562
3551
|
transcoder.transcode request_pb
|
|
@@ -1565,20 +3554,20 @@ module Google
|
|
|
1565
3554
|
##
|
|
1566
3555
|
# @private
|
|
1567
3556
|
#
|
|
1568
|
-
# GRPC transcoding helper method for the
|
|
3557
|
+
# GRPC transcoding helper method for the create_db_system REST call
|
|
1569
3558
|
#
|
|
1570
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3559
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest]
|
|
1571
3560
|
# A request object representing the call parameters. Required.
|
|
1572
3561
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1573
3562
|
# Uri, Body, Query string parameters
|
|
1574
|
-
def self.
|
|
3563
|
+
def self.transcode_create_db_system_request request_pb
|
|
1575
3564
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1576
3565
|
.with_bindings(
|
|
1577
3566
|
uri_method: :post,
|
|
1578
|
-
uri_template: "/v1/{
|
|
1579
|
-
body: "
|
|
3567
|
+
uri_template: "/v1/{parent}/dbSystems",
|
|
3568
|
+
body: "db_system",
|
|
1580
3569
|
matches: [
|
|
1581
|
-
["
|
|
3570
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1582
3571
|
]
|
|
1583
3572
|
)
|
|
1584
3573
|
transcoder.transcode request_pb
|
|
@@ -1587,20 +3576,61 @@ module Google
|
|
|
1587
3576
|
##
|
|
1588
3577
|
# @private
|
|
1589
3578
|
#
|
|
1590
|
-
# GRPC transcoding helper method for the
|
|
3579
|
+
# GRPC transcoding helper method for the delete_db_system REST call
|
|
1591
3580
|
#
|
|
1592
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3581
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest]
|
|
1593
3582
|
# A request object representing the call parameters. Required.
|
|
1594
3583
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
1595
3584
|
# Uri, Body, Query string parameters
|
|
1596
|
-
def self.
|
|
3585
|
+
def self.transcode_delete_db_system_request request_pb
|
|
1597
3586
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
1598
3587
|
.with_bindings(
|
|
1599
|
-
uri_method: :
|
|
1600
|
-
uri_template: "/v1/{name}
|
|
1601
|
-
body: "*",
|
|
3588
|
+
uri_method: :delete,
|
|
3589
|
+
uri_template: "/v1/{name}",
|
|
1602
3590
|
matches: [
|
|
1603
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3591
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false]
|
|
3592
|
+
]
|
|
3593
|
+
)
|
|
3594
|
+
transcoder.transcode request_pb
|
|
3595
|
+
end
|
|
3596
|
+
|
|
3597
|
+
##
|
|
3598
|
+
# @private
|
|
3599
|
+
#
|
|
3600
|
+
# GRPC transcoding helper method for the list_db_versions REST call
|
|
3601
|
+
#
|
|
3602
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest]
|
|
3603
|
+
# A request object representing the call parameters. Required.
|
|
3604
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3605
|
+
# Uri, Body, Query string parameters
|
|
3606
|
+
def self.transcode_list_db_versions_request request_pb
|
|
3607
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3608
|
+
.with_bindings(
|
|
3609
|
+
uri_method: :get,
|
|
3610
|
+
uri_template: "/v1/{parent}/dbVersions",
|
|
3611
|
+
matches: [
|
|
3612
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3613
|
+
]
|
|
3614
|
+
)
|
|
3615
|
+
transcoder.transcode request_pb
|
|
3616
|
+
end
|
|
3617
|
+
|
|
3618
|
+
##
|
|
3619
|
+
# @private
|
|
3620
|
+
#
|
|
3621
|
+
# GRPC transcoding helper method for the list_database_character_sets REST call
|
|
3622
|
+
#
|
|
3623
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest]
|
|
3624
|
+
# A request object representing the call parameters. Required.
|
|
3625
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3626
|
+
# Uri, Body, Query string parameters
|
|
3627
|
+
def self.transcode_list_database_character_sets_request request_pb
|
|
3628
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3629
|
+
.with_bindings(
|
|
3630
|
+
uri_method: :get,
|
|
3631
|
+
uri_template: "/v1/{parent}/databaseCharacterSets",
|
|
3632
|
+
matches: [
|
|
3633
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
1604
3634
|
]
|
|
1605
3635
|
)
|
|
1606
3636
|
transcoder.transcode request_pb
|