google-cloud-oracle_database-v1 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +285 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +186 -0
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +4 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +6 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +30 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9d93283f8344bb44ab9424170c58a978cb086bf93d868971f1f4d2f5fb4e4de
|
4
|
+
data.tar.gz: b0ef7f3d3d6e855d7f6780248bd1b416a9730eed1d1a7db6460efc7ae20ec67a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db7904a5ee7d89e6cfad35fa586668f8675ff2114fa8b7f6812c0e6aa2754d816053a000a681f43cb86ad4f3cd45417ed29f10a820367496e4cb1f54ce0f4146
|
7
|
+
data.tar.gz: e2a108fa537ad4d3019b8dd560215a8ca1999ec96dad1d82339c2cef1480a68fd53b77617fab95ee97e1cde4b102e186842b42f21f43d619ca573236d0cad4ab
|
@@ -2330,6 +2330,270 @@ module Google
|
|
2330
2330
|
raise ::Google::Cloud::Error.from_error(e)
|
2331
2331
|
end
|
2332
2332
|
|
2333
|
+
##
|
2334
|
+
# Stops an Autonomous Database.
|
2335
|
+
#
|
2336
|
+
# @overload stop_autonomous_database(request, options = nil)
|
2337
|
+
# Pass arguments to `stop_autonomous_database` via a request object, either of type
|
2338
|
+
# {::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest} or an equivalent Hash.
|
2339
|
+
#
|
2340
|
+
# @param request [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest, ::Hash]
|
2341
|
+
# A request object representing the call parameters. Required. To specify no
|
2342
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2343
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2344
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2345
|
+
#
|
2346
|
+
# @overload stop_autonomous_database(name: nil)
|
2347
|
+
# Pass arguments to `stop_autonomous_database` via keyword arguments. Note that at
|
2348
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2349
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2350
|
+
#
|
2351
|
+
# @param name [::String]
|
2352
|
+
# Required. The name of the Autonomous Database in the following format:
|
2353
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
2354
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2355
|
+
# @yieldparam result [::Gapic::Operation]
|
2356
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2357
|
+
#
|
2358
|
+
# @return [::Gapic::Operation]
|
2359
|
+
#
|
2360
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2361
|
+
#
|
2362
|
+
# @example Basic example
|
2363
|
+
# require "google/cloud/oracle_database/v1"
|
2364
|
+
#
|
2365
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2366
|
+
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
2367
|
+
#
|
2368
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2369
|
+
# request = Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest.new
|
2370
|
+
#
|
2371
|
+
# # Call the stop_autonomous_database method.
|
2372
|
+
# result = client.stop_autonomous_database request
|
2373
|
+
#
|
2374
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2375
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2376
|
+
# # Here is how to wait for a response.
|
2377
|
+
# result.wait_until_done! timeout: 60
|
2378
|
+
# if result.response?
|
2379
|
+
# p result.response
|
2380
|
+
# else
|
2381
|
+
# puts "No response received."
|
2382
|
+
# end
|
2383
|
+
#
|
2384
|
+
def stop_autonomous_database request, options = nil
|
2385
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2386
|
+
|
2387
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest
|
2388
|
+
|
2389
|
+
# Converts hash and nil to an options object
|
2390
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2391
|
+
|
2392
|
+
# Customize the options with defaults
|
2393
|
+
call_metadata = @config.rpcs.stop_autonomous_database.metadata.to_h
|
2394
|
+
|
2395
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2396
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2397
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2398
|
+
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
2399
|
+
transports_version_send: [:rest]
|
2400
|
+
|
2401
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2402
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2403
|
+
|
2404
|
+
options.apply_defaults timeout: @config.rpcs.stop_autonomous_database.timeout,
|
2405
|
+
metadata: call_metadata,
|
2406
|
+
retry_policy: @config.rpcs.stop_autonomous_database.retry_policy
|
2407
|
+
|
2408
|
+
options.apply_defaults timeout: @config.timeout,
|
2409
|
+
metadata: @config.metadata,
|
2410
|
+
retry_policy: @config.retry_policy
|
2411
|
+
|
2412
|
+
@oracle_database_stub.stop_autonomous_database request, options do |result, operation|
|
2413
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
2414
|
+
yield result, operation if block_given?
|
2415
|
+
throw :response, result
|
2416
|
+
end
|
2417
|
+
rescue ::Gapic::Rest::Error => e
|
2418
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
##
|
2422
|
+
# Starts an Autonomous Database.
|
2423
|
+
#
|
2424
|
+
# @overload start_autonomous_database(request, options = nil)
|
2425
|
+
# Pass arguments to `start_autonomous_database` via a request object, either of type
|
2426
|
+
# {::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest} or an equivalent Hash.
|
2427
|
+
#
|
2428
|
+
# @param request [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest, ::Hash]
|
2429
|
+
# A request object representing the call parameters. Required. To specify no
|
2430
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2431
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2432
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2433
|
+
#
|
2434
|
+
# @overload start_autonomous_database(name: nil)
|
2435
|
+
# Pass arguments to `start_autonomous_database` via keyword arguments. Note that at
|
2436
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2437
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2438
|
+
#
|
2439
|
+
# @param name [::String]
|
2440
|
+
# Required. The name of the Autonomous Database in the following format:
|
2441
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
2442
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2443
|
+
# @yieldparam result [::Gapic::Operation]
|
2444
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2445
|
+
#
|
2446
|
+
# @return [::Gapic::Operation]
|
2447
|
+
#
|
2448
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2449
|
+
#
|
2450
|
+
# @example Basic example
|
2451
|
+
# require "google/cloud/oracle_database/v1"
|
2452
|
+
#
|
2453
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2454
|
+
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
2455
|
+
#
|
2456
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2457
|
+
# request = Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest.new
|
2458
|
+
#
|
2459
|
+
# # Call the start_autonomous_database method.
|
2460
|
+
# result = client.start_autonomous_database request
|
2461
|
+
#
|
2462
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2463
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2464
|
+
# # Here is how to wait for a response.
|
2465
|
+
# result.wait_until_done! timeout: 60
|
2466
|
+
# if result.response?
|
2467
|
+
# p result.response
|
2468
|
+
# else
|
2469
|
+
# puts "No response received."
|
2470
|
+
# end
|
2471
|
+
#
|
2472
|
+
def start_autonomous_database request, options = nil
|
2473
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2474
|
+
|
2475
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest
|
2476
|
+
|
2477
|
+
# Converts hash and nil to an options object
|
2478
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2479
|
+
|
2480
|
+
# Customize the options with defaults
|
2481
|
+
call_metadata = @config.rpcs.start_autonomous_database.metadata.to_h
|
2482
|
+
|
2483
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2484
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2485
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2486
|
+
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
2487
|
+
transports_version_send: [:rest]
|
2488
|
+
|
2489
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2490
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2491
|
+
|
2492
|
+
options.apply_defaults timeout: @config.rpcs.start_autonomous_database.timeout,
|
2493
|
+
metadata: call_metadata,
|
2494
|
+
retry_policy: @config.rpcs.start_autonomous_database.retry_policy
|
2495
|
+
|
2496
|
+
options.apply_defaults timeout: @config.timeout,
|
2497
|
+
metadata: @config.metadata,
|
2498
|
+
retry_policy: @config.retry_policy
|
2499
|
+
|
2500
|
+
@oracle_database_stub.start_autonomous_database request, options do |result, operation|
|
2501
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
2502
|
+
yield result, operation if block_given?
|
2503
|
+
throw :response, result
|
2504
|
+
end
|
2505
|
+
rescue ::Gapic::Rest::Error => e
|
2506
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
##
|
2510
|
+
# Restarts an Autonomous Database.
|
2511
|
+
#
|
2512
|
+
# @overload restart_autonomous_database(request, options = nil)
|
2513
|
+
# Pass arguments to `restart_autonomous_database` via a request object, either of type
|
2514
|
+
# {::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest} or an equivalent Hash.
|
2515
|
+
#
|
2516
|
+
# @param request [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest, ::Hash]
|
2517
|
+
# A request object representing the call parameters. Required. To specify no
|
2518
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2519
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2520
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2521
|
+
#
|
2522
|
+
# @overload restart_autonomous_database(name: nil)
|
2523
|
+
# Pass arguments to `restart_autonomous_database` via keyword arguments. Note that at
|
2524
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2525
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2526
|
+
#
|
2527
|
+
# @param name [::String]
|
2528
|
+
# Required. The name of the Autonomous Database in the following format:
|
2529
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
2530
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2531
|
+
# @yieldparam result [::Gapic::Operation]
|
2532
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2533
|
+
#
|
2534
|
+
# @return [::Gapic::Operation]
|
2535
|
+
#
|
2536
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2537
|
+
#
|
2538
|
+
# @example Basic example
|
2539
|
+
# require "google/cloud/oracle_database/v1"
|
2540
|
+
#
|
2541
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2542
|
+
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
2543
|
+
#
|
2544
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2545
|
+
# request = Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest.new
|
2546
|
+
#
|
2547
|
+
# # Call the restart_autonomous_database method.
|
2548
|
+
# result = client.restart_autonomous_database request
|
2549
|
+
#
|
2550
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2551
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2552
|
+
# # Here is how to wait for a response.
|
2553
|
+
# result.wait_until_done! timeout: 60
|
2554
|
+
# if result.response?
|
2555
|
+
# p result.response
|
2556
|
+
# else
|
2557
|
+
# puts "No response received."
|
2558
|
+
# end
|
2559
|
+
#
|
2560
|
+
def restart_autonomous_database request, options = nil
|
2561
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2562
|
+
|
2563
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest
|
2564
|
+
|
2565
|
+
# Converts hash and nil to an options object
|
2566
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2567
|
+
|
2568
|
+
# Customize the options with defaults
|
2569
|
+
call_metadata = @config.rpcs.restart_autonomous_database.metadata.to_h
|
2570
|
+
|
2571
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2572
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2573
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2574
|
+
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
2575
|
+
transports_version_send: [:rest]
|
2576
|
+
|
2577
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2578
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2579
|
+
|
2580
|
+
options.apply_defaults timeout: @config.rpcs.restart_autonomous_database.timeout,
|
2581
|
+
metadata: call_metadata,
|
2582
|
+
retry_policy: @config.rpcs.restart_autonomous_database.retry_policy
|
2583
|
+
|
2584
|
+
options.apply_defaults timeout: @config.timeout,
|
2585
|
+
metadata: @config.metadata,
|
2586
|
+
retry_policy: @config.retry_policy
|
2587
|
+
|
2588
|
+
@oracle_database_stub.restart_autonomous_database request, options do |result, operation|
|
2589
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
2590
|
+
yield result, operation if block_given?
|
2591
|
+
throw :response, result
|
2592
|
+
end
|
2593
|
+
rescue ::Gapic::Rest::Error => e
|
2594
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2595
|
+
end
|
2596
|
+
|
2333
2597
|
##
|
2334
2598
|
# Configuration class for the OracleDatabase REST API.
|
2335
2599
|
#
|
@@ -2593,6 +2857,21 @@ module Google
|
|
2593
2857
|
# @return [::Gapic::Config::Method]
|
2594
2858
|
#
|
2595
2859
|
attr_reader :list_autonomous_database_backups
|
2860
|
+
##
|
2861
|
+
# RPC-specific configuration for `stop_autonomous_database`
|
2862
|
+
# @return [::Gapic::Config::Method]
|
2863
|
+
#
|
2864
|
+
attr_reader :stop_autonomous_database
|
2865
|
+
##
|
2866
|
+
# RPC-specific configuration for `start_autonomous_database`
|
2867
|
+
# @return [::Gapic::Config::Method]
|
2868
|
+
#
|
2869
|
+
attr_reader :start_autonomous_database
|
2870
|
+
##
|
2871
|
+
# RPC-specific configuration for `restart_autonomous_database`
|
2872
|
+
# @return [::Gapic::Config::Method]
|
2873
|
+
#
|
2874
|
+
attr_reader :restart_autonomous_database
|
2596
2875
|
|
2597
2876
|
# @private
|
2598
2877
|
def initialize parent_rpcs = nil
|
@@ -2640,6 +2919,12 @@ module Google
|
|
2640
2919
|
@list_autonomous_database_character_sets = ::Gapic::Config::Method.new list_autonomous_database_character_sets_config
|
2641
2920
|
list_autonomous_database_backups_config = parent_rpcs.list_autonomous_database_backups if parent_rpcs.respond_to? :list_autonomous_database_backups
|
2642
2921
|
@list_autonomous_database_backups = ::Gapic::Config::Method.new list_autonomous_database_backups_config
|
2922
|
+
stop_autonomous_database_config = parent_rpcs.stop_autonomous_database if parent_rpcs.respond_to? :stop_autonomous_database
|
2923
|
+
@stop_autonomous_database = ::Gapic::Config::Method.new stop_autonomous_database_config
|
2924
|
+
start_autonomous_database_config = parent_rpcs.start_autonomous_database if parent_rpcs.respond_to? :start_autonomous_database
|
2925
|
+
@start_autonomous_database = ::Gapic::Config::Method.new start_autonomous_database_config
|
2926
|
+
restart_autonomous_database_config = parent_rpcs.restart_autonomous_database if parent_rpcs.respond_to? :restart_autonomous_database
|
2927
|
+
@restart_autonomous_database = ::Gapic::Config::Method.new restart_autonomous_database_config
|
2643
2928
|
|
2644
2929
|
yield self if block_given?
|
2645
2930
|
end
|
@@ -953,6 +953,126 @@ module Google
|
|
953
953
|
end
|
954
954
|
end
|
955
955
|
|
956
|
+
##
|
957
|
+
# Baseline implementation for the stop_autonomous_database REST call
|
958
|
+
#
|
959
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest]
|
960
|
+
# A request object representing the call parameters. Required.
|
961
|
+
# @param options [::Gapic::CallOptions]
|
962
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
963
|
+
#
|
964
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
965
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
966
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
967
|
+
#
|
968
|
+
# @return [::Google::Longrunning::Operation]
|
969
|
+
# A result object deserialized from the server's reply
|
970
|
+
def stop_autonomous_database request_pb, options = nil
|
971
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
972
|
+
|
973
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_stop_autonomous_database_request request_pb
|
974
|
+
query_string_params = if query_string_params.any?
|
975
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
976
|
+
else
|
977
|
+
{}
|
978
|
+
end
|
979
|
+
|
980
|
+
response = @client_stub.make_http_request(
|
981
|
+
verb,
|
982
|
+
uri: uri,
|
983
|
+
body: body || "",
|
984
|
+
params: query_string_params,
|
985
|
+
method_name: "stop_autonomous_database",
|
986
|
+
options: options
|
987
|
+
)
|
988
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
989
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
990
|
+
catch :response do
|
991
|
+
yield result, operation if block_given?
|
992
|
+
result
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
996
|
+
##
|
997
|
+
# Baseline implementation for the start_autonomous_database REST call
|
998
|
+
#
|
999
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest]
|
1000
|
+
# A request object representing the call parameters. Required.
|
1001
|
+
# @param options [::Gapic::CallOptions]
|
1002
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1003
|
+
#
|
1004
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1005
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1006
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1007
|
+
#
|
1008
|
+
# @return [::Google::Longrunning::Operation]
|
1009
|
+
# A result object deserialized from the server's reply
|
1010
|
+
def start_autonomous_database request_pb, options = nil
|
1011
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1012
|
+
|
1013
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_start_autonomous_database_request request_pb
|
1014
|
+
query_string_params = if query_string_params.any?
|
1015
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1016
|
+
else
|
1017
|
+
{}
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
response = @client_stub.make_http_request(
|
1021
|
+
verb,
|
1022
|
+
uri: uri,
|
1023
|
+
body: body || "",
|
1024
|
+
params: query_string_params,
|
1025
|
+
method_name: "start_autonomous_database",
|
1026
|
+
options: options
|
1027
|
+
)
|
1028
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1029
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1030
|
+
catch :response do
|
1031
|
+
yield result, operation if block_given?
|
1032
|
+
result
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
##
|
1037
|
+
# Baseline implementation for the restart_autonomous_database REST call
|
1038
|
+
#
|
1039
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest]
|
1040
|
+
# A request object representing the call parameters. Required.
|
1041
|
+
# @param options [::Gapic::CallOptions]
|
1042
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1043
|
+
#
|
1044
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1045
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1046
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1047
|
+
#
|
1048
|
+
# @return [::Google::Longrunning::Operation]
|
1049
|
+
# A result object deserialized from the server's reply
|
1050
|
+
def restart_autonomous_database request_pb, options = nil
|
1051
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1052
|
+
|
1053
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_restart_autonomous_database_request request_pb
|
1054
|
+
query_string_params = if query_string_params.any?
|
1055
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1056
|
+
else
|
1057
|
+
{}
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
response = @client_stub.make_http_request(
|
1061
|
+
verb,
|
1062
|
+
uri: uri,
|
1063
|
+
body: body || "",
|
1064
|
+
params: query_string_params,
|
1065
|
+
method_name: "restart_autonomous_database",
|
1066
|
+
options: options
|
1067
|
+
)
|
1068
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1069
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1070
|
+
catch :response do
|
1071
|
+
yield result, operation if block_given?
|
1072
|
+
result
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
956
1076
|
##
|
957
1077
|
# @private
|
958
1078
|
#
|
@@ -1419,6 +1539,72 @@ module Google
|
|
1419
1539
|
)
|
1420
1540
|
transcoder.transcode request_pb
|
1421
1541
|
end
|
1542
|
+
|
1543
|
+
##
|
1544
|
+
# @private
|
1545
|
+
#
|
1546
|
+
# GRPC transcoding helper method for the stop_autonomous_database REST call
|
1547
|
+
#
|
1548
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest]
|
1549
|
+
# A request object representing the call parameters. Required.
|
1550
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1551
|
+
# Uri, Body, Query string parameters
|
1552
|
+
def self.transcode_stop_autonomous_database_request request_pb
|
1553
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1554
|
+
.with_bindings(
|
1555
|
+
uri_method: :post,
|
1556
|
+
uri_template: "/v1/{name}:stop",
|
1557
|
+
body: "*",
|
1558
|
+
matches: [
|
1559
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
1560
|
+
]
|
1561
|
+
)
|
1562
|
+
transcoder.transcode request_pb
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
##
|
1566
|
+
# @private
|
1567
|
+
#
|
1568
|
+
# GRPC transcoding helper method for the start_autonomous_database REST call
|
1569
|
+
#
|
1570
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest]
|
1571
|
+
# A request object representing the call parameters. Required.
|
1572
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1573
|
+
# Uri, Body, Query string parameters
|
1574
|
+
def self.transcode_start_autonomous_database_request request_pb
|
1575
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1576
|
+
.with_bindings(
|
1577
|
+
uri_method: :post,
|
1578
|
+
uri_template: "/v1/{name}:start",
|
1579
|
+
body: "*",
|
1580
|
+
matches: [
|
1581
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
1582
|
+
]
|
1583
|
+
)
|
1584
|
+
transcoder.transcode request_pb
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
##
|
1588
|
+
# @private
|
1589
|
+
#
|
1590
|
+
# GRPC transcoding helper method for the restart_autonomous_database REST call
|
1591
|
+
#
|
1592
|
+
# @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest]
|
1593
|
+
# A request object representing the call parameters. Required.
|
1594
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1595
|
+
# Uri, Body, Query string parameters
|
1596
|
+
def self.transcode_restart_autonomous_database_request request_pb
|
1597
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1598
|
+
.with_bindings(
|
1599
|
+
uri_method: :post,
|
1600
|
+
uri_template: "/v1/{name}:restart",
|
1601
|
+
body: "*",
|
1602
|
+
matches: [
|
1603
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false]
|
1604
|
+
]
|
1605
|
+
)
|
1606
|
+
transcoder.transcode request_pb
|
1607
|
+
end
|
1422
1608
|
end
|
1423
1609
|
end
|
1424
1610
|
end
|
@@ -25,7 +25,7 @@ require 'google/protobuf/empty_pb'
|
|
25
25
|
require 'google/protobuf/timestamp_pb'
|
26
26
|
|
27
27
|
|
28
|
-
descriptor_data = "\n3google/cloud/oracledatabase/v1/oracledatabase.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/oracledatabase/v1/autonomous_database.proto\x1a\x46google/cloud/oracledatabase/v1/autonomous_database_character_set.proto\x1a\x39google/cloud/oracledatabase/v1/autonomous_db_backup.proto\x1a:google/cloud/oracledatabase/v1/autonomous_db_version.proto\x1a,google/cloud/oracledatabase/v1/db_node.proto\x1a.google/cloud/oracledatabase/v1/db_server.proto\x1a\x34google/cloud/oracledatabase/v1/db_system_shape.proto\x1a\x30google/cloud/oracledatabase/v1/entitlement.proto\x1a\x32google/cloud/oracledatabase/v1/exadata_infra.proto\x1a/google/cloud/oracledatabase/v1/gi_version.proto\x1a/google/cloud/oracledatabase/v1/vm_cluster.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n&ListCloudExadataInfrastructuresRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\'ListCloudExadataInfrastructuresResponse\x12\x61\n\x1d\x63loud_exadata_infrastructures\x18\x01 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"v\n$GetCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\"\xb1\x02\n\'CreateCloudExadataInfrastructureRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12,\n\x1f\x63loud_exadata_infrastructure_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x1c\x63loud_exadata_infrastructure\x18\x03 \x01(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructureB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xae\x01\n\'DeleteCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1aListCloudVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1bListCloudVmClustersResponse\x12I\n\x11\x63loud_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x18GetCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\"\xf5\x01\n\x1b\x43reateCloudVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12 \n\x13\x63loud_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x63loud_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x96\x01\n\x1b\x44\x65leteCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8d\x01\n\x17ListEntitlementsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)oracledatabase.googleapis.com/Entitlement\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n\x18ListEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32+.google.cloud.oracledatabase.v1.Entitlement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x14ListDbServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"n\n\x15ListDbServersResponse\x12<\n\ndb_servers\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x12ListDbNodesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$oracledatabase.googleapis.com/DbNode\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListDbNodesResponse\x12\x38\n\x08\x64\x62_nodes\x18\x01 \x03(\x0b\x32&.google.cloud.oracledatabase.v1.DbNode\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x89\x01\n\x15ListGiVersionsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'oracledatabase.googleapis.com/GiVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"q\n\x16ListGiVersionsResponse\x12>\n\x0bgi_versions\x18\x01 \x03(\x0b\x32).google.cloud.oracledatabase.v1.GiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n\x19ListDbSystemShapesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+oracledatabase.googleapis.com/DbSystemShape\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDbSystemShapesResponse\x12G\n\x10\x64\x62_system_shapes\x18\x01 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.DbSystemShape\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10percent_complete\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\"\xc7\x01\n\x1eListAutonomousDatabasesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x1fListAutonomousDatabasesResponse\x12P\n\x14\x61utonomous_databases\x18\x01 \x03(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x1cGetAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\x87\x02\n\x1f\x43reateAutonomousDatabaseRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12#\n\x16\x61utonomous_database_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13\x61utonomous_database\x18\x03 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8a\x01\n\x1f\x44\x65leteAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n RestoreAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x35\n\x0crestore_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xe3\x01\n\'GenerateAutonomousDatabaseWalletRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12?\n\x04type\x18\x02 \x01(\x0e\x32,.google.cloud.oracledatabase.v1.GenerateTypeB\x03\xe0\x41\x01\x12\x18\n\x0bis_regional\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\"H\n(GenerateAutonomousDatabaseWalletResponse\x12\x1c\n\x0f\x61rchive_content\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x03\"\x9d\x01\n\x1fListAutonomousDbVersionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31oracledatabase.googleapis.com/AutonomousDbVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n ListAutonomousDbVersionsResponse\x12S\n\x16\x61utonomous_db_versions\x18\x01 \x03(\x0b\x32\x33.google.cloud.oracledatabase.v1.AutonomousDbVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc8\x01\n*ListAutonomousDatabaseCharacterSetsRequest\x12T\n\x06parent\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\x12<oracledatabase.googleapis.com/AutonomousDatabaseCharacterSet\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n+ListAutonomousDatabaseCharacterSetsResponse\x12j\n\"autonomous_database_character_sets\x18\x01 \x03(\x0b\x32>.google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x01\n$ListAutonomousDatabaseBackupsRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/AutonomousDatabaseBackup\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n%ListAutonomousDatabaseBackupsResponse\x12]\n\x1b\x61utonomous_database_backups\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.AutonomousDatabaseBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x8c+\n\x0eOracleDatabase\x12\x84\x02\n\x1fListCloudExadataInfrastructures\x12\x46.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresRequest\x1aG.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures\x12\xf1\x01\n\x1dGetCloudExadataInfrastructure\x12\x44.google.cloud.oracledatabase.v1.GetCloudExadataInfrastructureRequest\x1a:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xea\x02\n CreateCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.CreateCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41/\n\x1a\x43loudExadataInfrastructure\x12\x11OperationMetadata\xda\x41\x43parent,cloud_exadata_infrastructure,cloud_exadata_infrastructure_id\x82\xd3\xe4\x93\x02_\"?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures:\x1c\x63loud_exadata_infrastructure\x12\x87\x02\n DeleteCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.DeleteCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xd4\x01\n\x13ListCloudVmClusters\x12:.google.cloud.oracledatabase.v1.ListCloudVmClustersRequest\x1a;.google.cloud.oracledatabase.v1.ListCloudVmClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/cloudVmClusters\x12\xc1\x01\n\x11GetCloudVmCluster\x12\x38.google.cloud.oracledatabase.v1.GetCloudVmClusterRequest\x1a..google.cloud.oracledatabase.v1.CloudVmCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\x96\x02\n\x14\x43reateCloudVmCluster\x12;.google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41#\n\x0e\x43loudVmCluster\x12\x11OperationMetadata\xda\x41+parent,cloud_vm_cluster,cloud_vm_cluster_id\x82\xd3\xe4\x93\x02G\"3/v1/{parent=projects/*/locations/*}/cloudVmClusters:\x10\x63loud_vm_cluster\x12\xe3\x01\n\x14\x44\x65leteCloudVmCluster\x12;.google.cloud.oracledatabase.v1.DeleteCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\xc8\x01\n\x10ListEntitlements\x12\x37.google.cloud.oracledatabase.v1.ListEntitlementsRequest\x1a\x38.google.cloud.oracledatabase.v1.ListEntitlementsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/entitlements\x12\xda\x01\n\rListDbServers\x12\x34.google.cloud.oracledatabase.v1.ListDbServersRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbServersResponse\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/cloudExadataInfrastructures/*}/dbServers\x12\xc6\x01\n\x0bListDbNodes\x12\x32.google.cloud.oracledatabase.v1.ListDbNodesRequest\x1a\x33.google.cloud.oracledatabase.v1.ListDbNodesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/cloudVmClusters/*}/dbNodes\x12\xc0\x01\n\x0eListGiVersions\x12\x35.google.cloud.oracledatabase.v1.ListGiVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListGiVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/giVersions\x12\xd0\x01\n\x12ListDbSystemShapes\x12\x39.google.cloud.oracledatabase.v1.ListDbSystemShapesRequest\x1a:.google.cloud.oracledatabase.v1.ListDbSystemShapesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/dbSystemShapes\x12\xe4\x01\n\x17ListAutonomousDatabases\x12>.google.cloud.oracledatabase.v1.ListAutonomousDatabasesRequest\x1a?.google.cloud.oracledatabase.v1.ListAutonomousDatabasesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/autonomousDatabases\x12\xd1\x01\n\x15GetAutonomousDatabase\x12<.google.cloud.oracledatabase.v1.GetAutonomousDatabaseRequest\x1a\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\xaf\x02\n\x18\x43reateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x31parent,autonomous_database,autonomous_database_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/autonomousDatabases:\x13\x61utonomous_database\x12\xef\x01\n\x18\x44\x65leteAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.DeleteAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\x87\x02\n\x19RestoreAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x11name,restore_time\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restore:\x01*\x12\xa9\x02\n GenerateAutonomousDatabaseWallet\x12G.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest\x1aH.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletResponse\"r\xda\x41\x1ename,type,is_regional,password\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/autonomousDatabases/*}:generateWallet:\x01*\x12\xe8\x01\n\x18ListAutonomousDbVersions\x12?.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsRequest\x1a@.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/autonomousDbVersions\x12\x94\x02\n#ListAutonomousDatabaseCharacterSets\x12J.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsRequest\x1aK.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*}/autonomousDatabaseCharacterSets\x12\xfc\x01\n\x1dListAutonomousDatabaseBackups\x12\x44.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsRequest\x1a\x45.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/autonomousDatabaseBackups\x1aQ\xca\x41\x1doracledatabase.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb6\x02\n\"com.google.cloud.oracledatabase.v1B\x0bV1mainProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
28
|
+
descriptor_data = "\n3google/cloud/oracledatabase/v1/oracledatabase.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/oracledatabase/v1/autonomous_database.proto\x1a\x46google/cloud/oracledatabase/v1/autonomous_database_character_set.proto\x1a\x39google/cloud/oracledatabase/v1/autonomous_db_backup.proto\x1a:google/cloud/oracledatabase/v1/autonomous_db_version.proto\x1a,google/cloud/oracledatabase/v1/db_node.proto\x1a.google/cloud/oracledatabase/v1/db_server.proto\x1a\x34google/cloud/oracledatabase/v1/db_system_shape.proto\x1a\x30google/cloud/oracledatabase/v1/entitlement.proto\x1a\x32google/cloud/oracledatabase/v1/exadata_infra.proto\x1a/google/cloud/oracledatabase/v1/gi_version.proto\x1a/google/cloud/oracledatabase/v1/vm_cluster.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n&ListCloudExadataInfrastructuresRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\'ListCloudExadataInfrastructuresResponse\x12\x61\n\x1d\x63loud_exadata_infrastructures\x18\x01 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"v\n$GetCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\"\xb1\x02\n\'CreateCloudExadataInfrastructureRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12,\n\x1f\x63loud_exadata_infrastructure_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x1c\x63loud_exadata_infrastructure\x18\x03 \x01(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructureB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xae\x01\n\'DeleteCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1aListCloudVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1bListCloudVmClustersResponse\x12I\n\x11\x63loud_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x18GetCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\"\xf5\x01\n\x1b\x43reateCloudVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12 \n\x13\x63loud_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x63loud_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x96\x01\n\x1b\x44\x65leteCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8d\x01\n\x17ListEntitlementsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)oracledatabase.googleapis.com/Entitlement\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n\x18ListEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32+.google.cloud.oracledatabase.v1.Entitlement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x14ListDbServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"n\n\x15ListDbServersResponse\x12<\n\ndb_servers\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x12ListDbNodesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$oracledatabase.googleapis.com/DbNode\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListDbNodesResponse\x12\x38\n\x08\x64\x62_nodes\x18\x01 \x03(\x0b\x32&.google.cloud.oracledatabase.v1.DbNode\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x89\x01\n\x15ListGiVersionsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'oracledatabase.googleapis.com/GiVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"q\n\x16ListGiVersionsResponse\x12>\n\x0bgi_versions\x18\x01 \x03(\x0b\x32).google.cloud.oracledatabase.v1.GiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n\x19ListDbSystemShapesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+oracledatabase.googleapis.com/DbSystemShape\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDbSystemShapesResponse\x12G\n\x10\x64\x62_system_shapes\x18\x01 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.DbSystemShape\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10percent_complete\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\"\xc7\x01\n\x1eListAutonomousDatabasesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x1fListAutonomousDatabasesResponse\x12P\n\x14\x61utonomous_databases\x18\x01 \x03(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x1cGetAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\x87\x02\n\x1f\x43reateAutonomousDatabaseRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12#\n\x16\x61utonomous_database_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13\x61utonomous_database\x18\x03 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8a\x01\n\x1f\x44\x65leteAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n RestoreAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x35\n\x0crestore_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"g\n\x1dStopAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"h\n\x1eStartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"j\n RestartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xe3\x01\n\'GenerateAutonomousDatabaseWalletRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12?\n\x04type\x18\x02 \x01(\x0e\x32,.google.cloud.oracledatabase.v1.GenerateTypeB\x03\xe0\x41\x01\x12\x18\n\x0bis_regional\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\"H\n(GenerateAutonomousDatabaseWalletResponse\x12\x1c\n\x0f\x61rchive_content\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x03\"\x9d\x01\n\x1fListAutonomousDbVersionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31oracledatabase.googleapis.com/AutonomousDbVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n ListAutonomousDbVersionsResponse\x12S\n\x16\x61utonomous_db_versions\x18\x01 \x03(\x0b\x32\x33.google.cloud.oracledatabase.v1.AutonomousDbVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc8\x01\n*ListAutonomousDatabaseCharacterSetsRequest\x12T\n\x06parent\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\x12<oracledatabase.googleapis.com/AutonomousDatabaseCharacterSet\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n+ListAutonomousDatabaseCharacterSetsResponse\x12j\n\"autonomous_database_character_sets\x18\x01 \x03(\x0b\x32>.google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x01\n$ListAutonomousDatabaseBackupsRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/AutonomousDatabaseBackup\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n%ListAutonomousDatabaseBackupsResponse\x12]\n\x1b\x61utonomous_database_backups\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.AutonomousDatabaseBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xf1\x30\n\x0eOracleDatabase\x12\x84\x02\n\x1fListCloudExadataInfrastructures\x12\x46.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresRequest\x1aG.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures\x12\xf1\x01\n\x1dGetCloudExadataInfrastructure\x12\x44.google.cloud.oracledatabase.v1.GetCloudExadataInfrastructureRequest\x1a:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xea\x02\n CreateCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.CreateCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41/\n\x1a\x43loudExadataInfrastructure\x12\x11OperationMetadata\xda\x41\x43parent,cloud_exadata_infrastructure,cloud_exadata_infrastructure_id\x82\xd3\xe4\x93\x02_\"?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures:\x1c\x63loud_exadata_infrastructure\x12\x87\x02\n DeleteCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.DeleteCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xd4\x01\n\x13ListCloudVmClusters\x12:.google.cloud.oracledatabase.v1.ListCloudVmClustersRequest\x1a;.google.cloud.oracledatabase.v1.ListCloudVmClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/cloudVmClusters\x12\xc1\x01\n\x11GetCloudVmCluster\x12\x38.google.cloud.oracledatabase.v1.GetCloudVmClusterRequest\x1a..google.cloud.oracledatabase.v1.CloudVmCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\x96\x02\n\x14\x43reateCloudVmCluster\x12;.google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41#\n\x0e\x43loudVmCluster\x12\x11OperationMetadata\xda\x41+parent,cloud_vm_cluster,cloud_vm_cluster_id\x82\xd3\xe4\x93\x02G\"3/v1/{parent=projects/*/locations/*}/cloudVmClusters:\x10\x63loud_vm_cluster\x12\xe3\x01\n\x14\x44\x65leteCloudVmCluster\x12;.google.cloud.oracledatabase.v1.DeleteCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\xc8\x01\n\x10ListEntitlements\x12\x37.google.cloud.oracledatabase.v1.ListEntitlementsRequest\x1a\x38.google.cloud.oracledatabase.v1.ListEntitlementsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/entitlements\x12\xda\x01\n\rListDbServers\x12\x34.google.cloud.oracledatabase.v1.ListDbServersRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbServersResponse\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/cloudExadataInfrastructures/*}/dbServers\x12\xc6\x01\n\x0bListDbNodes\x12\x32.google.cloud.oracledatabase.v1.ListDbNodesRequest\x1a\x33.google.cloud.oracledatabase.v1.ListDbNodesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/cloudVmClusters/*}/dbNodes\x12\xc0\x01\n\x0eListGiVersions\x12\x35.google.cloud.oracledatabase.v1.ListGiVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListGiVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/giVersions\x12\xd0\x01\n\x12ListDbSystemShapes\x12\x39.google.cloud.oracledatabase.v1.ListDbSystemShapesRequest\x1a:.google.cloud.oracledatabase.v1.ListDbSystemShapesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/dbSystemShapes\x12\xe4\x01\n\x17ListAutonomousDatabases\x12>.google.cloud.oracledatabase.v1.ListAutonomousDatabasesRequest\x1a?.google.cloud.oracledatabase.v1.ListAutonomousDatabasesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/autonomousDatabases\x12\xd1\x01\n\x15GetAutonomousDatabase\x12<.google.cloud.oracledatabase.v1.GetAutonomousDatabaseRequest\x1a\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\xaf\x02\n\x18\x43reateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x31parent,autonomous_database,autonomous_database_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/autonomousDatabases:\x13\x61utonomous_database\x12\xef\x01\n\x18\x44\x65leteAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.DeleteAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\x87\x02\n\x19RestoreAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x11name,restore_time\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restore:\x01*\x12\xa9\x02\n GenerateAutonomousDatabaseWallet\x12G.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest\x1aH.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletResponse\"r\xda\x41\x1ename,type,is_regional,password\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/autonomousDatabases/*}:generateWallet:\x01*\x12\xe8\x01\n\x18ListAutonomousDbVersions\x12?.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsRequest\x1a@.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/autonomousDbVersions\x12\x94\x02\n#ListAutonomousDatabaseCharacterSets\x12J.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsRequest\x1aK.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*}/autonomousDatabaseCharacterSets\x12\xfc\x01\n\x1dListAutonomousDatabaseBackups\x12\x44.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsRequest\x1a\x45.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/autonomousDatabaseBackups\x12\xf0\x01\n\x16StopAutonomousDatabase\x12=.google.cloud.oracledatabase.v1.StopAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v1/{name=projects/*/locations/*/autonomousDatabases/*}:stop:\x01*\x12\xf3\x01\n\x17StartAutonomousDatabase\x12>.google.cloud.oracledatabase.v1.StartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/autonomousDatabases/*}:start:\x01*\x12\xf9\x01\n\x19RestartAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restart:\x01*\x1aQ\xca\x41\x1doracledatabase.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb6\x02\n\"com.google.cloud.oracledatabase.v1B\x0bV1mainProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
29
29
|
|
30
30
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
31
31
|
|
@@ -94,6 +94,9 @@ module Google
|
|
94
94
|
CreateAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest").msgclass
|
95
95
|
DeleteAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DeleteAutonomousDatabaseRequest").msgclass
|
96
96
|
RestoreAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest").msgclass
|
97
|
+
StopAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.StopAutonomousDatabaseRequest").msgclass
|
98
|
+
StartAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.StartAutonomousDatabaseRequest").msgclass
|
99
|
+
RestartAutonomousDatabaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.RestartAutonomousDatabaseRequest").msgclass
|
97
100
|
GenerateAutonomousDatabaseWalletRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest").msgclass
|
98
101
|
GenerateAutonomousDatabaseWalletResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletResponse").msgclass
|
99
102
|
ListAutonomousDbVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListAutonomousDbVersionsRequest").msgclass
|
@@ -79,6 +79,12 @@ module Google
|
|
79
79
|
rpc :ListAutonomousDatabaseCharacterSets, ::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsRequest, ::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsResponse
|
80
80
|
# Lists the long-term and automatic backups of an Autonomous Database.
|
81
81
|
rpc :ListAutonomousDatabaseBackups, ::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsRequest, ::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsResponse
|
82
|
+
# Stops an Autonomous Database.
|
83
|
+
rpc :StopAutonomousDatabase, ::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest, ::Google::Longrunning::Operation
|
84
|
+
# Starts an Autonomous Database.
|
85
|
+
rpc :StartAutonomousDatabase, ::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest, ::Google::Longrunning::Operation
|
86
|
+
# Restarts an Autonomous Database.
|
87
|
+
rpc :RestartAutonomousDatabase, ::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest, ::Google::Longrunning::Operation
|
82
88
|
end
|
83
89
|
|
84
90
|
Stub = Service.rpc_stub_class
|
@@ -508,6 +508,36 @@ module Google
|
|
508
508
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
509
509
|
end
|
510
510
|
|
511
|
+
# The request for `AutonomousDatabase.Stop`.
|
512
|
+
# @!attribute [rw] name
|
513
|
+
# @return [::String]
|
514
|
+
# Required. The name of the Autonomous Database in the following format:
|
515
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
516
|
+
class StopAutonomousDatabaseRequest
|
517
|
+
include ::Google::Protobuf::MessageExts
|
518
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
519
|
+
end
|
520
|
+
|
521
|
+
# The request for `AutonomousDatabase.Start`.
|
522
|
+
# @!attribute [rw] name
|
523
|
+
# @return [::String]
|
524
|
+
# Required. The name of the Autonomous Database in the following format:
|
525
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
526
|
+
class StartAutonomousDatabaseRequest
|
527
|
+
include ::Google::Protobuf::MessageExts
|
528
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
529
|
+
end
|
530
|
+
|
531
|
+
# The request for `AutonomousDatabase.Restart`.
|
532
|
+
# @!attribute [rw] name
|
533
|
+
# @return [::String]
|
534
|
+
# Required. The name of the Autonomous Database in the following format:
|
535
|
+
# projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
|
536
|
+
class RestartAutonomousDatabaseRequest
|
537
|
+
include ::Google::Protobuf::MessageExts
|
538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
539
|
+
end
|
540
|
+
|
511
541
|
# The request for `AutonomousDatabase.GenerateWallet`.
|
512
542
|
# @!attribute [rw] name
|
513
543
|
# @return [::String]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-oracle_database-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-18 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|