google-cloud-oracle_database-v1 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +2672 -184
- data/lib/google/cloud/oracle_database/v1/oracle_database/operations.rb +2 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +152 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2444 -117
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +2 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1782 -373
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/database_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +2 -1
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb +38 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb +98 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb +28 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb +29 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb +54 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb +29 -0
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb +31 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +8 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +84 -48
- data/proto_docs/google/cloud/oracledatabase/v1/database.rb +27 -1
- data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +6 -1
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +4 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb +2238 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb +300 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb +186 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb +712 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb +145 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb +177 -0
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb +175 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +20 -2
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +4 -4
- metadata +17 -3
|
@@ -2314,23 +2314,23 @@ module Google
|
|
|
2314
2314
|
end
|
|
2315
2315
|
|
|
2316
2316
|
##
|
|
2317
|
-
# Baseline implementation for the
|
|
2317
|
+
# Baseline implementation for the list_goldengate_deployments REST call
|
|
2318
2318
|
#
|
|
2319
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
2319
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest]
|
|
2320
2320
|
# A request object representing the call parameters. Required.
|
|
2321
2321
|
# @param options [::Gapic::CallOptions]
|
|
2322
2322
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2323
2323
|
#
|
|
2324
2324
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2325
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::
|
|
2325
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse]
|
|
2326
2326
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2327
2327
|
#
|
|
2328
|
-
# @return [::Google::Cloud::OracleDatabase::V1::
|
|
2328
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse]
|
|
2329
2329
|
# A result object deserialized from the server's reply
|
|
2330
|
-
def
|
|
2330
|
+
def list_goldengate_deployments request_pb, options = nil
|
|
2331
2331
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2332
2332
|
|
|
2333
|
-
verb, uri, query_string_params, body = ServiceStub.
|
|
2333
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployments_request request_pb
|
|
2334
2334
|
query_string_params = if query_string_params.any?
|
|
2335
2335
|
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2336
2336
|
else
|
|
@@ -2342,11 +2342,11 @@ module Google
|
|
|
2342
2342
|
uri: uri,
|
|
2343
2343
|
body: body || "",
|
|
2344
2344
|
params: query_string_params,
|
|
2345
|
-
method_name: "
|
|
2345
|
+
method_name: "list_goldengate_deployments",
|
|
2346
2346
|
options: options
|
|
2347
2347
|
)
|
|
2348
2348
|
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2349
|
-
result = ::Google::Cloud::OracleDatabase::V1::
|
|
2349
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2350
2350
|
catch :response do
|
|
2351
2351
|
yield result, operation if block_given?
|
|
2352
2352
|
result
|
|
@@ -2354,23 +2354,23 @@ module Google
|
|
|
2354
2354
|
end
|
|
2355
2355
|
|
|
2356
2356
|
##
|
|
2357
|
-
# Baseline implementation for the
|
|
2357
|
+
# Baseline implementation for the get_goldengate_deployment REST call
|
|
2358
2358
|
#
|
|
2359
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
2359
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest]
|
|
2360
2360
|
# A request object representing the call parameters. Required.
|
|
2361
2361
|
# @param options [::Gapic::CallOptions]
|
|
2362
2362
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2363
2363
|
#
|
|
2364
2364
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2365
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::
|
|
2365
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment]
|
|
2366
2366
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2367
2367
|
#
|
|
2368
|
-
# @return [::Google::Cloud::OracleDatabase::V1::
|
|
2368
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment]
|
|
2369
2369
|
# A result object deserialized from the server's reply
|
|
2370
|
-
def
|
|
2370
|
+
def get_goldengate_deployment request_pb, options = nil
|
|
2371
2371
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2372
2372
|
|
|
2373
|
-
verb, uri, query_string_params, body = ServiceStub.
|
|
2373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_request request_pb
|
|
2374
2374
|
query_string_params = if query_string_params.any?
|
|
2375
2375
|
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2376
2376
|
else
|
|
@@ -2382,11 +2382,11 @@ module Google
|
|
|
2382
2382
|
uri: uri,
|
|
2383
2383
|
body: body || "",
|
|
2384
2384
|
params: query_string_params,
|
|
2385
|
-
method_name: "
|
|
2385
|
+
method_name: "get_goldengate_deployment",
|
|
2386
2386
|
options: options
|
|
2387
2387
|
)
|
|
2388
2388
|
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2389
|
-
result = ::Google::Cloud::OracleDatabase::V1::
|
|
2389
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment.decode_json response.body, ignore_unknown_fields: true
|
|
2390
2390
|
catch :response do
|
|
2391
2391
|
yield result, operation if block_given?
|
|
2392
2392
|
result
|
|
@@ -2394,85 +2394,1503 @@ module Google
|
|
|
2394
2394
|
end
|
|
2395
2395
|
|
|
2396
2396
|
##
|
|
2397
|
-
#
|
|
2397
|
+
# Baseline implementation for the create_goldengate_deployment REST call
|
|
2398
2398
|
#
|
|
2399
|
-
#
|
|
2399
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest]
|
|
2400
|
+
# A request object representing the call parameters. Required.
|
|
2401
|
+
# @param options [::Gapic::CallOptions]
|
|
2402
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2400
2403
|
#
|
|
2401
|
-
# @
|
|
2404
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2405
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2406
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2407
|
+
#
|
|
2408
|
+
# @return [::Google::Longrunning::Operation]
|
|
2409
|
+
# A result object deserialized from the server's reply
|
|
2410
|
+
def create_goldengate_deployment request_pb, options = nil
|
|
2411
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2412
|
+
|
|
2413
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_deployment_request request_pb
|
|
2414
|
+
query_string_params = if query_string_params.any?
|
|
2415
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2416
|
+
else
|
|
2417
|
+
{}
|
|
2418
|
+
end
|
|
2419
|
+
|
|
2420
|
+
response = @client_stub.make_http_request(
|
|
2421
|
+
verb,
|
|
2422
|
+
uri: uri,
|
|
2423
|
+
body: body || "",
|
|
2424
|
+
params: query_string_params,
|
|
2425
|
+
method_name: "create_goldengate_deployment",
|
|
2426
|
+
options: options
|
|
2427
|
+
)
|
|
2428
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2429
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2430
|
+
catch :response do
|
|
2431
|
+
yield result, operation if block_given?
|
|
2432
|
+
result
|
|
2433
|
+
end
|
|
2434
|
+
end
|
|
2435
|
+
|
|
2436
|
+
##
|
|
2437
|
+
# Baseline implementation for the delete_goldengate_deployment REST call
|
|
2438
|
+
#
|
|
2439
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest]
|
|
2402
2440
|
# A request object representing the call parameters. Required.
|
|
2403
|
-
# @
|
|
2404
|
-
#
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2441
|
+
# @param options [::Gapic::CallOptions]
|
|
2442
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2443
|
+
#
|
|
2444
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2445
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2446
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2447
|
+
#
|
|
2448
|
+
# @return [::Google::Longrunning::Operation]
|
|
2449
|
+
# A result object deserialized from the server's reply
|
|
2450
|
+
def delete_goldengate_deployment request_pb, options = nil
|
|
2451
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2452
|
+
|
|
2453
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_deployment_request request_pb
|
|
2454
|
+
query_string_params = if query_string_params.any?
|
|
2455
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2456
|
+
else
|
|
2457
|
+
{}
|
|
2458
|
+
end
|
|
2459
|
+
|
|
2460
|
+
response = @client_stub.make_http_request(
|
|
2461
|
+
verb,
|
|
2462
|
+
uri: uri,
|
|
2463
|
+
body: body || "",
|
|
2464
|
+
params: query_string_params,
|
|
2465
|
+
method_name: "delete_goldengate_deployment",
|
|
2466
|
+
options: options
|
|
2467
|
+
)
|
|
2468
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2469
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2470
|
+
catch :response do
|
|
2471
|
+
yield result, operation if block_given?
|
|
2472
|
+
result
|
|
2473
|
+
end
|
|
2415
2474
|
end
|
|
2416
2475
|
|
|
2417
2476
|
##
|
|
2418
|
-
#
|
|
2477
|
+
# Baseline implementation for the stop_goldengate_deployment REST call
|
|
2419
2478
|
#
|
|
2420
|
-
#
|
|
2479
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest]
|
|
2480
|
+
# A request object representing the call parameters. Required.
|
|
2481
|
+
# @param options [::Gapic::CallOptions]
|
|
2482
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2421
2483
|
#
|
|
2422
|
-
# @
|
|
2484
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2485
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2486
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2487
|
+
#
|
|
2488
|
+
# @return [::Google::Longrunning::Operation]
|
|
2489
|
+
# A result object deserialized from the server's reply
|
|
2490
|
+
def stop_goldengate_deployment request_pb, options = nil
|
|
2491
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2492
|
+
|
|
2493
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_stop_goldengate_deployment_request request_pb
|
|
2494
|
+
query_string_params = if query_string_params.any?
|
|
2495
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2496
|
+
else
|
|
2497
|
+
{}
|
|
2498
|
+
end
|
|
2499
|
+
|
|
2500
|
+
response = @client_stub.make_http_request(
|
|
2501
|
+
verb,
|
|
2502
|
+
uri: uri,
|
|
2503
|
+
body: body || "",
|
|
2504
|
+
params: query_string_params,
|
|
2505
|
+
method_name: "stop_goldengate_deployment",
|
|
2506
|
+
options: options
|
|
2507
|
+
)
|
|
2508
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2509
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2510
|
+
catch :response do
|
|
2511
|
+
yield result, operation if block_given?
|
|
2512
|
+
result
|
|
2513
|
+
end
|
|
2514
|
+
end
|
|
2515
|
+
|
|
2516
|
+
##
|
|
2517
|
+
# Baseline implementation for the start_goldengate_deployment REST call
|
|
2518
|
+
#
|
|
2519
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest]
|
|
2423
2520
|
# A request object representing the call parameters. Required.
|
|
2424
|
-
# @
|
|
2425
|
-
#
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2521
|
+
# @param options [::Gapic::CallOptions]
|
|
2522
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2523
|
+
#
|
|
2524
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2525
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2526
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2527
|
+
#
|
|
2528
|
+
# @return [::Google::Longrunning::Operation]
|
|
2529
|
+
# A result object deserialized from the server's reply
|
|
2530
|
+
def start_goldengate_deployment request_pb, options = nil
|
|
2531
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2532
|
+
|
|
2533
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_start_goldengate_deployment_request request_pb
|
|
2534
|
+
query_string_params = if query_string_params.any?
|
|
2535
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2536
|
+
else
|
|
2537
|
+
{}
|
|
2538
|
+
end
|
|
2539
|
+
|
|
2540
|
+
response = @client_stub.make_http_request(
|
|
2541
|
+
verb,
|
|
2542
|
+
uri: uri,
|
|
2543
|
+
body: body || "",
|
|
2544
|
+
params: query_string_params,
|
|
2545
|
+
method_name: "start_goldengate_deployment",
|
|
2546
|
+
options: options
|
|
2547
|
+
)
|
|
2548
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2549
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2550
|
+
catch :response do
|
|
2551
|
+
yield result, operation if block_given?
|
|
2552
|
+
result
|
|
2553
|
+
end
|
|
2436
2554
|
end
|
|
2437
2555
|
|
|
2438
2556
|
##
|
|
2439
|
-
#
|
|
2557
|
+
# Baseline implementation for the list_goldengate_connections REST call
|
|
2440
2558
|
#
|
|
2441
|
-
#
|
|
2559
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest]
|
|
2560
|
+
# A request object representing the call parameters. Required.
|
|
2561
|
+
# @param options [::Gapic::CallOptions]
|
|
2562
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2442
2563
|
#
|
|
2443
|
-
# @
|
|
2564
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2565
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse]
|
|
2566
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2567
|
+
#
|
|
2568
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse]
|
|
2569
|
+
# A result object deserialized from the server's reply
|
|
2570
|
+
def list_goldengate_connections request_pb, options = nil
|
|
2571
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2572
|
+
|
|
2573
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connections_request request_pb
|
|
2574
|
+
query_string_params = if query_string_params.any?
|
|
2575
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2576
|
+
else
|
|
2577
|
+
{}
|
|
2578
|
+
end
|
|
2579
|
+
|
|
2580
|
+
response = @client_stub.make_http_request(
|
|
2581
|
+
verb,
|
|
2582
|
+
uri: uri,
|
|
2583
|
+
body: body || "",
|
|
2584
|
+
params: query_string_params,
|
|
2585
|
+
method_name: "list_goldengate_connections",
|
|
2586
|
+
options: options
|
|
2587
|
+
)
|
|
2588
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2589
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2590
|
+
catch :response do
|
|
2591
|
+
yield result, operation if block_given?
|
|
2592
|
+
result
|
|
2593
|
+
end
|
|
2594
|
+
end
|
|
2595
|
+
|
|
2596
|
+
##
|
|
2597
|
+
# Baseline implementation for the get_goldengate_connection REST call
|
|
2598
|
+
#
|
|
2599
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest]
|
|
2444
2600
|
# A request object representing the call parameters. Required.
|
|
2445
|
-
# @
|
|
2446
|
-
#
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2601
|
+
# @param options [::Gapic::CallOptions]
|
|
2602
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2603
|
+
#
|
|
2604
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2605
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnection]
|
|
2606
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2607
|
+
#
|
|
2608
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection]
|
|
2609
|
+
# A result object deserialized from the server's reply
|
|
2610
|
+
def get_goldengate_connection request_pb, options = nil
|
|
2611
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2612
|
+
|
|
2613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_request request_pb
|
|
2614
|
+
query_string_params = if query_string_params.any?
|
|
2615
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2616
|
+
else
|
|
2617
|
+
{}
|
|
2618
|
+
end
|
|
2619
|
+
|
|
2620
|
+
response = @client_stub.make_http_request(
|
|
2621
|
+
verb,
|
|
2622
|
+
uri: uri,
|
|
2623
|
+
body: body || "",
|
|
2624
|
+
params: query_string_params,
|
|
2625
|
+
method_name: "get_goldengate_connection",
|
|
2626
|
+
options: options
|
|
2627
|
+
)
|
|
2628
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2629
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnection.decode_json response.body, ignore_unknown_fields: true
|
|
2630
|
+
catch :response do
|
|
2631
|
+
yield result, operation if block_given?
|
|
2632
|
+
result
|
|
2633
|
+
end
|
|
2458
2634
|
end
|
|
2459
2635
|
|
|
2460
2636
|
##
|
|
2461
|
-
#
|
|
2637
|
+
# Baseline implementation for the create_goldengate_connection REST call
|
|
2462
2638
|
#
|
|
2463
|
-
#
|
|
2639
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest]
|
|
2640
|
+
# A request object representing the call parameters. Required.
|
|
2641
|
+
# @param options [::Gapic::CallOptions]
|
|
2642
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2464
2643
|
#
|
|
2465
|
-
# @
|
|
2644
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2645
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2646
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2647
|
+
#
|
|
2648
|
+
# @return [::Google::Longrunning::Operation]
|
|
2649
|
+
# A result object deserialized from the server's reply
|
|
2650
|
+
def create_goldengate_connection request_pb, options = nil
|
|
2651
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2652
|
+
|
|
2653
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_connection_request request_pb
|
|
2654
|
+
query_string_params = if query_string_params.any?
|
|
2655
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2656
|
+
else
|
|
2657
|
+
{}
|
|
2658
|
+
end
|
|
2659
|
+
|
|
2660
|
+
response = @client_stub.make_http_request(
|
|
2661
|
+
verb,
|
|
2662
|
+
uri: uri,
|
|
2663
|
+
body: body || "",
|
|
2664
|
+
params: query_string_params,
|
|
2665
|
+
method_name: "create_goldengate_connection",
|
|
2666
|
+
options: options
|
|
2667
|
+
)
|
|
2668
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2669
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2670
|
+
catch :response do
|
|
2671
|
+
yield result, operation if block_given?
|
|
2672
|
+
result
|
|
2673
|
+
end
|
|
2674
|
+
end
|
|
2675
|
+
|
|
2676
|
+
##
|
|
2677
|
+
# Baseline implementation for the delete_goldengate_connection REST call
|
|
2678
|
+
#
|
|
2679
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest]
|
|
2680
|
+
# A request object representing the call parameters. Required.
|
|
2681
|
+
# @param options [::Gapic::CallOptions]
|
|
2682
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2683
|
+
#
|
|
2684
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2685
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
2686
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2687
|
+
#
|
|
2688
|
+
# @return [::Google::Longrunning::Operation]
|
|
2689
|
+
# A result object deserialized from the server's reply
|
|
2690
|
+
def delete_goldengate_connection request_pb, options = nil
|
|
2691
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2692
|
+
|
|
2693
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_connection_request request_pb
|
|
2694
|
+
query_string_params = if query_string_params.any?
|
|
2695
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2696
|
+
else
|
|
2697
|
+
{}
|
|
2698
|
+
end
|
|
2699
|
+
|
|
2700
|
+
response = @client_stub.make_http_request(
|
|
2701
|
+
verb,
|
|
2702
|
+
uri: uri,
|
|
2703
|
+
body: body || "",
|
|
2704
|
+
params: query_string_params,
|
|
2705
|
+
method_name: "delete_goldengate_connection",
|
|
2706
|
+
options: options
|
|
2707
|
+
)
|
|
2708
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2709
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
2710
|
+
catch :response do
|
|
2711
|
+
yield result, operation if block_given?
|
|
2712
|
+
result
|
|
2713
|
+
end
|
|
2714
|
+
end
|
|
2715
|
+
|
|
2716
|
+
##
|
|
2717
|
+
# Baseline implementation for the get_goldengate_deployment_version REST call
|
|
2718
|
+
#
|
|
2719
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest]
|
|
2720
|
+
# A request object representing the call parameters. Required.
|
|
2721
|
+
# @param options [::Gapic::CallOptions]
|
|
2722
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2723
|
+
#
|
|
2724
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2725
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
2726
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2727
|
+
#
|
|
2728
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
2729
|
+
# A result object deserialized from the server's reply
|
|
2730
|
+
def get_goldengate_deployment_version request_pb, options = nil
|
|
2731
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2732
|
+
|
|
2733
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_version_request request_pb
|
|
2734
|
+
query_string_params = if query_string_params.any?
|
|
2735
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2736
|
+
else
|
|
2737
|
+
{}
|
|
2738
|
+
end
|
|
2739
|
+
|
|
2740
|
+
response = @client_stub.make_http_request(
|
|
2741
|
+
verb,
|
|
2742
|
+
uri: uri,
|
|
2743
|
+
body: body || "",
|
|
2744
|
+
params: query_string_params,
|
|
2745
|
+
method_name: "get_goldengate_deployment_version",
|
|
2746
|
+
options: options
|
|
2747
|
+
)
|
|
2748
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2749
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.decode_json response.body, ignore_unknown_fields: true
|
|
2750
|
+
catch :response do
|
|
2751
|
+
yield result, operation if block_given?
|
|
2752
|
+
result
|
|
2753
|
+
end
|
|
2754
|
+
end
|
|
2755
|
+
|
|
2756
|
+
##
|
|
2757
|
+
# Baseline implementation for the list_goldengate_deployment_versions REST call
|
|
2758
|
+
#
|
|
2759
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest]
|
|
2760
|
+
# A request object representing the call parameters. Required.
|
|
2761
|
+
# @param options [::Gapic::CallOptions]
|
|
2762
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2763
|
+
#
|
|
2764
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2765
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse]
|
|
2766
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2767
|
+
#
|
|
2768
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse]
|
|
2769
|
+
# A result object deserialized from the server's reply
|
|
2770
|
+
def list_goldengate_deployment_versions request_pb, options = nil
|
|
2771
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2772
|
+
|
|
2773
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_versions_request request_pb
|
|
2774
|
+
query_string_params = if query_string_params.any?
|
|
2775
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2776
|
+
else
|
|
2777
|
+
{}
|
|
2778
|
+
end
|
|
2779
|
+
|
|
2780
|
+
response = @client_stub.make_http_request(
|
|
2781
|
+
verb,
|
|
2782
|
+
uri: uri,
|
|
2783
|
+
body: body || "",
|
|
2784
|
+
params: query_string_params,
|
|
2785
|
+
method_name: "list_goldengate_deployment_versions",
|
|
2786
|
+
options: options
|
|
2787
|
+
)
|
|
2788
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2789
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2790
|
+
catch :response do
|
|
2791
|
+
yield result, operation if block_given?
|
|
2792
|
+
result
|
|
2793
|
+
end
|
|
2794
|
+
end
|
|
2795
|
+
|
|
2796
|
+
##
|
|
2797
|
+
# Baseline implementation for the get_goldengate_deployment_type REST call
|
|
2798
|
+
#
|
|
2799
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest]
|
|
2800
|
+
# A request object representing the call parameters. Required.
|
|
2801
|
+
# @param options [::Gapic::CallOptions]
|
|
2802
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2803
|
+
#
|
|
2804
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2805
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
2806
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2807
|
+
#
|
|
2808
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
2809
|
+
# A result object deserialized from the server's reply
|
|
2810
|
+
def get_goldengate_deployment_type request_pb, options = nil
|
|
2811
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2812
|
+
|
|
2813
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_type_request request_pb
|
|
2814
|
+
query_string_params = if query_string_params.any?
|
|
2815
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2816
|
+
else
|
|
2817
|
+
{}
|
|
2818
|
+
end
|
|
2819
|
+
|
|
2820
|
+
response = @client_stub.make_http_request(
|
|
2821
|
+
verb,
|
|
2822
|
+
uri: uri,
|
|
2823
|
+
body: body || "",
|
|
2824
|
+
params: query_string_params,
|
|
2825
|
+
method_name: "get_goldengate_deployment_type",
|
|
2826
|
+
options: options
|
|
2827
|
+
)
|
|
2828
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2829
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.decode_json response.body, ignore_unknown_fields: true
|
|
2830
|
+
catch :response do
|
|
2831
|
+
yield result, operation if block_given?
|
|
2832
|
+
result
|
|
2833
|
+
end
|
|
2834
|
+
end
|
|
2835
|
+
|
|
2836
|
+
##
|
|
2837
|
+
# Baseline implementation for the list_goldengate_deployment_types REST call
|
|
2838
|
+
#
|
|
2839
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest]
|
|
2840
|
+
# A request object representing the call parameters. Required.
|
|
2841
|
+
# @param options [::Gapic::CallOptions]
|
|
2842
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2843
|
+
#
|
|
2844
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2845
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse]
|
|
2846
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2847
|
+
#
|
|
2848
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse]
|
|
2849
|
+
# A result object deserialized from the server's reply
|
|
2850
|
+
def list_goldengate_deployment_types request_pb, options = nil
|
|
2851
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2852
|
+
|
|
2853
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_types_request request_pb
|
|
2854
|
+
query_string_params = if query_string_params.any?
|
|
2855
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2856
|
+
else
|
|
2857
|
+
{}
|
|
2858
|
+
end
|
|
2859
|
+
|
|
2860
|
+
response = @client_stub.make_http_request(
|
|
2861
|
+
verb,
|
|
2862
|
+
uri: uri,
|
|
2863
|
+
body: body || "",
|
|
2864
|
+
params: query_string_params,
|
|
2865
|
+
method_name: "list_goldengate_deployment_types",
|
|
2866
|
+
options: options
|
|
2867
|
+
)
|
|
2868
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2869
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2870
|
+
catch :response do
|
|
2871
|
+
yield result, operation if block_given?
|
|
2872
|
+
result
|
|
2873
|
+
end
|
|
2874
|
+
end
|
|
2875
|
+
|
|
2876
|
+
##
|
|
2877
|
+
# Baseline implementation for the get_goldengate_deployment_environment REST call
|
|
2878
|
+
#
|
|
2879
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest]
|
|
2880
|
+
# A request object representing the call parameters. Required.
|
|
2881
|
+
# @param options [::Gapic::CallOptions]
|
|
2882
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2883
|
+
#
|
|
2884
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2885
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
2886
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2887
|
+
#
|
|
2888
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
2889
|
+
# A result object deserialized from the server's reply
|
|
2890
|
+
def get_goldengate_deployment_environment request_pb, options = nil
|
|
2891
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2892
|
+
|
|
2893
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_environment_request request_pb
|
|
2894
|
+
query_string_params = if query_string_params.any?
|
|
2895
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2896
|
+
else
|
|
2897
|
+
{}
|
|
2898
|
+
end
|
|
2899
|
+
|
|
2900
|
+
response = @client_stub.make_http_request(
|
|
2901
|
+
verb,
|
|
2902
|
+
uri: uri,
|
|
2903
|
+
body: body || "",
|
|
2904
|
+
params: query_string_params,
|
|
2905
|
+
method_name: "get_goldengate_deployment_environment",
|
|
2906
|
+
options: options
|
|
2907
|
+
)
|
|
2908
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2909
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.decode_json response.body, ignore_unknown_fields: true
|
|
2910
|
+
catch :response do
|
|
2911
|
+
yield result, operation if block_given?
|
|
2912
|
+
result
|
|
2913
|
+
end
|
|
2914
|
+
end
|
|
2915
|
+
|
|
2916
|
+
##
|
|
2917
|
+
# Baseline implementation for the list_goldengate_deployment_environments REST call
|
|
2918
|
+
#
|
|
2919
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest]
|
|
2920
|
+
# A request object representing the call parameters. Required.
|
|
2921
|
+
# @param options [::Gapic::CallOptions]
|
|
2922
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2923
|
+
#
|
|
2924
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2925
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse]
|
|
2926
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2927
|
+
#
|
|
2928
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse]
|
|
2929
|
+
# A result object deserialized from the server's reply
|
|
2930
|
+
def list_goldengate_deployment_environments request_pb, options = nil
|
|
2931
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2932
|
+
|
|
2933
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_environments_request request_pb
|
|
2934
|
+
query_string_params = if query_string_params.any?
|
|
2935
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2936
|
+
else
|
|
2937
|
+
{}
|
|
2938
|
+
end
|
|
2939
|
+
|
|
2940
|
+
response = @client_stub.make_http_request(
|
|
2941
|
+
verb,
|
|
2942
|
+
uri: uri,
|
|
2943
|
+
body: body || "",
|
|
2944
|
+
params: query_string_params,
|
|
2945
|
+
method_name: "list_goldengate_deployment_environments",
|
|
2946
|
+
options: options
|
|
2947
|
+
)
|
|
2948
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2949
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2950
|
+
catch :response do
|
|
2951
|
+
yield result, operation if block_given?
|
|
2952
|
+
result
|
|
2953
|
+
end
|
|
2954
|
+
end
|
|
2955
|
+
|
|
2956
|
+
##
|
|
2957
|
+
# Baseline implementation for the get_goldengate_connection_type REST call
|
|
2958
|
+
#
|
|
2959
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest]
|
|
2960
|
+
# A request object representing the call parameters. Required.
|
|
2961
|
+
# @param options [::Gapic::CallOptions]
|
|
2962
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2963
|
+
#
|
|
2964
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2965
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
2966
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2967
|
+
#
|
|
2968
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
2969
|
+
# A result object deserialized from the server's reply
|
|
2970
|
+
def get_goldengate_connection_type request_pb, options = nil
|
|
2971
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2972
|
+
|
|
2973
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_type_request request_pb
|
|
2974
|
+
query_string_params = if query_string_params.any?
|
|
2975
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2976
|
+
else
|
|
2977
|
+
{}
|
|
2978
|
+
end
|
|
2979
|
+
|
|
2980
|
+
response = @client_stub.make_http_request(
|
|
2981
|
+
verb,
|
|
2982
|
+
uri: uri,
|
|
2983
|
+
body: body || "",
|
|
2984
|
+
params: query_string_params,
|
|
2985
|
+
method_name: "get_goldengate_connection_type",
|
|
2986
|
+
options: options
|
|
2987
|
+
)
|
|
2988
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2989
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.decode_json response.body, ignore_unknown_fields: true
|
|
2990
|
+
catch :response do
|
|
2991
|
+
yield result, operation if block_given?
|
|
2992
|
+
result
|
|
2993
|
+
end
|
|
2994
|
+
end
|
|
2995
|
+
|
|
2996
|
+
##
|
|
2997
|
+
# Baseline implementation for the list_goldengate_connection_types REST call
|
|
2998
|
+
#
|
|
2999
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest]
|
|
3000
|
+
# A request object representing the call parameters. Required.
|
|
3001
|
+
# @param options [::Gapic::CallOptions]
|
|
3002
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3003
|
+
#
|
|
3004
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3005
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse]
|
|
3006
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3007
|
+
#
|
|
3008
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse]
|
|
3009
|
+
# A result object deserialized from the server's reply
|
|
3010
|
+
def list_goldengate_connection_types request_pb, options = nil
|
|
3011
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3012
|
+
|
|
3013
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connection_types_request request_pb
|
|
3014
|
+
query_string_params = if query_string_params.any?
|
|
3015
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3016
|
+
else
|
|
3017
|
+
{}
|
|
3018
|
+
end
|
|
3019
|
+
|
|
3020
|
+
response = @client_stub.make_http_request(
|
|
3021
|
+
verb,
|
|
3022
|
+
uri: uri,
|
|
3023
|
+
body: body || "",
|
|
3024
|
+
params: query_string_params,
|
|
3025
|
+
method_name: "list_goldengate_connection_types",
|
|
3026
|
+
options: options
|
|
3027
|
+
)
|
|
3028
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3029
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3030
|
+
catch :response do
|
|
3031
|
+
yield result, operation if block_given?
|
|
3032
|
+
result
|
|
3033
|
+
end
|
|
3034
|
+
end
|
|
3035
|
+
|
|
3036
|
+
##
|
|
3037
|
+
# Baseline implementation for the list_db_versions REST call
|
|
3038
|
+
#
|
|
3039
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest]
|
|
3040
|
+
# A request object representing the call parameters. Required.
|
|
3041
|
+
# @param options [::Gapic::CallOptions]
|
|
3042
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3043
|
+
#
|
|
3044
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3045
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse]
|
|
3046
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3047
|
+
#
|
|
3048
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse]
|
|
3049
|
+
# A result object deserialized from the server's reply
|
|
3050
|
+
def list_db_versions request_pb, options = nil
|
|
3051
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3052
|
+
|
|
3053
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_db_versions_request request_pb
|
|
3054
|
+
query_string_params = if query_string_params.any?
|
|
3055
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3056
|
+
else
|
|
3057
|
+
{}
|
|
3058
|
+
end
|
|
3059
|
+
|
|
3060
|
+
response = @client_stub.make_http_request(
|
|
3061
|
+
verb,
|
|
3062
|
+
uri: uri,
|
|
3063
|
+
body: body || "",
|
|
3064
|
+
params: query_string_params,
|
|
3065
|
+
method_name: "list_db_versions",
|
|
3066
|
+
options: options
|
|
3067
|
+
)
|
|
3068
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3069
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3070
|
+
catch :response do
|
|
3071
|
+
yield result, operation if block_given?
|
|
3072
|
+
result
|
|
3073
|
+
end
|
|
3074
|
+
end
|
|
3075
|
+
|
|
3076
|
+
##
|
|
3077
|
+
# Baseline implementation for the list_database_character_sets REST call
|
|
3078
|
+
#
|
|
3079
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest]
|
|
3080
|
+
# A request object representing the call parameters. Required.
|
|
3081
|
+
# @param options [::Gapic::CallOptions]
|
|
3082
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3083
|
+
#
|
|
3084
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3085
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse]
|
|
3086
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3087
|
+
#
|
|
3088
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse]
|
|
3089
|
+
# A result object deserialized from the server's reply
|
|
3090
|
+
def list_database_character_sets request_pb, options = nil
|
|
3091
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3092
|
+
|
|
3093
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_database_character_sets_request request_pb
|
|
3094
|
+
query_string_params = if query_string_params.any?
|
|
3095
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3096
|
+
else
|
|
3097
|
+
{}
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
response = @client_stub.make_http_request(
|
|
3101
|
+
verb,
|
|
3102
|
+
uri: uri,
|
|
3103
|
+
body: body || "",
|
|
3104
|
+
params: query_string_params,
|
|
3105
|
+
method_name: "list_database_character_sets",
|
|
3106
|
+
options: options
|
|
3107
|
+
)
|
|
3108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3109
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3110
|
+
catch :response do
|
|
3111
|
+
yield result, operation if block_given?
|
|
3112
|
+
result
|
|
3113
|
+
end
|
|
3114
|
+
end
|
|
3115
|
+
|
|
3116
|
+
##
|
|
3117
|
+
# Baseline implementation for the list_goldengate_connection_assignments REST call
|
|
3118
|
+
#
|
|
3119
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest]
|
|
3120
|
+
# A request object representing the call parameters. Required.
|
|
3121
|
+
# @param options [::Gapic::CallOptions]
|
|
3122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3123
|
+
#
|
|
3124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3125
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse]
|
|
3126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3127
|
+
#
|
|
3128
|
+
# @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse]
|
|
3129
|
+
# A result object deserialized from the server's reply
|
|
3130
|
+
def list_goldengate_connection_assignments request_pb, options = nil
|
|
3131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3132
|
+
|
|
3133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connection_assignments_request request_pb
|
|
3134
|
+
query_string_params = if query_string_params.any?
|
|
3135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3136
|
+
else
|
|
3137
|
+
{}
|
|
3138
|
+
end
|
|
3139
|
+
|
|
3140
|
+
response = @client_stub.make_http_request(
|
|
3141
|
+
verb,
|
|
3142
|
+
uri: uri,
|
|
3143
|
+
body: body || "",
|
|
3144
|
+
params: query_string_params,
|
|
3145
|
+
method_name: "list_goldengate_connection_assignments",
|
|
3146
|
+
options: options
|
|
3147
|
+
)
|
|
3148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3149
|
+
result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3150
|
+
catch :response do
|
|
3151
|
+
yield result, operation if block_given?
|
|
3152
|
+
result
|
|
3153
|
+
end
|
|
3154
|
+
end
|
|
3155
|
+
|
|
3156
|
+
##
|
|
3157
|
+
# Baseline implementation for the get_goldengate_connection_assignment REST call
|
|
3158
|
+
#
|
|
3159
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest]
|
|
3160
|
+
# A request object representing the call parameters. Required.
|
|
3161
|
+
# @param options [::Gapic::CallOptions]
|
|
3162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3163
|
+
#
|
|
3164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3165
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment]
|
|
3166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3167
|
+
#
|
|
3168
|
+
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment]
|
|
3169
|
+
# A result object deserialized from the server's reply
|
|
3170
|
+
def get_goldengate_connection_assignment request_pb, options = nil
|
|
3171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3172
|
+
|
|
3173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_assignment_request request_pb
|
|
3174
|
+
query_string_params = if query_string_params.any?
|
|
3175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3176
|
+
else
|
|
3177
|
+
{}
|
|
3178
|
+
end
|
|
3179
|
+
|
|
3180
|
+
response = @client_stub.make_http_request(
|
|
3181
|
+
verb,
|
|
3182
|
+
uri: uri,
|
|
3183
|
+
body: body || "",
|
|
3184
|
+
params: query_string_params,
|
|
3185
|
+
method_name: "get_goldengate_connection_assignment",
|
|
3186
|
+
options: options
|
|
3187
|
+
)
|
|
3188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3189
|
+
result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment.decode_json response.body, ignore_unknown_fields: true
|
|
3190
|
+
catch :response do
|
|
3191
|
+
yield result, operation if block_given?
|
|
3192
|
+
result
|
|
3193
|
+
end
|
|
3194
|
+
end
|
|
3195
|
+
|
|
3196
|
+
##
|
|
3197
|
+
# Baseline implementation for the create_goldengate_connection_assignment REST call
|
|
3198
|
+
#
|
|
3199
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest]
|
|
3200
|
+
# A request object representing the call parameters. Required.
|
|
3201
|
+
# @param options [::Gapic::CallOptions]
|
|
3202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3203
|
+
#
|
|
3204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3205
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
3206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3207
|
+
#
|
|
3208
|
+
# @return [::Google::Longrunning::Operation]
|
|
3209
|
+
# A result object deserialized from the server's reply
|
|
3210
|
+
def create_goldengate_connection_assignment request_pb, options = nil
|
|
3211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3212
|
+
|
|
3213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_connection_assignment_request request_pb
|
|
3214
|
+
query_string_params = if query_string_params.any?
|
|
3215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3216
|
+
else
|
|
3217
|
+
{}
|
|
3218
|
+
end
|
|
3219
|
+
|
|
3220
|
+
response = @client_stub.make_http_request(
|
|
3221
|
+
verb,
|
|
3222
|
+
uri: uri,
|
|
3223
|
+
body: body || "",
|
|
3224
|
+
params: query_string_params,
|
|
3225
|
+
method_name: "create_goldengate_connection_assignment",
|
|
3226
|
+
options: options
|
|
3227
|
+
)
|
|
3228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3229
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
3230
|
+
catch :response do
|
|
3231
|
+
yield result, operation if block_given?
|
|
3232
|
+
result
|
|
3233
|
+
end
|
|
3234
|
+
end
|
|
3235
|
+
|
|
3236
|
+
##
|
|
3237
|
+
# Baseline implementation for the delete_goldengate_connection_assignment REST call
|
|
3238
|
+
#
|
|
3239
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest]
|
|
3240
|
+
# A request object representing the call parameters. Required.
|
|
3241
|
+
# @param options [::Gapic::CallOptions]
|
|
3242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3243
|
+
#
|
|
3244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3245
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
3246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3247
|
+
#
|
|
3248
|
+
# @return [::Google::Longrunning::Operation]
|
|
3249
|
+
# A result object deserialized from the server's reply
|
|
3250
|
+
def delete_goldengate_connection_assignment request_pb, options = nil
|
|
3251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3252
|
+
|
|
3253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_connection_assignment_request request_pb
|
|
3254
|
+
query_string_params = if query_string_params.any?
|
|
3255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3256
|
+
else
|
|
3257
|
+
{}
|
|
3258
|
+
end
|
|
3259
|
+
|
|
3260
|
+
response = @client_stub.make_http_request(
|
|
3261
|
+
verb,
|
|
3262
|
+
uri: uri,
|
|
3263
|
+
body: body || "",
|
|
3264
|
+
params: query_string_params,
|
|
3265
|
+
method_name: "delete_goldengate_connection_assignment",
|
|
3266
|
+
options: options
|
|
3267
|
+
)
|
|
3268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3269
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
3270
|
+
catch :response do
|
|
3271
|
+
yield result, operation if block_given?
|
|
3272
|
+
result
|
|
3273
|
+
end
|
|
3274
|
+
end
|
|
3275
|
+
|
|
3276
|
+
##
|
|
3277
|
+
# Baseline implementation for the test_goldengate_connection_assignment REST call
|
|
3278
|
+
#
|
|
3279
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest]
|
|
3280
|
+
# A request object representing the call parameters. Required.
|
|
3281
|
+
# @param options [::Gapic::CallOptions]
|
|
3282
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3283
|
+
#
|
|
3284
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3285
|
+
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse]
|
|
3286
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3287
|
+
#
|
|
3288
|
+
# @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse]
|
|
3289
|
+
# A result object deserialized from the server's reply
|
|
3290
|
+
def test_goldengate_connection_assignment request_pb, options = nil
|
|
3291
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3292
|
+
|
|
3293
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_test_goldengate_connection_assignment_request request_pb
|
|
3294
|
+
query_string_params = if query_string_params.any?
|
|
3295
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3296
|
+
else
|
|
3297
|
+
{}
|
|
3298
|
+
end
|
|
3299
|
+
|
|
3300
|
+
response = @client_stub.make_http_request(
|
|
3301
|
+
verb,
|
|
3302
|
+
uri: uri,
|
|
3303
|
+
body: body || "",
|
|
3304
|
+
params: query_string_params,
|
|
3305
|
+
method_name: "test_goldengate_connection_assignment",
|
|
3306
|
+
options: options
|
|
3307
|
+
)
|
|
3308
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3309
|
+
result = ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3310
|
+
catch :response do
|
|
3311
|
+
yield result, operation if block_given?
|
|
3312
|
+
result
|
|
3313
|
+
end
|
|
3314
|
+
end
|
|
3315
|
+
|
|
3316
|
+
##
|
|
3317
|
+
# @private
|
|
3318
|
+
#
|
|
3319
|
+
# GRPC transcoding helper method for the list_cloud_exadata_infrastructures REST call
|
|
3320
|
+
#
|
|
3321
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudExadataInfrastructuresRequest]
|
|
3322
|
+
# A request object representing the call parameters. Required.
|
|
3323
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3324
|
+
# Uri, Body, Query string parameters
|
|
3325
|
+
def self.transcode_list_cloud_exadata_infrastructures_request request_pb
|
|
3326
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3327
|
+
.with_bindings(
|
|
3328
|
+
uri_method: :get,
|
|
3329
|
+
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
3330
|
+
matches: [
|
|
3331
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3332
|
+
]
|
|
3333
|
+
)
|
|
3334
|
+
transcoder.transcode request_pb
|
|
3335
|
+
end
|
|
3336
|
+
|
|
3337
|
+
##
|
|
3338
|
+
# @private
|
|
3339
|
+
#
|
|
3340
|
+
# GRPC transcoding helper method for the get_cloud_exadata_infrastructure REST call
|
|
3341
|
+
#
|
|
3342
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudExadataInfrastructureRequest]
|
|
3343
|
+
# A request object representing the call parameters. Required.
|
|
3344
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3345
|
+
# Uri, Body, Query string parameters
|
|
3346
|
+
def self.transcode_get_cloud_exadata_infrastructure_request request_pb
|
|
3347
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3348
|
+
.with_bindings(
|
|
3349
|
+
uri_method: :get,
|
|
3350
|
+
uri_template: "/v1/{name}",
|
|
3351
|
+
matches: [
|
|
3352
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
3353
|
+
]
|
|
3354
|
+
)
|
|
3355
|
+
transcoder.transcode request_pb
|
|
3356
|
+
end
|
|
3357
|
+
|
|
3358
|
+
##
|
|
3359
|
+
# @private
|
|
3360
|
+
#
|
|
3361
|
+
# GRPC transcoding helper method for the create_cloud_exadata_infrastructure REST call
|
|
3362
|
+
#
|
|
3363
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudExadataInfrastructureRequest]
|
|
3364
|
+
# A request object representing the call parameters. Required.
|
|
3365
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3366
|
+
# Uri, Body, Query string parameters
|
|
3367
|
+
def self.transcode_create_cloud_exadata_infrastructure_request request_pb
|
|
3368
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3369
|
+
.with_bindings(
|
|
3370
|
+
uri_method: :post,
|
|
3371
|
+
uri_template: "/v1/{parent}/cloudExadataInfrastructures",
|
|
3372
|
+
body: "cloud_exadata_infrastructure",
|
|
3373
|
+
matches: [
|
|
3374
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3375
|
+
]
|
|
3376
|
+
)
|
|
3377
|
+
transcoder.transcode request_pb
|
|
3378
|
+
end
|
|
3379
|
+
|
|
3380
|
+
##
|
|
3381
|
+
# @private
|
|
3382
|
+
#
|
|
3383
|
+
# GRPC transcoding helper method for the delete_cloud_exadata_infrastructure REST call
|
|
3384
|
+
#
|
|
3385
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudExadataInfrastructureRequest]
|
|
3386
|
+
# A request object representing the call parameters. Required.
|
|
3387
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3388
|
+
# Uri, Body, Query string parameters
|
|
3389
|
+
def self.transcode_delete_cloud_exadata_infrastructure_request request_pb
|
|
3390
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3391
|
+
.with_bindings(
|
|
3392
|
+
uri_method: :delete,
|
|
3393
|
+
uri_template: "/v1/{name}",
|
|
3394
|
+
matches: [
|
|
3395
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
3396
|
+
]
|
|
3397
|
+
)
|
|
3398
|
+
transcoder.transcode request_pb
|
|
3399
|
+
end
|
|
3400
|
+
|
|
3401
|
+
##
|
|
3402
|
+
# @private
|
|
3403
|
+
#
|
|
3404
|
+
# GRPC transcoding helper method for the list_cloud_vm_clusters REST call
|
|
3405
|
+
#
|
|
3406
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudVmClustersRequest]
|
|
3407
|
+
# A request object representing the call parameters. Required.
|
|
3408
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3409
|
+
# Uri, Body, Query string parameters
|
|
3410
|
+
def self.transcode_list_cloud_vm_clusters_request request_pb
|
|
3411
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3412
|
+
.with_bindings(
|
|
3413
|
+
uri_method: :get,
|
|
3414
|
+
uri_template: "/v1/{parent}/cloudVmClusters",
|
|
3415
|
+
matches: [
|
|
3416
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3417
|
+
]
|
|
3418
|
+
)
|
|
3419
|
+
transcoder.transcode request_pb
|
|
3420
|
+
end
|
|
3421
|
+
|
|
3422
|
+
##
|
|
3423
|
+
# @private
|
|
3424
|
+
#
|
|
3425
|
+
# GRPC transcoding helper method for the get_cloud_vm_cluster REST call
|
|
3426
|
+
#
|
|
3427
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudVmClusterRequest]
|
|
3428
|
+
# A request object representing the call parameters. Required.
|
|
3429
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3430
|
+
# Uri, Body, Query string parameters
|
|
3431
|
+
def self.transcode_get_cloud_vm_cluster_request request_pb
|
|
3432
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3433
|
+
.with_bindings(
|
|
3434
|
+
uri_method: :get,
|
|
3435
|
+
uri_template: "/v1/{name}",
|
|
3436
|
+
matches: [
|
|
3437
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
3438
|
+
]
|
|
3439
|
+
)
|
|
3440
|
+
transcoder.transcode request_pb
|
|
3441
|
+
end
|
|
3442
|
+
|
|
3443
|
+
##
|
|
3444
|
+
# @private
|
|
3445
|
+
#
|
|
3446
|
+
# GRPC transcoding helper method for the create_cloud_vm_cluster REST call
|
|
3447
|
+
#
|
|
3448
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudVmClusterRequest]
|
|
3449
|
+
# A request object representing the call parameters. Required.
|
|
3450
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3451
|
+
# Uri, Body, Query string parameters
|
|
3452
|
+
def self.transcode_create_cloud_vm_cluster_request request_pb
|
|
3453
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3454
|
+
.with_bindings(
|
|
3455
|
+
uri_method: :post,
|
|
3456
|
+
uri_template: "/v1/{parent}/cloudVmClusters",
|
|
3457
|
+
body: "cloud_vm_cluster",
|
|
3458
|
+
matches: [
|
|
3459
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3460
|
+
]
|
|
3461
|
+
)
|
|
3462
|
+
transcoder.transcode request_pb
|
|
3463
|
+
end
|
|
3464
|
+
|
|
3465
|
+
##
|
|
3466
|
+
# @private
|
|
3467
|
+
#
|
|
3468
|
+
# GRPC transcoding helper method for the delete_cloud_vm_cluster REST call
|
|
3469
|
+
#
|
|
3470
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudVmClusterRequest]
|
|
3471
|
+
# A request object representing the call parameters. Required.
|
|
3472
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3473
|
+
# Uri, Body, Query string parameters
|
|
3474
|
+
def self.transcode_delete_cloud_vm_cluster_request request_pb
|
|
3475
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3476
|
+
.with_bindings(
|
|
3477
|
+
uri_method: :delete,
|
|
3478
|
+
uri_template: "/v1/{name}",
|
|
3479
|
+
matches: [
|
|
3480
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
3481
|
+
]
|
|
3482
|
+
)
|
|
3483
|
+
transcoder.transcode request_pb
|
|
3484
|
+
end
|
|
3485
|
+
|
|
3486
|
+
##
|
|
3487
|
+
# @private
|
|
3488
|
+
#
|
|
3489
|
+
# GRPC transcoding helper method for the list_entitlements REST call
|
|
3490
|
+
#
|
|
3491
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListEntitlementsRequest]
|
|
3492
|
+
# A request object representing the call parameters. Required.
|
|
3493
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3494
|
+
# Uri, Body, Query string parameters
|
|
3495
|
+
def self.transcode_list_entitlements_request request_pb
|
|
3496
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3497
|
+
.with_bindings(
|
|
3498
|
+
uri_method: :get,
|
|
3499
|
+
uri_template: "/v1/{parent}/entitlements",
|
|
3500
|
+
matches: [
|
|
3501
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3502
|
+
]
|
|
3503
|
+
)
|
|
3504
|
+
transcoder.transcode request_pb
|
|
3505
|
+
end
|
|
3506
|
+
|
|
3507
|
+
##
|
|
3508
|
+
# @private
|
|
3509
|
+
#
|
|
3510
|
+
# GRPC transcoding helper method for the list_db_servers REST call
|
|
3511
|
+
#
|
|
3512
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbServersRequest]
|
|
3513
|
+
# A request object representing the call parameters. Required.
|
|
3514
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3515
|
+
# Uri, Body, Query string parameters
|
|
3516
|
+
def self.transcode_list_db_servers_request request_pb
|
|
3517
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3518
|
+
.with_bindings(
|
|
3519
|
+
uri_method: :get,
|
|
3520
|
+
uri_template: "/v1/{parent}/dbServers",
|
|
3521
|
+
matches: [
|
|
3522
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false]
|
|
3523
|
+
]
|
|
3524
|
+
)
|
|
3525
|
+
transcoder.transcode request_pb
|
|
3526
|
+
end
|
|
3527
|
+
|
|
3528
|
+
##
|
|
3529
|
+
# @private
|
|
3530
|
+
#
|
|
3531
|
+
# GRPC transcoding helper method for the list_db_nodes REST call
|
|
3532
|
+
#
|
|
3533
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbNodesRequest]
|
|
3534
|
+
# A request object representing the call parameters. Required.
|
|
3535
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3536
|
+
# Uri, Body, Query string parameters
|
|
3537
|
+
def self.transcode_list_db_nodes_request request_pb
|
|
3538
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3539
|
+
.with_bindings(
|
|
3540
|
+
uri_method: :get,
|
|
3541
|
+
uri_template: "/v1/{parent}/dbNodes",
|
|
3542
|
+
matches: [
|
|
3543
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
3544
|
+
]
|
|
3545
|
+
)
|
|
3546
|
+
.with_bindings(
|
|
3547
|
+
uri_method: :get,
|
|
3548
|
+
uri_template: "/v1/{parent}/dbNodes",
|
|
3549
|
+
matches: [
|
|
3550
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
3551
|
+
]
|
|
3552
|
+
)
|
|
3553
|
+
transcoder.transcode request_pb
|
|
3554
|
+
end
|
|
3555
|
+
|
|
3556
|
+
##
|
|
3557
|
+
# @private
|
|
3558
|
+
#
|
|
3559
|
+
# GRPC transcoding helper method for the list_gi_versions REST call
|
|
3560
|
+
#
|
|
3561
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGiVersionsRequest]
|
|
3562
|
+
# A request object representing the call parameters. Required.
|
|
3563
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3564
|
+
# Uri, Body, Query string parameters
|
|
3565
|
+
def self.transcode_list_gi_versions_request request_pb
|
|
3566
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3567
|
+
.with_bindings(
|
|
3568
|
+
uri_method: :get,
|
|
3569
|
+
uri_template: "/v1/{parent}/giVersions",
|
|
3570
|
+
matches: [
|
|
3571
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3572
|
+
]
|
|
3573
|
+
)
|
|
3574
|
+
transcoder.transcode request_pb
|
|
3575
|
+
end
|
|
3576
|
+
|
|
3577
|
+
##
|
|
3578
|
+
# @private
|
|
3579
|
+
#
|
|
3580
|
+
# GRPC transcoding helper method for the list_minor_versions REST call
|
|
3581
|
+
#
|
|
3582
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsRequest]
|
|
3583
|
+
# A request object representing the call parameters. Required.
|
|
3584
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3585
|
+
# Uri, Body, Query string parameters
|
|
3586
|
+
def self.transcode_list_minor_versions_request request_pb
|
|
3587
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3588
|
+
.with_bindings(
|
|
3589
|
+
uri_method: :get,
|
|
3590
|
+
uri_template: "/v1/{parent}/minorVersions",
|
|
3591
|
+
matches: [
|
|
3592
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/giVersions/[^/]+/?$}, false]
|
|
3593
|
+
]
|
|
3594
|
+
)
|
|
3595
|
+
transcoder.transcode request_pb
|
|
3596
|
+
end
|
|
3597
|
+
|
|
3598
|
+
##
|
|
3599
|
+
# @private
|
|
3600
|
+
#
|
|
3601
|
+
# GRPC transcoding helper method for the list_db_system_shapes REST call
|
|
3602
|
+
#
|
|
3603
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemShapesRequest]
|
|
3604
|
+
# A request object representing the call parameters. Required.
|
|
3605
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3606
|
+
# Uri, Body, Query string parameters
|
|
3607
|
+
def self.transcode_list_db_system_shapes_request request_pb
|
|
3608
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3609
|
+
.with_bindings(
|
|
3610
|
+
uri_method: :get,
|
|
3611
|
+
uri_template: "/v1/{parent}/dbSystemShapes",
|
|
3612
|
+
matches: [
|
|
3613
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3614
|
+
]
|
|
3615
|
+
)
|
|
3616
|
+
transcoder.transcode request_pb
|
|
3617
|
+
end
|
|
3618
|
+
|
|
3619
|
+
##
|
|
3620
|
+
# @private
|
|
3621
|
+
#
|
|
3622
|
+
# GRPC transcoding helper method for the list_autonomous_databases REST call
|
|
3623
|
+
#
|
|
3624
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabasesRequest]
|
|
3625
|
+
# A request object representing the call parameters. Required.
|
|
3626
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3627
|
+
# Uri, Body, Query string parameters
|
|
3628
|
+
def self.transcode_list_autonomous_databases_request request_pb
|
|
3629
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3630
|
+
.with_bindings(
|
|
3631
|
+
uri_method: :get,
|
|
3632
|
+
uri_template: "/v1/{parent}/autonomousDatabases",
|
|
3633
|
+
matches: [
|
|
3634
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3635
|
+
]
|
|
3636
|
+
)
|
|
3637
|
+
transcoder.transcode request_pb
|
|
3638
|
+
end
|
|
3639
|
+
|
|
3640
|
+
##
|
|
3641
|
+
# @private
|
|
3642
|
+
#
|
|
3643
|
+
# GRPC transcoding helper method for the get_autonomous_database REST call
|
|
3644
|
+
#
|
|
3645
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetAutonomousDatabaseRequest]
|
|
3646
|
+
# A request object representing the call parameters. Required.
|
|
3647
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3648
|
+
# Uri, Body, Query string parameters
|
|
3649
|
+
def self.transcode_get_autonomous_database_request request_pb
|
|
3650
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3651
|
+
.with_bindings(
|
|
3652
|
+
uri_method: :get,
|
|
3653
|
+
uri_template: "/v1/{name}",
|
|
3654
|
+
matches: [
|
|
3655
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3656
|
+
]
|
|
3657
|
+
)
|
|
3658
|
+
transcoder.transcode request_pb
|
|
3659
|
+
end
|
|
3660
|
+
|
|
3661
|
+
##
|
|
3662
|
+
# @private
|
|
3663
|
+
#
|
|
3664
|
+
# GRPC transcoding helper method for the create_autonomous_database REST call
|
|
3665
|
+
#
|
|
3666
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateAutonomousDatabaseRequest]
|
|
3667
|
+
# A request object representing the call parameters. Required.
|
|
3668
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3669
|
+
# Uri, Body, Query string parameters
|
|
3670
|
+
def self.transcode_create_autonomous_database_request request_pb
|
|
3671
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3672
|
+
.with_bindings(
|
|
3673
|
+
uri_method: :post,
|
|
3674
|
+
uri_template: "/v1/{parent}/autonomousDatabases",
|
|
3675
|
+
body: "autonomous_database",
|
|
3676
|
+
matches: [
|
|
3677
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3678
|
+
]
|
|
3679
|
+
)
|
|
3680
|
+
transcoder.transcode request_pb
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3683
|
+
##
|
|
3684
|
+
# @private
|
|
3685
|
+
#
|
|
3686
|
+
# GRPC transcoding helper method for the update_autonomous_database REST call
|
|
3687
|
+
#
|
|
3688
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateAutonomousDatabaseRequest]
|
|
3689
|
+
# A request object representing the call parameters. Required.
|
|
3690
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3691
|
+
# Uri, Body, Query string parameters
|
|
3692
|
+
def self.transcode_update_autonomous_database_request request_pb
|
|
3693
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3694
|
+
.with_bindings(
|
|
3695
|
+
uri_method: :patch,
|
|
3696
|
+
uri_template: "/v1/{autonomous_database.name}",
|
|
3697
|
+
body: "autonomous_database",
|
|
3698
|
+
matches: [
|
|
3699
|
+
["autonomous_database.name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3700
|
+
]
|
|
3701
|
+
)
|
|
3702
|
+
transcoder.transcode request_pb
|
|
3703
|
+
end
|
|
3704
|
+
|
|
3705
|
+
##
|
|
3706
|
+
# @private
|
|
3707
|
+
#
|
|
3708
|
+
# GRPC transcoding helper method for the delete_autonomous_database REST call
|
|
3709
|
+
#
|
|
3710
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteAutonomousDatabaseRequest]
|
|
3711
|
+
# A request object representing the call parameters. Required.
|
|
3712
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3713
|
+
# Uri, Body, Query string parameters
|
|
3714
|
+
def self.transcode_delete_autonomous_database_request request_pb
|
|
3715
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3716
|
+
.with_bindings(
|
|
3717
|
+
uri_method: :delete,
|
|
3718
|
+
uri_template: "/v1/{name}",
|
|
3719
|
+
matches: [
|
|
3720
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3721
|
+
]
|
|
3722
|
+
)
|
|
3723
|
+
transcoder.transcode request_pb
|
|
3724
|
+
end
|
|
3725
|
+
|
|
3726
|
+
##
|
|
3727
|
+
# @private
|
|
3728
|
+
#
|
|
3729
|
+
# GRPC transcoding helper method for the restore_autonomous_database REST call
|
|
3730
|
+
#
|
|
3731
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestoreAutonomousDatabaseRequest]
|
|
3732
|
+
# A request object representing the call parameters. Required.
|
|
3733
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3734
|
+
# Uri, Body, Query string parameters
|
|
3735
|
+
def self.transcode_restore_autonomous_database_request request_pb
|
|
3736
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3737
|
+
.with_bindings(
|
|
3738
|
+
uri_method: :post,
|
|
3739
|
+
uri_template: "/v1/{name}:restore",
|
|
3740
|
+
body: "*",
|
|
3741
|
+
matches: [
|
|
3742
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3743
|
+
]
|
|
3744
|
+
)
|
|
3745
|
+
transcoder.transcode request_pb
|
|
3746
|
+
end
|
|
3747
|
+
|
|
3748
|
+
##
|
|
3749
|
+
# @private
|
|
3750
|
+
#
|
|
3751
|
+
# GRPC transcoding helper method for the generate_autonomous_database_wallet REST call
|
|
3752
|
+
#
|
|
3753
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GenerateAutonomousDatabaseWalletRequest]
|
|
3754
|
+
# A request object representing the call parameters. Required.
|
|
3755
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3756
|
+
# Uri, Body, Query string parameters
|
|
3757
|
+
def self.transcode_generate_autonomous_database_wallet_request request_pb
|
|
3758
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3759
|
+
.with_bindings(
|
|
3760
|
+
uri_method: :post,
|
|
3761
|
+
uri_template: "/v1/{name}:generateWallet",
|
|
3762
|
+
body: "*",
|
|
3763
|
+
matches: [
|
|
3764
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3765
|
+
]
|
|
3766
|
+
)
|
|
3767
|
+
transcoder.transcode request_pb
|
|
3768
|
+
end
|
|
3769
|
+
|
|
3770
|
+
##
|
|
3771
|
+
# @private
|
|
3772
|
+
#
|
|
3773
|
+
# GRPC transcoding helper method for the list_autonomous_db_versions REST call
|
|
3774
|
+
#
|
|
3775
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDbVersionsRequest]
|
|
3776
|
+
# A request object representing the call parameters. Required.
|
|
3777
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3778
|
+
# Uri, Body, Query string parameters
|
|
3779
|
+
def self.transcode_list_autonomous_db_versions_request request_pb
|
|
3780
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3781
|
+
.with_bindings(
|
|
3782
|
+
uri_method: :get,
|
|
3783
|
+
uri_template: "/v1/{parent}/autonomousDbVersions",
|
|
3784
|
+
matches: [
|
|
3785
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3786
|
+
]
|
|
3787
|
+
)
|
|
3788
|
+
transcoder.transcode request_pb
|
|
3789
|
+
end
|
|
3790
|
+
|
|
3791
|
+
##
|
|
3792
|
+
# @private
|
|
3793
|
+
#
|
|
3794
|
+
# GRPC transcoding helper method for the list_autonomous_database_character_sets REST call
|
|
3795
|
+
#
|
|
3796
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsRequest]
|
|
3797
|
+
# A request object representing the call parameters. Required.
|
|
3798
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3799
|
+
# Uri, Body, Query string parameters
|
|
3800
|
+
def self.transcode_list_autonomous_database_character_sets_request request_pb
|
|
3801
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3802
|
+
.with_bindings(
|
|
3803
|
+
uri_method: :get,
|
|
3804
|
+
uri_template: "/v1/{parent}/autonomousDatabaseCharacterSets",
|
|
3805
|
+
matches: [
|
|
3806
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3807
|
+
]
|
|
3808
|
+
)
|
|
3809
|
+
transcoder.transcode request_pb
|
|
3810
|
+
end
|
|
3811
|
+
|
|
3812
|
+
##
|
|
3813
|
+
# @private
|
|
3814
|
+
#
|
|
3815
|
+
# GRPC transcoding helper method for the list_autonomous_database_backups REST call
|
|
3816
|
+
#
|
|
3817
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsRequest]
|
|
3818
|
+
# A request object representing the call parameters. Required.
|
|
3819
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3820
|
+
# Uri, Body, Query string parameters
|
|
3821
|
+
def self.transcode_list_autonomous_database_backups_request request_pb
|
|
3822
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3823
|
+
.with_bindings(
|
|
3824
|
+
uri_method: :get,
|
|
3825
|
+
uri_template: "/v1/{parent}/autonomousDatabaseBackups",
|
|
3826
|
+
matches: [
|
|
3827
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3828
|
+
]
|
|
3829
|
+
)
|
|
3830
|
+
transcoder.transcode request_pb
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3833
|
+
##
|
|
3834
|
+
# @private
|
|
3835
|
+
#
|
|
3836
|
+
# GRPC transcoding helper method for the stop_autonomous_database REST call
|
|
3837
|
+
#
|
|
3838
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest]
|
|
3839
|
+
# A request object representing the call parameters. Required.
|
|
3840
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3841
|
+
# Uri, Body, Query string parameters
|
|
3842
|
+
def self.transcode_stop_autonomous_database_request request_pb
|
|
3843
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3844
|
+
.with_bindings(
|
|
3845
|
+
uri_method: :post,
|
|
3846
|
+
uri_template: "/v1/{name}:stop",
|
|
3847
|
+
body: "*",
|
|
3848
|
+
matches: [
|
|
3849
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3850
|
+
]
|
|
3851
|
+
)
|
|
3852
|
+
transcoder.transcode request_pb
|
|
3853
|
+
end
|
|
3854
|
+
|
|
3855
|
+
##
|
|
3856
|
+
# @private
|
|
3857
|
+
#
|
|
3858
|
+
# GRPC transcoding helper method for the start_autonomous_database REST call
|
|
3859
|
+
#
|
|
3860
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest]
|
|
3861
|
+
# A request object representing the call parameters. Required.
|
|
3862
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3863
|
+
# Uri, Body, Query string parameters
|
|
3864
|
+
def self.transcode_start_autonomous_database_request request_pb
|
|
3865
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3866
|
+
.with_bindings(
|
|
3867
|
+
uri_method: :post,
|
|
3868
|
+
uri_template: "/v1/{name}:start",
|
|
3869
|
+
body: "*",
|
|
3870
|
+
matches: [
|
|
3871
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
3872
|
+
]
|
|
3873
|
+
)
|
|
3874
|
+
transcoder.transcode request_pb
|
|
3875
|
+
end
|
|
3876
|
+
|
|
3877
|
+
##
|
|
3878
|
+
# @private
|
|
3879
|
+
#
|
|
3880
|
+
# GRPC transcoding helper method for the restart_autonomous_database REST call
|
|
3881
|
+
#
|
|
3882
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest]
|
|
2466
3883
|
# A request object representing the call parameters. Required.
|
|
2467
3884
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2468
3885
|
# Uri, Body, Query string parameters
|
|
2469
|
-
def self.
|
|
3886
|
+
def self.transcode_restart_autonomous_database_request request_pb
|
|
2470
3887
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2471
3888
|
.with_bindings(
|
|
2472
|
-
uri_method: :
|
|
2473
|
-
uri_template: "/v1/{name}",
|
|
3889
|
+
uri_method: :post,
|
|
3890
|
+
uri_template: "/v1/{name}:restart",
|
|
3891
|
+
body: "*",
|
|
2474
3892
|
matches: [
|
|
2475
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3893
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2476
3894
|
]
|
|
2477
3895
|
)
|
|
2478
3896
|
transcoder.transcode request_pb
|
|
@@ -2481,19 +3899,20 @@ module Google
|
|
|
2481
3899
|
##
|
|
2482
3900
|
# @private
|
|
2483
3901
|
#
|
|
2484
|
-
# GRPC transcoding helper method for the
|
|
3902
|
+
# GRPC transcoding helper method for the switchover_autonomous_database REST call
|
|
2485
3903
|
#
|
|
2486
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3904
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest]
|
|
2487
3905
|
# A request object representing the call parameters. Required.
|
|
2488
3906
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2489
3907
|
# Uri, Body, Query string parameters
|
|
2490
|
-
def self.
|
|
3908
|
+
def self.transcode_switchover_autonomous_database_request request_pb
|
|
2491
3909
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2492
3910
|
.with_bindings(
|
|
2493
|
-
uri_method: :
|
|
2494
|
-
uri_template: "/v1/{
|
|
3911
|
+
uri_method: :post,
|
|
3912
|
+
uri_template: "/v1/{name}:switchover",
|
|
3913
|
+
body: "*",
|
|
2495
3914
|
matches: [
|
|
2496
|
-
["
|
|
3915
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2497
3916
|
]
|
|
2498
3917
|
)
|
|
2499
3918
|
transcoder.transcode request_pb
|
|
@@ -2502,19 +3921,20 @@ module Google
|
|
|
2502
3921
|
##
|
|
2503
3922
|
# @private
|
|
2504
3923
|
#
|
|
2505
|
-
# GRPC transcoding helper method for the
|
|
3924
|
+
# GRPC transcoding helper method for the failover_autonomous_database REST call
|
|
2506
3925
|
#
|
|
2507
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3926
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::FailoverAutonomousDatabaseRequest]
|
|
2508
3927
|
# A request object representing the call parameters. Required.
|
|
2509
3928
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2510
3929
|
# Uri, Body, Query string parameters
|
|
2511
|
-
def self.
|
|
3930
|
+
def self.transcode_failover_autonomous_database_request request_pb
|
|
2512
3931
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2513
3932
|
.with_bindings(
|
|
2514
|
-
uri_method: :
|
|
2515
|
-
uri_template: "/v1/{name}",
|
|
3933
|
+
uri_method: :post,
|
|
3934
|
+
uri_template: "/v1/{name}:failover",
|
|
3935
|
+
body: "*",
|
|
2516
3936
|
matches: [
|
|
2517
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3937
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
|
2518
3938
|
]
|
|
2519
3939
|
)
|
|
2520
3940
|
transcoder.transcode request_pb
|
|
@@ -2523,18 +3943,17 @@ module Google
|
|
|
2523
3943
|
##
|
|
2524
3944
|
# @private
|
|
2525
3945
|
#
|
|
2526
|
-
# GRPC transcoding helper method for the
|
|
3946
|
+
# GRPC transcoding helper method for the list_odb_networks REST call
|
|
2527
3947
|
#
|
|
2528
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3948
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksRequest]
|
|
2529
3949
|
# A request object representing the call parameters. Required.
|
|
2530
3950
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2531
3951
|
# Uri, Body, Query string parameters
|
|
2532
|
-
def self.
|
|
3952
|
+
def self.transcode_list_odb_networks_request request_pb
|
|
2533
3953
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2534
3954
|
.with_bindings(
|
|
2535
|
-
uri_method: :
|
|
2536
|
-
uri_template: "/v1/{parent}/
|
|
2537
|
-
body: "cloud_vm_cluster",
|
|
3955
|
+
uri_method: :get,
|
|
3956
|
+
uri_template: "/v1/{parent}/odbNetworks",
|
|
2538
3957
|
matches: [
|
|
2539
3958
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2540
3959
|
]
|
|
@@ -2545,19 +3964,19 @@ module Google
|
|
|
2545
3964
|
##
|
|
2546
3965
|
# @private
|
|
2547
3966
|
#
|
|
2548
|
-
# GRPC transcoding helper method for the
|
|
3967
|
+
# GRPC transcoding helper method for the get_odb_network REST call
|
|
2549
3968
|
#
|
|
2550
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3969
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbNetworkRequest]
|
|
2551
3970
|
# A request object representing the call parameters. Required.
|
|
2552
3971
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2553
3972
|
# Uri, Body, Query string parameters
|
|
2554
|
-
def self.
|
|
3973
|
+
def self.transcode_get_odb_network_request request_pb
|
|
2555
3974
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2556
3975
|
.with_bindings(
|
|
2557
|
-
uri_method: :
|
|
3976
|
+
uri_method: :get,
|
|
2558
3977
|
uri_template: "/v1/{name}",
|
|
2559
3978
|
matches: [
|
|
2560
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
3979
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
2561
3980
|
]
|
|
2562
3981
|
)
|
|
2563
3982
|
transcoder.transcode request_pb
|
|
@@ -2566,17 +3985,18 @@ module Google
|
|
|
2566
3985
|
##
|
|
2567
3986
|
# @private
|
|
2568
3987
|
#
|
|
2569
|
-
# GRPC transcoding helper method for the
|
|
3988
|
+
# GRPC transcoding helper method for the create_odb_network REST call
|
|
2570
3989
|
#
|
|
2571
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
3990
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbNetworkRequest]
|
|
2572
3991
|
# A request object representing the call parameters. Required.
|
|
2573
3992
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2574
3993
|
# Uri, Body, Query string parameters
|
|
2575
|
-
def self.
|
|
3994
|
+
def self.transcode_create_odb_network_request request_pb
|
|
2576
3995
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2577
3996
|
.with_bindings(
|
|
2578
|
-
uri_method: :
|
|
2579
|
-
uri_template: "/v1/{parent}/
|
|
3997
|
+
uri_method: :post,
|
|
3998
|
+
uri_template: "/v1/{parent}/odbNetworks",
|
|
3999
|
+
body: "odb_network",
|
|
2580
4000
|
matches: [
|
|
2581
4001
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2582
4002
|
]
|
|
@@ -2587,19 +4007,19 @@ module Google
|
|
|
2587
4007
|
##
|
|
2588
4008
|
# @private
|
|
2589
4009
|
#
|
|
2590
|
-
# GRPC transcoding helper method for the
|
|
4010
|
+
# GRPC transcoding helper method for the delete_odb_network REST call
|
|
2591
4011
|
#
|
|
2592
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4012
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbNetworkRequest]
|
|
2593
4013
|
# A request object representing the call parameters. Required.
|
|
2594
4014
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2595
4015
|
# Uri, Body, Query string parameters
|
|
2596
|
-
def self.
|
|
4016
|
+
def self.transcode_delete_odb_network_request request_pb
|
|
2597
4017
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2598
4018
|
.with_bindings(
|
|
2599
|
-
uri_method: :
|
|
2600
|
-
uri_template: "/v1/{
|
|
4019
|
+
uri_method: :delete,
|
|
4020
|
+
uri_template: "/v1/{name}",
|
|
2601
4021
|
matches: [
|
|
2602
|
-
["
|
|
4022
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
2603
4023
|
]
|
|
2604
4024
|
)
|
|
2605
4025
|
transcoder.transcode request_pb
|
|
@@ -2608,26 +4028,19 @@ module Google
|
|
|
2608
4028
|
##
|
|
2609
4029
|
# @private
|
|
2610
4030
|
#
|
|
2611
|
-
# GRPC transcoding helper method for the
|
|
4031
|
+
# GRPC transcoding helper method for the list_odb_subnets REST call
|
|
2612
4032
|
#
|
|
2613
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4033
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsRequest]
|
|
2614
4034
|
# A request object representing the call parameters. Required.
|
|
2615
4035
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2616
4036
|
# Uri, Body, Query string parameters
|
|
2617
|
-
def self.
|
|
4037
|
+
def self.transcode_list_odb_subnets_request request_pb
|
|
2618
4038
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2619
4039
|
.with_bindings(
|
|
2620
4040
|
uri_method: :get,
|
|
2621
|
-
uri_template: "/v1/{parent}/
|
|
2622
|
-
matches: [
|
|
2623
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false]
|
|
2624
|
-
]
|
|
2625
|
-
)
|
|
2626
|
-
.with_bindings(
|
|
2627
|
-
uri_method: :get,
|
|
2628
|
-
uri_template: "/v1/{parent}/dbNodes",
|
|
4041
|
+
uri_template: "/v1/{parent}/odbSubnets",
|
|
2629
4042
|
matches: [
|
|
2630
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/
|
|
4043
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
2631
4044
|
]
|
|
2632
4045
|
)
|
|
2633
4046
|
transcoder.transcode request_pb
|
|
@@ -2636,19 +4049,19 @@ module Google
|
|
|
2636
4049
|
##
|
|
2637
4050
|
# @private
|
|
2638
4051
|
#
|
|
2639
|
-
# GRPC transcoding helper method for the
|
|
4052
|
+
# GRPC transcoding helper method for the get_odb_subnet REST call
|
|
2640
4053
|
#
|
|
2641
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4054
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbSubnetRequest]
|
|
2642
4055
|
# A request object representing the call parameters. Required.
|
|
2643
4056
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2644
4057
|
# Uri, Body, Query string parameters
|
|
2645
|
-
def self.
|
|
4058
|
+
def self.transcode_get_odb_subnet_request request_pb
|
|
2646
4059
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2647
4060
|
.with_bindings(
|
|
2648
4061
|
uri_method: :get,
|
|
2649
|
-
uri_template: "/v1/{
|
|
4062
|
+
uri_template: "/v1/{name}",
|
|
2650
4063
|
matches: [
|
|
2651
|
-
["
|
|
4064
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false]
|
|
2652
4065
|
]
|
|
2653
4066
|
)
|
|
2654
4067
|
transcoder.transcode request_pb
|
|
@@ -2657,19 +4070,20 @@ module Google
|
|
|
2657
4070
|
##
|
|
2658
4071
|
# @private
|
|
2659
4072
|
#
|
|
2660
|
-
# GRPC transcoding helper method for the
|
|
4073
|
+
# GRPC transcoding helper method for the create_odb_subnet REST call
|
|
2661
4074
|
#
|
|
2662
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4075
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbSubnetRequest]
|
|
2663
4076
|
# A request object representing the call parameters. Required.
|
|
2664
4077
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2665
4078
|
# Uri, Body, Query string parameters
|
|
2666
|
-
def self.
|
|
4079
|
+
def self.transcode_create_odb_subnet_request request_pb
|
|
2667
4080
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2668
4081
|
.with_bindings(
|
|
2669
|
-
uri_method: :
|
|
2670
|
-
uri_template: "/v1/{parent}/
|
|
4082
|
+
uri_method: :post,
|
|
4083
|
+
uri_template: "/v1/{parent}/odbSubnets",
|
|
4084
|
+
body: "odb_subnet",
|
|
2671
4085
|
matches: [
|
|
2672
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/
|
|
4086
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false]
|
|
2673
4087
|
]
|
|
2674
4088
|
)
|
|
2675
4089
|
transcoder.transcode request_pb
|
|
@@ -2678,19 +4092,19 @@ module Google
|
|
|
2678
4092
|
##
|
|
2679
4093
|
# @private
|
|
2680
4094
|
#
|
|
2681
|
-
# GRPC transcoding helper method for the
|
|
4095
|
+
# GRPC transcoding helper method for the delete_odb_subnet REST call
|
|
2682
4096
|
#
|
|
2683
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4097
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbSubnetRequest]
|
|
2684
4098
|
# A request object representing the call parameters. Required.
|
|
2685
4099
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2686
4100
|
# Uri, Body, Query string parameters
|
|
2687
|
-
def self.
|
|
4101
|
+
def self.transcode_delete_odb_subnet_request request_pb
|
|
2688
4102
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2689
4103
|
.with_bindings(
|
|
2690
|
-
uri_method: :
|
|
2691
|
-
uri_template: "/v1/{
|
|
4104
|
+
uri_method: :delete,
|
|
4105
|
+
uri_template: "/v1/{name}",
|
|
2692
4106
|
matches: [
|
|
2693
|
-
["
|
|
4107
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false]
|
|
2694
4108
|
]
|
|
2695
4109
|
)
|
|
2696
4110
|
transcoder.transcode request_pb
|
|
@@ -2699,17 +4113,17 @@ module Google
|
|
|
2699
4113
|
##
|
|
2700
4114
|
# @private
|
|
2701
4115
|
#
|
|
2702
|
-
# GRPC transcoding helper method for the
|
|
4116
|
+
# GRPC transcoding helper method for the list_exadb_vm_clusters REST call
|
|
2703
4117
|
#
|
|
2704
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4118
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersRequest]
|
|
2705
4119
|
# A request object representing the call parameters. Required.
|
|
2706
4120
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2707
4121
|
# Uri, Body, Query string parameters
|
|
2708
|
-
def self.
|
|
4122
|
+
def self.transcode_list_exadb_vm_clusters_request request_pb
|
|
2709
4123
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2710
4124
|
.with_bindings(
|
|
2711
4125
|
uri_method: :get,
|
|
2712
|
-
uri_template: "/v1/{parent}/
|
|
4126
|
+
uri_template: "/v1/{parent}/exadbVmClusters",
|
|
2713
4127
|
matches: [
|
|
2714
4128
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2715
4129
|
]
|
|
@@ -2720,19 +4134,19 @@ module Google
|
|
|
2720
4134
|
##
|
|
2721
4135
|
# @private
|
|
2722
4136
|
#
|
|
2723
|
-
# GRPC transcoding helper method for the
|
|
4137
|
+
# GRPC transcoding helper method for the get_exadb_vm_cluster REST call
|
|
2724
4138
|
#
|
|
2725
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4139
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExadbVmClusterRequest]
|
|
2726
4140
|
# A request object representing the call parameters. Required.
|
|
2727
4141
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2728
4142
|
# Uri, Body, Query string parameters
|
|
2729
|
-
def self.
|
|
4143
|
+
def self.transcode_get_exadb_vm_cluster_request request_pb
|
|
2730
4144
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2731
4145
|
.with_bindings(
|
|
2732
4146
|
uri_method: :get,
|
|
2733
4147
|
uri_template: "/v1/{name}",
|
|
2734
4148
|
matches: [
|
|
2735
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4149
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
2736
4150
|
]
|
|
2737
4151
|
)
|
|
2738
4152
|
transcoder.transcode request_pb
|
|
@@ -2741,18 +4155,18 @@ module Google
|
|
|
2741
4155
|
##
|
|
2742
4156
|
# @private
|
|
2743
4157
|
#
|
|
2744
|
-
# GRPC transcoding helper method for the
|
|
4158
|
+
# GRPC transcoding helper method for the create_exadb_vm_cluster REST call
|
|
2745
4159
|
#
|
|
2746
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4160
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExadbVmClusterRequest]
|
|
2747
4161
|
# A request object representing the call parameters. Required.
|
|
2748
4162
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2749
4163
|
# Uri, Body, Query string parameters
|
|
2750
|
-
def self.
|
|
4164
|
+
def self.transcode_create_exadb_vm_cluster_request request_pb
|
|
2751
4165
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2752
4166
|
.with_bindings(
|
|
2753
4167
|
uri_method: :post,
|
|
2754
|
-
uri_template: "/v1/{parent}/
|
|
2755
|
-
body: "
|
|
4168
|
+
uri_template: "/v1/{parent}/exadbVmClusters",
|
|
4169
|
+
body: "exadb_vm_cluster",
|
|
2756
4170
|
matches: [
|
|
2757
4171
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2758
4172
|
]
|
|
@@ -2763,20 +4177,19 @@ module Google
|
|
|
2763
4177
|
##
|
|
2764
4178
|
# @private
|
|
2765
4179
|
#
|
|
2766
|
-
# GRPC transcoding helper method for the
|
|
4180
|
+
# GRPC transcoding helper method for the delete_exadb_vm_cluster REST call
|
|
2767
4181
|
#
|
|
2768
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4182
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExadbVmClusterRequest]
|
|
2769
4183
|
# A request object representing the call parameters. Required.
|
|
2770
4184
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2771
4185
|
# Uri, Body, Query string parameters
|
|
2772
|
-
def self.
|
|
4186
|
+
def self.transcode_delete_exadb_vm_cluster_request request_pb
|
|
2773
4187
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2774
4188
|
.with_bindings(
|
|
2775
|
-
uri_method: :
|
|
2776
|
-
uri_template: "/v1/{
|
|
2777
|
-
body: "autonomous_database",
|
|
4189
|
+
uri_method: :delete,
|
|
4190
|
+
uri_template: "/v1/{name}",
|
|
2778
4191
|
matches: [
|
|
2779
|
-
["
|
|
4192
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
2780
4193
|
]
|
|
2781
4194
|
)
|
|
2782
4195
|
transcoder.transcode request_pb
|
|
@@ -2785,19 +4198,20 @@ module Google
|
|
|
2785
4198
|
##
|
|
2786
4199
|
# @private
|
|
2787
4200
|
#
|
|
2788
|
-
# GRPC transcoding helper method for the
|
|
4201
|
+
# GRPC transcoding helper method for the update_exadb_vm_cluster REST call
|
|
2789
4202
|
#
|
|
2790
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4203
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateExadbVmClusterRequest]
|
|
2791
4204
|
# A request object representing the call parameters. Required.
|
|
2792
4205
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2793
4206
|
# Uri, Body, Query string parameters
|
|
2794
|
-
def self.
|
|
4207
|
+
def self.transcode_update_exadb_vm_cluster_request request_pb
|
|
2795
4208
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2796
4209
|
.with_bindings(
|
|
2797
|
-
uri_method: :
|
|
2798
|
-
uri_template: "/v1/{name}",
|
|
4210
|
+
uri_method: :patch,
|
|
4211
|
+
uri_template: "/v1/{exadb_vm_cluster.name}",
|
|
4212
|
+
body: "exadb_vm_cluster",
|
|
2799
4213
|
matches: [
|
|
2800
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4214
|
+
["exadb_vm_cluster.name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
2801
4215
|
]
|
|
2802
4216
|
)
|
|
2803
4217
|
transcoder.transcode request_pb
|
|
@@ -2806,20 +4220,20 @@ module Google
|
|
|
2806
4220
|
##
|
|
2807
4221
|
# @private
|
|
2808
4222
|
#
|
|
2809
|
-
# GRPC transcoding helper method for the
|
|
4223
|
+
# GRPC transcoding helper method for the remove_virtual_machine_exadb_vm_cluster REST call
|
|
2810
4224
|
#
|
|
2811
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4225
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RemoveVirtualMachineExadbVmClusterRequest]
|
|
2812
4226
|
# A request object representing the call parameters. Required.
|
|
2813
4227
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2814
4228
|
# Uri, Body, Query string parameters
|
|
2815
|
-
def self.
|
|
4229
|
+
def self.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb
|
|
2816
4230
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2817
4231
|
.with_bindings(
|
|
2818
4232
|
uri_method: :post,
|
|
2819
|
-
uri_template: "/v1/{name}:
|
|
4233
|
+
uri_template: "/v1/{name}:removeVirtualMachine",
|
|
2820
4234
|
body: "*",
|
|
2821
4235
|
matches: [
|
|
2822
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4236
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false]
|
|
2823
4237
|
]
|
|
2824
4238
|
)
|
|
2825
4239
|
transcoder.transcode request_pb
|
|
@@ -2828,20 +4242,19 @@ module Google
|
|
|
2828
4242
|
##
|
|
2829
4243
|
# @private
|
|
2830
4244
|
#
|
|
2831
|
-
# GRPC transcoding helper method for the
|
|
4245
|
+
# GRPC transcoding helper method for the list_exascale_db_storage_vaults REST call
|
|
2832
4246
|
#
|
|
2833
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4247
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsRequest]
|
|
2834
4248
|
# A request object representing the call parameters. Required.
|
|
2835
4249
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2836
4250
|
# Uri, Body, Query string parameters
|
|
2837
|
-
def self.
|
|
4251
|
+
def self.transcode_list_exascale_db_storage_vaults_request request_pb
|
|
2838
4252
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2839
4253
|
.with_bindings(
|
|
2840
|
-
uri_method: :
|
|
2841
|
-
uri_template: "/v1/{
|
|
2842
|
-
body: "*",
|
|
4254
|
+
uri_method: :get,
|
|
4255
|
+
uri_template: "/v1/{parent}/exascaleDbStorageVaults",
|
|
2843
4256
|
matches: [
|
|
2844
|
-
["
|
|
4257
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2845
4258
|
]
|
|
2846
4259
|
)
|
|
2847
4260
|
transcoder.transcode request_pb
|
|
@@ -2850,19 +4263,19 @@ module Google
|
|
|
2850
4263
|
##
|
|
2851
4264
|
# @private
|
|
2852
4265
|
#
|
|
2853
|
-
# GRPC transcoding helper method for the
|
|
4266
|
+
# GRPC transcoding helper method for the get_exascale_db_storage_vault REST call
|
|
2854
4267
|
#
|
|
2855
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4268
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExascaleDbStorageVaultRequest]
|
|
2856
4269
|
# A request object representing the call parameters. Required.
|
|
2857
4270
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2858
4271
|
# Uri, Body, Query string parameters
|
|
2859
|
-
def self.
|
|
4272
|
+
def self.transcode_get_exascale_db_storage_vault_request request_pb
|
|
2860
4273
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2861
4274
|
.with_bindings(
|
|
2862
4275
|
uri_method: :get,
|
|
2863
|
-
uri_template: "/v1/{
|
|
4276
|
+
uri_template: "/v1/{name}",
|
|
2864
4277
|
matches: [
|
|
2865
|
-
["
|
|
4278
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false]
|
|
2866
4279
|
]
|
|
2867
4280
|
)
|
|
2868
4281
|
transcoder.transcode request_pb
|
|
@@ -2871,17 +4284,18 @@ module Google
|
|
|
2871
4284
|
##
|
|
2872
4285
|
# @private
|
|
2873
4286
|
#
|
|
2874
|
-
# GRPC transcoding helper method for the
|
|
4287
|
+
# GRPC transcoding helper method for the create_exascale_db_storage_vault REST call
|
|
2875
4288
|
#
|
|
2876
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4289
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExascaleDbStorageVaultRequest]
|
|
2877
4290
|
# A request object representing the call parameters. Required.
|
|
2878
4291
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2879
4292
|
# Uri, Body, Query string parameters
|
|
2880
|
-
def self.
|
|
4293
|
+
def self.transcode_create_exascale_db_storage_vault_request request_pb
|
|
2881
4294
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2882
4295
|
.with_bindings(
|
|
2883
|
-
uri_method: :
|
|
2884
|
-
uri_template: "/v1/{parent}/
|
|
4296
|
+
uri_method: :post,
|
|
4297
|
+
uri_template: "/v1/{parent}/exascaleDbStorageVaults",
|
|
4298
|
+
body: "exascale_db_storage_vault",
|
|
2885
4299
|
matches: [
|
|
2886
4300
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2887
4301
|
]
|
|
@@ -2892,19 +4306,19 @@ module Google
|
|
|
2892
4306
|
##
|
|
2893
4307
|
# @private
|
|
2894
4308
|
#
|
|
2895
|
-
# GRPC transcoding helper method for the
|
|
4309
|
+
# GRPC transcoding helper method for the delete_exascale_db_storage_vault REST call
|
|
2896
4310
|
#
|
|
2897
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4311
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExascaleDbStorageVaultRequest]
|
|
2898
4312
|
# A request object representing the call parameters. Required.
|
|
2899
4313
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2900
4314
|
# Uri, Body, Query string parameters
|
|
2901
|
-
def self.
|
|
4315
|
+
def self.transcode_delete_exascale_db_storage_vault_request request_pb
|
|
2902
4316
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2903
4317
|
.with_bindings(
|
|
2904
|
-
uri_method: :
|
|
2905
|
-
uri_template: "/v1/{
|
|
4318
|
+
uri_method: :delete,
|
|
4319
|
+
uri_template: "/v1/{name}",
|
|
2906
4320
|
matches: [
|
|
2907
|
-
["
|
|
4321
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false]
|
|
2908
4322
|
]
|
|
2909
4323
|
)
|
|
2910
4324
|
transcoder.transcode request_pb
|
|
@@ -2913,20 +4327,19 @@ module Google
|
|
|
2913
4327
|
##
|
|
2914
4328
|
# @private
|
|
2915
4329
|
#
|
|
2916
|
-
# GRPC transcoding helper method for the
|
|
4330
|
+
# GRPC transcoding helper method for the list_db_system_initial_storage_sizes REST call
|
|
2917
4331
|
#
|
|
2918
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4332
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesRequest]
|
|
2919
4333
|
# A request object representing the call parameters. Required.
|
|
2920
4334
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2921
4335
|
# Uri, Body, Query string parameters
|
|
2922
|
-
def self.
|
|
4336
|
+
def self.transcode_list_db_system_initial_storage_sizes_request request_pb
|
|
2923
4337
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2924
4338
|
.with_bindings(
|
|
2925
|
-
uri_method: :
|
|
2926
|
-
uri_template: "/v1/{
|
|
2927
|
-
body: "*",
|
|
4339
|
+
uri_method: :get,
|
|
4340
|
+
uri_template: "/v1/{parent}/dbSystemInitialStorageSizes",
|
|
2928
4341
|
matches: [
|
|
2929
|
-
["
|
|
4342
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2930
4343
|
]
|
|
2931
4344
|
)
|
|
2932
4345
|
transcoder.transcode request_pb
|
|
@@ -2935,20 +4348,19 @@ module Google
|
|
|
2935
4348
|
##
|
|
2936
4349
|
# @private
|
|
2937
4350
|
#
|
|
2938
|
-
# GRPC transcoding helper method for the
|
|
4351
|
+
# GRPC transcoding helper method for the list_databases REST call
|
|
2939
4352
|
#
|
|
2940
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4353
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabasesRequest]
|
|
2941
4354
|
# A request object representing the call parameters. Required.
|
|
2942
4355
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2943
4356
|
# Uri, Body, Query string parameters
|
|
2944
|
-
def self.
|
|
4357
|
+
def self.transcode_list_databases_request request_pb
|
|
2945
4358
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2946
4359
|
.with_bindings(
|
|
2947
|
-
uri_method: :
|
|
2948
|
-
uri_template: "/v1/{
|
|
2949
|
-
body: "*",
|
|
4360
|
+
uri_method: :get,
|
|
4361
|
+
uri_template: "/v1/{parent}/databases",
|
|
2950
4362
|
matches: [
|
|
2951
|
-
["
|
|
4363
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2952
4364
|
]
|
|
2953
4365
|
)
|
|
2954
4366
|
transcoder.transcode request_pb
|
|
@@ -2957,20 +4369,19 @@ module Google
|
|
|
2957
4369
|
##
|
|
2958
4370
|
# @private
|
|
2959
4371
|
#
|
|
2960
|
-
# GRPC transcoding helper method for the
|
|
4372
|
+
# GRPC transcoding helper method for the get_database REST call
|
|
2961
4373
|
#
|
|
2962
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4374
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDatabaseRequest]
|
|
2963
4375
|
# A request object representing the call parameters. Required.
|
|
2964
4376
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2965
4377
|
# Uri, Body, Query string parameters
|
|
2966
|
-
def self.
|
|
4378
|
+
def self.transcode_get_database_request request_pb
|
|
2967
4379
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2968
4380
|
.with_bindings(
|
|
2969
|
-
uri_method: :
|
|
2970
|
-
uri_template: "/v1/{name}
|
|
2971
|
-
body: "*",
|
|
4381
|
+
uri_method: :get,
|
|
4382
|
+
uri_template: "/v1/{name}",
|
|
2972
4383
|
matches: [
|
|
2973
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4384
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/databases/[^/]+/?$}, false]
|
|
2974
4385
|
]
|
|
2975
4386
|
)
|
|
2976
4387
|
transcoder.transcode request_pb
|
|
@@ -2979,20 +4390,19 @@ module Google
|
|
|
2979
4390
|
##
|
|
2980
4391
|
# @private
|
|
2981
4392
|
#
|
|
2982
|
-
# GRPC transcoding helper method for the
|
|
4393
|
+
# GRPC transcoding helper method for the list_pluggable_databases REST call
|
|
2983
4394
|
#
|
|
2984
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4395
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesRequest]
|
|
2985
4396
|
# A request object representing the call parameters. Required.
|
|
2986
4397
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
2987
4398
|
# Uri, Body, Query string parameters
|
|
2988
|
-
def self.
|
|
4399
|
+
def self.transcode_list_pluggable_databases_request request_pb
|
|
2989
4400
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
2990
4401
|
.with_bindings(
|
|
2991
|
-
uri_method: :
|
|
2992
|
-
uri_template: "/v1/{
|
|
2993
|
-
body: "*",
|
|
4402
|
+
uri_method: :get,
|
|
4403
|
+
uri_template: "/v1/{parent}/pluggableDatabases",
|
|
2994
4404
|
matches: [
|
|
2995
|
-
["
|
|
4405
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
2996
4406
|
]
|
|
2997
4407
|
)
|
|
2998
4408
|
transcoder.transcode request_pb
|
|
@@ -3001,20 +4411,19 @@ module Google
|
|
|
3001
4411
|
##
|
|
3002
4412
|
# @private
|
|
3003
4413
|
#
|
|
3004
|
-
# GRPC transcoding helper method for the
|
|
4414
|
+
# GRPC transcoding helper method for the get_pluggable_database REST call
|
|
3005
4415
|
#
|
|
3006
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4416
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetPluggableDatabaseRequest]
|
|
3007
4417
|
# A request object representing the call parameters. Required.
|
|
3008
4418
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3009
4419
|
# Uri, Body, Query string parameters
|
|
3010
|
-
def self.
|
|
4420
|
+
def self.transcode_get_pluggable_database_request request_pb
|
|
3011
4421
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3012
4422
|
.with_bindings(
|
|
3013
|
-
uri_method: :
|
|
3014
|
-
uri_template: "/v1/{name}
|
|
3015
|
-
body: "*",
|
|
4423
|
+
uri_method: :get,
|
|
4424
|
+
uri_template: "/v1/{name}",
|
|
3016
4425
|
matches: [
|
|
3017
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4426
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+/?$}, false]
|
|
3018
4427
|
]
|
|
3019
4428
|
)
|
|
3020
4429
|
transcoder.transcode request_pb
|
|
@@ -3023,17 +4432,17 @@ module Google
|
|
|
3023
4432
|
##
|
|
3024
4433
|
# @private
|
|
3025
4434
|
#
|
|
3026
|
-
# GRPC transcoding helper method for the
|
|
4435
|
+
# GRPC transcoding helper method for the list_db_systems REST call
|
|
3027
4436
|
#
|
|
3028
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4437
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemsRequest]
|
|
3029
4438
|
# A request object representing the call parameters. Required.
|
|
3030
4439
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3031
4440
|
# Uri, Body, Query string parameters
|
|
3032
|
-
def self.
|
|
4441
|
+
def self.transcode_list_db_systems_request request_pb
|
|
3033
4442
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3034
4443
|
.with_bindings(
|
|
3035
4444
|
uri_method: :get,
|
|
3036
|
-
uri_template: "/v1/{parent}/
|
|
4445
|
+
uri_template: "/v1/{parent}/dbSystems",
|
|
3037
4446
|
matches: [
|
|
3038
4447
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3039
4448
|
]
|
|
@@ -3044,19 +4453,19 @@ module Google
|
|
|
3044
4453
|
##
|
|
3045
4454
|
# @private
|
|
3046
4455
|
#
|
|
3047
|
-
# GRPC transcoding helper method for the
|
|
4456
|
+
# GRPC transcoding helper method for the get_db_system REST call
|
|
3048
4457
|
#
|
|
3049
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4458
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDbSystemRequest]
|
|
3050
4459
|
# A request object representing the call parameters. Required.
|
|
3051
4460
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3052
4461
|
# Uri, Body, Query string parameters
|
|
3053
|
-
def self.
|
|
4462
|
+
def self.transcode_get_db_system_request request_pb
|
|
3054
4463
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3055
4464
|
.with_bindings(
|
|
3056
4465
|
uri_method: :get,
|
|
3057
4466
|
uri_template: "/v1/{name}",
|
|
3058
4467
|
matches: [
|
|
3059
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4468
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false]
|
|
3060
4469
|
]
|
|
3061
4470
|
)
|
|
3062
4471
|
transcoder.transcode request_pb
|
|
@@ -3065,18 +4474,18 @@ module Google
|
|
|
3065
4474
|
##
|
|
3066
4475
|
# @private
|
|
3067
4476
|
#
|
|
3068
|
-
# GRPC transcoding helper method for the
|
|
4477
|
+
# GRPC transcoding helper method for the create_db_system REST call
|
|
3069
4478
|
#
|
|
3070
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4479
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest]
|
|
3071
4480
|
# A request object representing the call parameters. Required.
|
|
3072
4481
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3073
4482
|
# Uri, Body, Query string parameters
|
|
3074
|
-
def self.
|
|
4483
|
+
def self.transcode_create_db_system_request request_pb
|
|
3075
4484
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3076
4485
|
.with_bindings(
|
|
3077
4486
|
uri_method: :post,
|
|
3078
|
-
uri_template: "/v1/{parent}/
|
|
3079
|
-
body: "
|
|
4487
|
+
uri_template: "/v1/{parent}/dbSystems",
|
|
4488
|
+
body: "db_system",
|
|
3080
4489
|
matches: [
|
|
3081
4490
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3082
4491
|
]
|
|
@@ -3087,19 +4496,19 @@ module Google
|
|
|
3087
4496
|
##
|
|
3088
4497
|
# @private
|
|
3089
4498
|
#
|
|
3090
|
-
# GRPC transcoding helper method for the
|
|
4499
|
+
# GRPC transcoding helper method for the delete_db_system REST call
|
|
3091
4500
|
#
|
|
3092
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4501
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest]
|
|
3093
4502
|
# A request object representing the call parameters. Required.
|
|
3094
4503
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3095
4504
|
# Uri, Body, Query string parameters
|
|
3096
|
-
def self.
|
|
4505
|
+
def self.transcode_delete_db_system_request request_pb
|
|
3097
4506
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3098
4507
|
.with_bindings(
|
|
3099
4508
|
uri_method: :delete,
|
|
3100
4509
|
uri_template: "/v1/{name}",
|
|
3101
4510
|
matches: [
|
|
3102
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4511
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false]
|
|
3103
4512
|
]
|
|
3104
4513
|
)
|
|
3105
4514
|
transcoder.transcode request_pb
|
|
@@ -3108,19 +4517,19 @@ module Google
|
|
|
3108
4517
|
##
|
|
3109
4518
|
# @private
|
|
3110
4519
|
#
|
|
3111
|
-
# GRPC transcoding helper method for the
|
|
4520
|
+
# GRPC transcoding helper method for the list_goldengate_deployments REST call
|
|
3112
4521
|
#
|
|
3113
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4522
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest]
|
|
3114
4523
|
# A request object representing the call parameters. Required.
|
|
3115
4524
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3116
4525
|
# Uri, Body, Query string parameters
|
|
3117
|
-
def self.
|
|
4526
|
+
def self.transcode_list_goldengate_deployments_request request_pb
|
|
3118
4527
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3119
4528
|
.with_bindings(
|
|
3120
4529
|
uri_method: :get,
|
|
3121
|
-
uri_template: "/v1/{parent}/
|
|
4530
|
+
uri_template: "/v1/{parent}/goldengateDeployments",
|
|
3122
4531
|
matches: [
|
|
3123
|
-
["parent", %r{^projects/[^/]+/locations/[^/]
|
|
4532
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3124
4533
|
]
|
|
3125
4534
|
)
|
|
3126
4535
|
transcoder.transcode request_pb
|
|
@@ -3129,19 +4538,19 @@ module Google
|
|
|
3129
4538
|
##
|
|
3130
4539
|
# @private
|
|
3131
4540
|
#
|
|
3132
|
-
# GRPC transcoding helper method for the
|
|
4541
|
+
# GRPC transcoding helper method for the get_goldengate_deployment REST call
|
|
3133
4542
|
#
|
|
3134
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4543
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest]
|
|
3135
4544
|
# A request object representing the call parameters. Required.
|
|
3136
4545
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3137
4546
|
# Uri, Body, Query string parameters
|
|
3138
|
-
def self.
|
|
4547
|
+
def self.transcode_get_goldengate_deployment_request request_pb
|
|
3139
4548
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3140
4549
|
.with_bindings(
|
|
3141
4550
|
uri_method: :get,
|
|
3142
4551
|
uri_template: "/v1/{name}",
|
|
3143
4552
|
matches: [
|
|
3144
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4553
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false]
|
|
3145
4554
|
]
|
|
3146
4555
|
)
|
|
3147
4556
|
transcoder.transcode request_pb
|
|
@@ -3150,20 +4559,20 @@ module Google
|
|
|
3150
4559
|
##
|
|
3151
4560
|
# @private
|
|
3152
4561
|
#
|
|
3153
|
-
# GRPC transcoding helper method for the
|
|
4562
|
+
# GRPC transcoding helper method for the create_goldengate_deployment REST call
|
|
3154
4563
|
#
|
|
3155
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4564
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest]
|
|
3156
4565
|
# A request object representing the call parameters. Required.
|
|
3157
4566
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3158
4567
|
# Uri, Body, Query string parameters
|
|
3159
|
-
def self.
|
|
4568
|
+
def self.transcode_create_goldengate_deployment_request request_pb
|
|
3160
4569
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3161
4570
|
.with_bindings(
|
|
3162
4571
|
uri_method: :post,
|
|
3163
|
-
uri_template: "/v1/{parent}/
|
|
3164
|
-
body: "
|
|
4572
|
+
uri_template: "/v1/{parent}/goldengateDeployments",
|
|
4573
|
+
body: "goldengate_deployment",
|
|
3165
4574
|
matches: [
|
|
3166
|
-
["parent", %r{^projects/[^/]+/locations/[^/]
|
|
4575
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3167
4576
|
]
|
|
3168
4577
|
)
|
|
3169
4578
|
transcoder.transcode request_pb
|
|
@@ -3172,19 +4581,19 @@ module Google
|
|
|
3172
4581
|
##
|
|
3173
4582
|
# @private
|
|
3174
4583
|
#
|
|
3175
|
-
# GRPC transcoding helper method for the
|
|
4584
|
+
# GRPC transcoding helper method for the delete_goldengate_deployment REST call
|
|
3176
4585
|
#
|
|
3177
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4586
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest]
|
|
3178
4587
|
# A request object representing the call parameters. Required.
|
|
3179
4588
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3180
4589
|
# Uri, Body, Query string parameters
|
|
3181
|
-
def self.
|
|
4590
|
+
def self.transcode_delete_goldengate_deployment_request request_pb
|
|
3182
4591
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3183
4592
|
.with_bindings(
|
|
3184
4593
|
uri_method: :delete,
|
|
3185
4594
|
uri_template: "/v1/{name}",
|
|
3186
4595
|
matches: [
|
|
3187
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4596
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false]
|
|
3188
4597
|
]
|
|
3189
4598
|
)
|
|
3190
4599
|
transcoder.transcode request_pb
|
|
@@ -3193,19 +4602,20 @@ module Google
|
|
|
3193
4602
|
##
|
|
3194
4603
|
# @private
|
|
3195
4604
|
#
|
|
3196
|
-
# GRPC transcoding helper method for the
|
|
4605
|
+
# GRPC transcoding helper method for the stop_goldengate_deployment REST call
|
|
3197
4606
|
#
|
|
3198
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4607
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest]
|
|
3199
4608
|
# A request object representing the call parameters. Required.
|
|
3200
4609
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3201
4610
|
# Uri, Body, Query string parameters
|
|
3202
|
-
def self.
|
|
4611
|
+
def self.transcode_stop_goldengate_deployment_request request_pb
|
|
3203
4612
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3204
4613
|
.with_bindings(
|
|
3205
|
-
uri_method: :
|
|
3206
|
-
uri_template: "/v1/{
|
|
4614
|
+
uri_method: :post,
|
|
4615
|
+
uri_template: "/v1/{name}:stop",
|
|
4616
|
+
body: "*",
|
|
3207
4617
|
matches: [
|
|
3208
|
-
["
|
|
4618
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false]
|
|
3209
4619
|
]
|
|
3210
4620
|
)
|
|
3211
4621
|
transcoder.transcode request_pb
|
|
@@ -3214,19 +4624,20 @@ module Google
|
|
|
3214
4624
|
##
|
|
3215
4625
|
# @private
|
|
3216
4626
|
#
|
|
3217
|
-
# GRPC transcoding helper method for the
|
|
4627
|
+
# GRPC transcoding helper method for the start_goldengate_deployment REST call
|
|
3218
4628
|
#
|
|
3219
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4629
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest]
|
|
3220
4630
|
# A request object representing the call parameters. Required.
|
|
3221
4631
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3222
4632
|
# Uri, Body, Query string parameters
|
|
3223
|
-
def self.
|
|
4633
|
+
def self.transcode_start_goldengate_deployment_request request_pb
|
|
3224
4634
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3225
4635
|
.with_bindings(
|
|
3226
|
-
uri_method: :
|
|
3227
|
-
uri_template: "/v1/{name}",
|
|
4636
|
+
uri_method: :post,
|
|
4637
|
+
uri_template: "/v1/{name}:start",
|
|
4638
|
+
body: "*",
|
|
3228
4639
|
matches: [
|
|
3229
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4640
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false]
|
|
3230
4641
|
]
|
|
3231
4642
|
)
|
|
3232
4643
|
transcoder.transcode request_pb
|
|
@@ -3235,18 +4646,17 @@ module Google
|
|
|
3235
4646
|
##
|
|
3236
4647
|
# @private
|
|
3237
4648
|
#
|
|
3238
|
-
# GRPC transcoding helper method for the
|
|
4649
|
+
# GRPC transcoding helper method for the list_goldengate_connections REST call
|
|
3239
4650
|
#
|
|
3240
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4651
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest]
|
|
3241
4652
|
# A request object representing the call parameters. Required.
|
|
3242
4653
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3243
4654
|
# Uri, Body, Query string parameters
|
|
3244
|
-
def self.
|
|
4655
|
+
def self.transcode_list_goldengate_connections_request request_pb
|
|
3245
4656
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3246
4657
|
.with_bindings(
|
|
3247
|
-
uri_method: :
|
|
3248
|
-
uri_template: "/v1/{parent}/
|
|
3249
|
-
body: "exadb_vm_cluster",
|
|
4658
|
+
uri_method: :get,
|
|
4659
|
+
uri_template: "/v1/{parent}/goldengateConnections",
|
|
3250
4660
|
matches: [
|
|
3251
4661
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3252
4662
|
]
|
|
@@ -3257,19 +4667,19 @@ module Google
|
|
|
3257
4667
|
##
|
|
3258
4668
|
# @private
|
|
3259
4669
|
#
|
|
3260
|
-
# GRPC transcoding helper method for the
|
|
4670
|
+
# GRPC transcoding helper method for the get_goldengate_connection REST call
|
|
3261
4671
|
#
|
|
3262
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4672
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest]
|
|
3263
4673
|
# A request object representing the call parameters. Required.
|
|
3264
4674
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3265
4675
|
# Uri, Body, Query string parameters
|
|
3266
|
-
def self.
|
|
4676
|
+
def self.transcode_get_goldengate_connection_request request_pb
|
|
3267
4677
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3268
4678
|
.with_bindings(
|
|
3269
|
-
uri_method: :
|
|
4679
|
+
uri_method: :get,
|
|
3270
4680
|
uri_template: "/v1/{name}",
|
|
3271
4681
|
matches: [
|
|
3272
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4682
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+/?$}, false]
|
|
3273
4683
|
]
|
|
3274
4684
|
)
|
|
3275
4685
|
transcoder.transcode request_pb
|
|
@@ -3278,20 +4688,20 @@ module Google
|
|
|
3278
4688
|
##
|
|
3279
4689
|
# @private
|
|
3280
4690
|
#
|
|
3281
|
-
# GRPC transcoding helper method for the
|
|
4691
|
+
# GRPC transcoding helper method for the create_goldengate_connection REST call
|
|
3282
4692
|
#
|
|
3283
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4693
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest]
|
|
3284
4694
|
# A request object representing the call parameters. Required.
|
|
3285
4695
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3286
4696
|
# Uri, Body, Query string parameters
|
|
3287
|
-
def self.
|
|
4697
|
+
def self.transcode_create_goldengate_connection_request request_pb
|
|
3288
4698
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3289
4699
|
.with_bindings(
|
|
3290
|
-
uri_method: :
|
|
3291
|
-
uri_template: "/v1/{
|
|
3292
|
-
body: "
|
|
4700
|
+
uri_method: :post,
|
|
4701
|
+
uri_template: "/v1/{parent}/goldengateConnections",
|
|
4702
|
+
body: "goldengate_connection",
|
|
3293
4703
|
matches: [
|
|
3294
|
-
["
|
|
4704
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3295
4705
|
]
|
|
3296
4706
|
)
|
|
3297
4707
|
transcoder.transcode request_pb
|
|
@@ -3300,20 +4710,19 @@ module Google
|
|
|
3300
4710
|
##
|
|
3301
4711
|
# @private
|
|
3302
4712
|
#
|
|
3303
|
-
# GRPC transcoding helper method for the
|
|
4713
|
+
# GRPC transcoding helper method for the delete_goldengate_connection REST call
|
|
3304
4714
|
#
|
|
3305
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4715
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest]
|
|
3306
4716
|
# A request object representing the call parameters. Required.
|
|
3307
4717
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3308
4718
|
# Uri, Body, Query string parameters
|
|
3309
|
-
def self.
|
|
4719
|
+
def self.transcode_delete_goldengate_connection_request request_pb
|
|
3310
4720
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3311
4721
|
.with_bindings(
|
|
3312
|
-
uri_method: :
|
|
3313
|
-
uri_template: "/v1/{name}
|
|
3314
|
-
body: "*",
|
|
4722
|
+
uri_method: :delete,
|
|
4723
|
+
uri_template: "/v1/{name}",
|
|
3315
4724
|
matches: [
|
|
3316
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4725
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+/?$}, false]
|
|
3317
4726
|
]
|
|
3318
4727
|
)
|
|
3319
4728
|
transcoder.transcode request_pb
|
|
@@ -3322,19 +4731,19 @@ module Google
|
|
|
3322
4731
|
##
|
|
3323
4732
|
# @private
|
|
3324
4733
|
#
|
|
3325
|
-
# GRPC transcoding helper method for the
|
|
4734
|
+
# GRPC transcoding helper method for the get_goldengate_deployment_version REST call
|
|
3326
4735
|
#
|
|
3327
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4736
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest]
|
|
3328
4737
|
# A request object representing the call parameters. Required.
|
|
3329
4738
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3330
4739
|
# Uri, Body, Query string parameters
|
|
3331
|
-
def self.
|
|
4740
|
+
def self.transcode_get_goldengate_deployment_version_request request_pb
|
|
3332
4741
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3333
4742
|
.with_bindings(
|
|
3334
4743
|
uri_method: :get,
|
|
3335
|
-
uri_template: "/v1/{
|
|
4744
|
+
uri_template: "/v1/{name}",
|
|
3336
4745
|
matches: [
|
|
3337
|
-
["
|
|
4746
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentVersions/[^/]+/?$}, false]
|
|
3338
4747
|
]
|
|
3339
4748
|
)
|
|
3340
4749
|
transcoder.transcode request_pb
|
|
@@ -3343,19 +4752,19 @@ module Google
|
|
|
3343
4752
|
##
|
|
3344
4753
|
# @private
|
|
3345
4754
|
#
|
|
3346
|
-
# GRPC transcoding helper method for the
|
|
4755
|
+
# GRPC transcoding helper method for the list_goldengate_deployment_versions REST call
|
|
3347
4756
|
#
|
|
3348
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4757
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest]
|
|
3349
4758
|
# A request object representing the call parameters. Required.
|
|
3350
4759
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3351
4760
|
# Uri, Body, Query string parameters
|
|
3352
|
-
def self.
|
|
4761
|
+
def self.transcode_list_goldengate_deployment_versions_request request_pb
|
|
3353
4762
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3354
4763
|
.with_bindings(
|
|
3355
4764
|
uri_method: :get,
|
|
3356
|
-
uri_template: "/v1/{
|
|
4765
|
+
uri_template: "/v1/{parent}/goldengateDeploymentVersions",
|
|
3357
4766
|
matches: [
|
|
3358
|
-
["
|
|
4767
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3359
4768
|
]
|
|
3360
4769
|
)
|
|
3361
4770
|
transcoder.transcode request_pb
|
|
@@ -3364,20 +4773,19 @@ module Google
|
|
|
3364
4773
|
##
|
|
3365
4774
|
# @private
|
|
3366
4775
|
#
|
|
3367
|
-
# GRPC transcoding helper method for the
|
|
4776
|
+
# GRPC transcoding helper method for the get_goldengate_deployment_type REST call
|
|
3368
4777
|
#
|
|
3369
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4778
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest]
|
|
3370
4779
|
# A request object representing the call parameters. Required.
|
|
3371
4780
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3372
4781
|
# Uri, Body, Query string parameters
|
|
3373
|
-
def self.
|
|
4782
|
+
def self.transcode_get_goldengate_deployment_type_request request_pb
|
|
3374
4783
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3375
4784
|
.with_bindings(
|
|
3376
|
-
uri_method: :
|
|
3377
|
-
uri_template: "/v1/{
|
|
3378
|
-
body: "exascale_db_storage_vault",
|
|
4785
|
+
uri_method: :get,
|
|
4786
|
+
uri_template: "/v1/{name}",
|
|
3379
4787
|
matches: [
|
|
3380
|
-
["
|
|
4788
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentTypes/[^/]+/?$}, false]
|
|
3381
4789
|
]
|
|
3382
4790
|
)
|
|
3383
4791
|
transcoder.transcode request_pb
|
|
@@ -3386,19 +4794,19 @@ module Google
|
|
|
3386
4794
|
##
|
|
3387
4795
|
# @private
|
|
3388
4796
|
#
|
|
3389
|
-
# GRPC transcoding helper method for the
|
|
4797
|
+
# GRPC transcoding helper method for the list_goldengate_deployment_types REST call
|
|
3390
4798
|
#
|
|
3391
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4799
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest]
|
|
3392
4800
|
# A request object representing the call parameters. Required.
|
|
3393
4801
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3394
4802
|
# Uri, Body, Query string parameters
|
|
3395
|
-
def self.
|
|
4803
|
+
def self.transcode_list_goldengate_deployment_types_request request_pb
|
|
3396
4804
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3397
4805
|
.with_bindings(
|
|
3398
|
-
uri_method: :
|
|
3399
|
-
uri_template: "/v1/{
|
|
4806
|
+
uri_method: :get,
|
|
4807
|
+
uri_template: "/v1/{parent}/goldengateDeploymentTypes",
|
|
3400
4808
|
matches: [
|
|
3401
|
-
["
|
|
4809
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3402
4810
|
]
|
|
3403
4811
|
)
|
|
3404
4812
|
transcoder.transcode request_pb
|
|
@@ -3407,19 +4815,19 @@ module Google
|
|
|
3407
4815
|
##
|
|
3408
4816
|
# @private
|
|
3409
4817
|
#
|
|
3410
|
-
# GRPC transcoding helper method for the
|
|
4818
|
+
# GRPC transcoding helper method for the get_goldengate_deployment_environment REST call
|
|
3411
4819
|
#
|
|
3412
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4820
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest]
|
|
3413
4821
|
# A request object representing the call parameters. Required.
|
|
3414
4822
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3415
4823
|
# Uri, Body, Query string parameters
|
|
3416
|
-
def self.
|
|
4824
|
+
def self.transcode_get_goldengate_deployment_environment_request request_pb
|
|
3417
4825
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3418
4826
|
.with_bindings(
|
|
3419
4827
|
uri_method: :get,
|
|
3420
|
-
uri_template: "/v1/{
|
|
4828
|
+
uri_template: "/v1/{name}",
|
|
3421
4829
|
matches: [
|
|
3422
|
-
["
|
|
4830
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentEnvironments/[^/]+/?$}, false]
|
|
3423
4831
|
]
|
|
3424
4832
|
)
|
|
3425
4833
|
transcoder.transcode request_pb
|
|
@@ -3428,17 +4836,17 @@ module Google
|
|
|
3428
4836
|
##
|
|
3429
4837
|
# @private
|
|
3430
4838
|
#
|
|
3431
|
-
# GRPC transcoding helper method for the
|
|
4839
|
+
# GRPC transcoding helper method for the list_goldengate_deployment_environments REST call
|
|
3432
4840
|
#
|
|
3433
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4841
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest]
|
|
3434
4842
|
# A request object representing the call parameters. Required.
|
|
3435
4843
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3436
4844
|
# Uri, Body, Query string parameters
|
|
3437
|
-
def self.
|
|
4845
|
+
def self.transcode_list_goldengate_deployment_environments_request request_pb
|
|
3438
4846
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3439
4847
|
.with_bindings(
|
|
3440
4848
|
uri_method: :get,
|
|
3441
|
-
uri_template: "/v1/{parent}/
|
|
4849
|
+
uri_template: "/v1/{parent}/goldengateDeploymentEnvironments",
|
|
3442
4850
|
matches: [
|
|
3443
4851
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3444
4852
|
]
|
|
@@ -3449,19 +4857,19 @@ module Google
|
|
|
3449
4857
|
##
|
|
3450
4858
|
# @private
|
|
3451
4859
|
#
|
|
3452
|
-
# GRPC transcoding helper method for the
|
|
4860
|
+
# GRPC transcoding helper method for the get_goldengate_connection_type REST call
|
|
3453
4861
|
#
|
|
3454
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4862
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest]
|
|
3455
4863
|
# A request object representing the call parameters. Required.
|
|
3456
4864
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3457
4865
|
# Uri, Body, Query string parameters
|
|
3458
|
-
def self.
|
|
4866
|
+
def self.transcode_get_goldengate_connection_type_request request_pb
|
|
3459
4867
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3460
4868
|
.with_bindings(
|
|
3461
4869
|
uri_method: :get,
|
|
3462
4870
|
uri_template: "/v1/{name}",
|
|
3463
4871
|
matches: [
|
|
3464
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
|
4872
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionTypes/[^/]+/?$}, false]
|
|
3465
4873
|
]
|
|
3466
4874
|
)
|
|
3467
4875
|
transcoder.transcode request_pb
|
|
@@ -3470,17 +4878,17 @@ module Google
|
|
|
3470
4878
|
##
|
|
3471
4879
|
# @private
|
|
3472
4880
|
#
|
|
3473
|
-
# GRPC transcoding helper method for the
|
|
4881
|
+
# GRPC transcoding helper method for the list_goldengate_connection_types REST call
|
|
3474
4882
|
#
|
|
3475
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4883
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest]
|
|
3476
4884
|
# A request object representing the call parameters. Required.
|
|
3477
4885
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3478
4886
|
# Uri, Body, Query string parameters
|
|
3479
|
-
def self.
|
|
4887
|
+
def self.transcode_list_goldengate_connection_types_request request_pb
|
|
3480
4888
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3481
4889
|
.with_bindings(
|
|
3482
4890
|
uri_method: :get,
|
|
3483
|
-
uri_template: "/v1/{parent}/
|
|
4891
|
+
uri_template: "/v1/{parent}/goldengateConnectionTypes",
|
|
3484
4892
|
matches: [
|
|
3485
4893
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3486
4894
|
]
|
|
@@ -3491,19 +4899,19 @@ module Google
|
|
|
3491
4899
|
##
|
|
3492
4900
|
# @private
|
|
3493
4901
|
#
|
|
3494
|
-
# GRPC transcoding helper method for the
|
|
4902
|
+
# GRPC transcoding helper method for the list_db_versions REST call
|
|
3495
4903
|
#
|
|
3496
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4904
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest]
|
|
3497
4905
|
# A request object representing the call parameters. Required.
|
|
3498
4906
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3499
4907
|
# Uri, Body, Query string parameters
|
|
3500
|
-
def self.
|
|
4908
|
+
def self.transcode_list_db_versions_request request_pb
|
|
3501
4909
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3502
4910
|
.with_bindings(
|
|
3503
4911
|
uri_method: :get,
|
|
3504
|
-
uri_template: "/v1/{
|
|
4912
|
+
uri_template: "/v1/{parent}/dbVersions",
|
|
3505
4913
|
matches: [
|
|
3506
|
-
["
|
|
4914
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3507
4915
|
]
|
|
3508
4916
|
)
|
|
3509
4917
|
transcoder.transcode request_pb
|
|
@@ -3512,17 +4920,17 @@ module Google
|
|
|
3512
4920
|
##
|
|
3513
4921
|
# @private
|
|
3514
4922
|
#
|
|
3515
|
-
# GRPC transcoding helper method for the
|
|
4923
|
+
# GRPC transcoding helper method for the list_database_character_sets REST call
|
|
3516
4924
|
#
|
|
3517
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4925
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest]
|
|
3518
4926
|
# A request object representing the call parameters. Required.
|
|
3519
4927
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3520
4928
|
# Uri, Body, Query string parameters
|
|
3521
|
-
def self.
|
|
4929
|
+
def self.transcode_list_database_character_sets_request request_pb
|
|
3522
4930
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3523
4931
|
.with_bindings(
|
|
3524
4932
|
uri_method: :get,
|
|
3525
|
-
uri_template: "/v1/{parent}/
|
|
4933
|
+
uri_template: "/v1/{parent}/databaseCharacterSets",
|
|
3526
4934
|
matches: [
|
|
3527
4935
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3528
4936
|
]
|
|
@@ -3533,19 +4941,19 @@ module Google
|
|
|
3533
4941
|
##
|
|
3534
4942
|
# @private
|
|
3535
4943
|
#
|
|
3536
|
-
# GRPC transcoding helper method for the
|
|
4944
|
+
# GRPC transcoding helper method for the list_goldengate_connection_assignments REST call
|
|
3537
4945
|
#
|
|
3538
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4946
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest]
|
|
3539
4947
|
# A request object representing the call parameters. Required.
|
|
3540
4948
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3541
4949
|
# Uri, Body, Query string parameters
|
|
3542
|
-
def self.
|
|
4950
|
+
def self.transcode_list_goldengate_connection_assignments_request request_pb
|
|
3543
4951
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3544
4952
|
.with_bindings(
|
|
3545
4953
|
uri_method: :get,
|
|
3546
|
-
uri_template: "/v1/{
|
|
4954
|
+
uri_template: "/v1/{parent}/goldengateConnectionAssignments",
|
|
3547
4955
|
matches: [
|
|
3548
|
-
["
|
|
4956
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3549
4957
|
]
|
|
3550
4958
|
)
|
|
3551
4959
|
transcoder.transcode request_pb
|
|
@@ -3554,20 +4962,19 @@ module Google
|
|
|
3554
4962
|
##
|
|
3555
4963
|
# @private
|
|
3556
4964
|
#
|
|
3557
|
-
# GRPC transcoding helper method for the
|
|
4965
|
+
# GRPC transcoding helper method for the get_goldengate_connection_assignment REST call
|
|
3558
4966
|
#
|
|
3559
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4967
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest]
|
|
3560
4968
|
# A request object representing the call parameters. Required.
|
|
3561
4969
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3562
4970
|
# Uri, Body, Query string parameters
|
|
3563
|
-
def self.
|
|
4971
|
+
def self.transcode_get_goldengate_connection_assignment_request request_pb
|
|
3564
4972
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3565
4973
|
.with_bindings(
|
|
3566
|
-
uri_method: :
|
|
3567
|
-
uri_template: "/v1/{
|
|
3568
|
-
body: "db_system",
|
|
4974
|
+
uri_method: :get,
|
|
4975
|
+
uri_template: "/v1/{name}",
|
|
3569
4976
|
matches: [
|
|
3570
|
-
["
|
|
4977
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false]
|
|
3571
4978
|
]
|
|
3572
4979
|
)
|
|
3573
4980
|
transcoder.transcode request_pb
|
|
@@ -3576,19 +4983,20 @@ module Google
|
|
|
3576
4983
|
##
|
|
3577
4984
|
# @private
|
|
3578
4985
|
#
|
|
3579
|
-
# GRPC transcoding helper method for the
|
|
4986
|
+
# GRPC transcoding helper method for the create_goldengate_connection_assignment REST call
|
|
3580
4987
|
#
|
|
3581
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
4988
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest]
|
|
3582
4989
|
# A request object representing the call parameters. Required.
|
|
3583
4990
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3584
4991
|
# Uri, Body, Query string parameters
|
|
3585
|
-
def self.
|
|
4992
|
+
def self.transcode_create_goldengate_connection_assignment_request request_pb
|
|
3586
4993
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3587
4994
|
.with_bindings(
|
|
3588
|
-
uri_method: :
|
|
3589
|
-
uri_template: "/v1/{
|
|
4995
|
+
uri_method: :post,
|
|
4996
|
+
uri_template: "/v1/{parent}/goldengateConnectionAssignments",
|
|
4997
|
+
body: "goldengate_connection_assignment",
|
|
3590
4998
|
matches: [
|
|
3591
|
-
["
|
|
4999
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
3592
5000
|
]
|
|
3593
5001
|
)
|
|
3594
5002
|
transcoder.transcode request_pb
|
|
@@ -3597,19 +5005,19 @@ module Google
|
|
|
3597
5005
|
##
|
|
3598
5006
|
# @private
|
|
3599
5007
|
#
|
|
3600
|
-
# GRPC transcoding helper method for the
|
|
5008
|
+
# GRPC transcoding helper method for the delete_goldengate_connection_assignment REST call
|
|
3601
5009
|
#
|
|
3602
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
5010
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest]
|
|
3603
5011
|
# A request object representing the call parameters. Required.
|
|
3604
5012
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3605
5013
|
# Uri, Body, Query string parameters
|
|
3606
|
-
def self.
|
|
5014
|
+
def self.transcode_delete_goldengate_connection_assignment_request request_pb
|
|
3607
5015
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3608
5016
|
.with_bindings(
|
|
3609
|
-
uri_method: :
|
|
3610
|
-
uri_template: "/v1/{
|
|
5017
|
+
uri_method: :delete,
|
|
5018
|
+
uri_template: "/v1/{name}",
|
|
3611
5019
|
matches: [
|
|
3612
|
-
["
|
|
5020
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false]
|
|
3613
5021
|
]
|
|
3614
5022
|
)
|
|
3615
5023
|
transcoder.transcode request_pb
|
|
@@ -3618,19 +5026,20 @@ module Google
|
|
|
3618
5026
|
##
|
|
3619
5027
|
# @private
|
|
3620
5028
|
#
|
|
3621
|
-
# GRPC transcoding helper method for the
|
|
5029
|
+
# GRPC transcoding helper method for the test_goldengate_connection_assignment REST call
|
|
3622
5030
|
#
|
|
3623
|
-
# @param request_pb [::Google::Cloud::OracleDatabase::V1::
|
|
5031
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest]
|
|
3624
5032
|
# A request object representing the call parameters. Required.
|
|
3625
5033
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3626
5034
|
# Uri, Body, Query string parameters
|
|
3627
|
-
def self.
|
|
5035
|
+
def self.transcode_test_goldengate_connection_assignment_request request_pb
|
|
3628
5036
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3629
5037
|
.with_bindings(
|
|
3630
|
-
uri_method: :
|
|
3631
|
-
uri_template: "/v1/{
|
|
5038
|
+
uri_method: :post,
|
|
5039
|
+
uri_template: "/v1/{name}:test",
|
|
5040
|
+
body: "*",
|
|
3632
5041
|
matches: [
|
|
3633
|
-
["
|
|
5042
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false]
|
|
3634
5043
|
]
|
|
3635
5044
|
)
|
|
3636
5045
|
transcoder.transcode request_pb
|