google-apis-oracledatabase_v1 0.6.0 → 0.8.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/CHANGELOG.md +8 -0
- data/lib/google/apis/oracledatabase_v1/classes.rb +126 -0
- data/lib/google/apis/oracledatabase_v1/gem_version.rb +2 -2
- data/lib/google/apis/oracledatabase_v1/representations.rb +70 -0
- data/lib/google/apis/oracledatabase_v1/service.rb +146 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb3e124ceb24448a5ace14528e37f885af5411cfc1ece2b6df9ed3d8db52797a
|
4
|
+
data.tar.gz: b10649cff55669a4000b2dee485ef163e368379a62f2238477e506702392e56a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08addf75c701f3b8db21755bf3c123ca7a239abbf17945bd1f8e2c262ebbb90f34b4bb42c764e8de9697155b60c247ab8b2f666859da518e9a5ffb75e81fa3de'
|
7
|
+
data.tar.gz: afc03371ae7aa08890bfc8e4d65f809d7558483fab1e177ecc26b18242798722ab70f5f689d43c85eac0b5948b16c4accfe462163a9a2c86847d4f4d3c9229eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oracledatabase_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250409
|
6
|
+
|
7
|
+
### v0.7.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250324
|
10
|
+
|
3
11
|
### v0.6.0 (2025-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250223
|
@@ -84,6 +84,12 @@ module Google
|
|
84
84
|
# @return [String]
|
85
85
|
attr_accessor :database
|
86
86
|
|
87
|
+
# Output only. List of supported GCP region to clone the Autonomous Database for
|
88
|
+
# disaster recovery. Format: `project/`project`/locations/`location``.
|
89
|
+
# Corresponds to the JSON property `disasterRecoverySupportedLocations`
|
90
|
+
# @return [Array<String>]
|
91
|
+
attr_accessor :disaster_recovery_supported_locations
|
92
|
+
|
87
93
|
# Optional. The display name for the Autonomous Database. The name does not have
|
88
94
|
# to be unique within your project.
|
89
95
|
# Corresponds to the JSON property `displayName`
|
@@ -114,11 +120,22 @@ module Google
|
|
114
120
|
# @return [String]
|
115
121
|
attr_accessor :network
|
116
122
|
|
123
|
+
# Output only. The peer Autonomous Database names of the given Autonomous
|
124
|
+
# Database.
|
125
|
+
# Corresponds to the JSON property `peerAutonomousDatabases`
|
126
|
+
# @return [Array<String>]
|
127
|
+
attr_accessor :peer_autonomous_databases
|
128
|
+
|
117
129
|
# The properties of an Autonomous Database.
|
118
130
|
# Corresponds to the JSON property `properties`
|
119
131
|
# @return [Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties]
|
120
132
|
attr_accessor :properties
|
121
133
|
|
134
|
+
# The source configuration for the standby Autonomnous Database.
|
135
|
+
# Corresponds to the JSON property `sourceConfig`
|
136
|
+
# @return [Google::Apis::OracledatabaseV1::SourceConfig]
|
137
|
+
attr_accessor :source_config
|
138
|
+
|
122
139
|
def initialize(**args)
|
123
140
|
update!(**args)
|
124
141
|
end
|
@@ -129,12 +146,15 @@ module Google
|
|
129
146
|
@cidr = args[:cidr] if args.key?(:cidr)
|
130
147
|
@create_time = args[:create_time] if args.key?(:create_time)
|
131
148
|
@database = args[:database] if args.key?(:database)
|
149
|
+
@disaster_recovery_supported_locations = args[:disaster_recovery_supported_locations] if args.key?(:disaster_recovery_supported_locations)
|
132
150
|
@display_name = args[:display_name] if args.key?(:display_name)
|
133
151
|
@entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
|
134
152
|
@labels = args[:labels] if args.key?(:labels)
|
135
153
|
@name = args[:name] if args.key?(:name)
|
136
154
|
@network = args[:network] if args.key?(:network)
|
155
|
+
@peer_autonomous_databases = args[:peer_autonomous_databases] if args.key?(:peer_autonomous_databases)
|
137
156
|
@properties = args[:properties] if args.key?(:properties)
|
157
|
+
@source_config = args[:source_config] if args.key?(:source_config)
|
138
158
|
end
|
139
159
|
end
|
140
160
|
|
@@ -531,6 +551,11 @@ module Google
|
|
531
551
|
# @return [Float]
|
532
552
|
attr_accessor :allocated_storage_size_tb
|
533
553
|
|
554
|
+
# Optional. The list of allowlisted IP addresses for the Autonomous Database.
|
555
|
+
# Corresponds to the JSON property `allowlistedIps`
|
556
|
+
# @return [Array<String>]
|
557
|
+
attr_accessor :allowlisted_ips
|
558
|
+
|
534
559
|
# Oracle APEX Application Development. https://docs.oracle.com/en-us/iaas/api/#/
|
535
560
|
# en/database/20160918/datatypes/AutonomousDatabaseApex
|
536
561
|
# Corresponds to the JSON property `apexDetails`
|
@@ -603,6 +628,12 @@ module Google
|
|
603
628
|
# @return [Array<Google::Apis::OracledatabaseV1::CustomerContact>]
|
604
629
|
attr_accessor :customer_contacts
|
605
630
|
|
631
|
+
# Output only. The date and time the Autonomous Data Guard role was changed for
|
632
|
+
# the standby Autonomous Database.
|
633
|
+
# Corresponds to the JSON property `dataGuardRoleChangedTime`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :data_guard_role_changed_time
|
636
|
+
|
606
637
|
# Output only. The current state of the Data Safe registration for the
|
607
638
|
# Autonomous Database.
|
608
639
|
# Corresponds to the JSON property `dataSafeState`
|
@@ -640,6 +671,12 @@ module Google
|
|
640
671
|
# @return [String]
|
641
672
|
attr_accessor :db_workload
|
642
673
|
|
674
|
+
# Output only. The date and time the Disaster Recovery role was changed for the
|
675
|
+
# standby Autonomous Database.
|
676
|
+
# Corresponds to the JSON property `disasterRecoveryRoleChangedTime`
|
677
|
+
# @return [String]
|
678
|
+
attr_accessor :disaster_recovery_role_changed_time
|
679
|
+
|
643
680
|
# Output only. This field indicates the number of seconds of data loss during a
|
644
681
|
# Data Guard failover.
|
645
682
|
# Corresponds to the JSON property `failedDataRecoveryDuration`
|
@@ -853,6 +890,7 @@ module Google
|
|
853
890
|
def update!(**args)
|
854
891
|
@actual_used_data_storage_size_tb = args[:actual_used_data_storage_size_tb] if args.key?(:actual_used_data_storage_size_tb)
|
855
892
|
@allocated_storage_size_tb = args[:allocated_storage_size_tb] if args.key?(:allocated_storage_size_tb)
|
893
|
+
@allowlisted_ips = args[:allowlisted_ips] if args.key?(:allowlisted_ips)
|
856
894
|
@apex_details = args[:apex_details] if args.key?(:apex_details)
|
857
895
|
@are_primary_allowlisted_ips_used = args[:are_primary_allowlisted_ips_used] if args.key?(:are_primary_allowlisted_ips_used)
|
858
896
|
@autonomous_container_database_id = args[:autonomous_container_database_id] if args.key?(:autonomous_container_database_id)
|
@@ -864,6 +902,7 @@ module Google
|
|
864
902
|
@connection_urls = args[:connection_urls] if args.key?(:connection_urls)
|
865
903
|
@cpu_core_count = args[:cpu_core_count] if args.key?(:cpu_core_count)
|
866
904
|
@customer_contacts = args[:customer_contacts] if args.key?(:customer_contacts)
|
905
|
+
@data_guard_role_changed_time = args[:data_guard_role_changed_time] if args.key?(:data_guard_role_changed_time)
|
867
906
|
@data_safe_state = args[:data_safe_state] if args.key?(:data_safe_state)
|
868
907
|
@data_storage_size_gb = args[:data_storage_size_gb] if args.key?(:data_storage_size_gb)
|
869
908
|
@data_storage_size_tb = args[:data_storage_size_tb] if args.key?(:data_storage_size_tb)
|
@@ -871,6 +910,7 @@ module Google
|
|
871
910
|
@db_edition = args[:db_edition] if args.key?(:db_edition)
|
872
911
|
@db_version = args[:db_version] if args.key?(:db_version)
|
873
912
|
@db_workload = args[:db_workload] if args.key?(:db_workload)
|
913
|
+
@disaster_recovery_role_changed_time = args[:disaster_recovery_role_changed_time] if args.key?(:disaster_recovery_role_changed_time)
|
874
914
|
@failed_data_recovery_duration = args[:failed_data_recovery_duration] if args.key?(:failed_data_recovery_duration)
|
875
915
|
@is_auto_scaling_enabled = args[:is_auto_scaling_enabled] if args.key?(:is_auto_scaling_enabled)
|
876
916
|
@is_local_data_guard_enabled = args[:is_local_data_guard_enabled] if args.key?(:is_local_data_guard_enabled)
|
@@ -2734,6 +2774,19 @@ module Google
|
|
2734
2774
|
end
|
2735
2775
|
end
|
2736
2776
|
|
2777
|
+
# The request for `AutonomousDatabase.Restart`.
|
2778
|
+
class RestartAutonomousDatabaseRequest
|
2779
|
+
include Google::Apis::Core::Hashable
|
2780
|
+
|
2781
|
+
def initialize(**args)
|
2782
|
+
update!(**args)
|
2783
|
+
end
|
2784
|
+
|
2785
|
+
# Update properties of this object
|
2786
|
+
def update!(**args)
|
2787
|
+
end
|
2788
|
+
end
|
2789
|
+
|
2737
2790
|
# The request for `AutonomousDatabase.Restore`.
|
2738
2791
|
class RestoreAutonomousDatabaseRequest
|
2739
2792
|
include Google::Apis::Core::Hashable
|
@@ -2789,6 +2842,47 @@ module Google
|
|
2789
2842
|
end
|
2790
2843
|
end
|
2791
2844
|
|
2845
|
+
# The source configuration for the standby Autonomnous Database.
|
2846
|
+
class SourceConfig
|
2847
|
+
include Google::Apis::Core::Hashable
|
2848
|
+
|
2849
|
+
# Optional. This field specifies if the replication of automatic backups is
|
2850
|
+
# enabled when creating a Data Guard.
|
2851
|
+
# Corresponds to the JSON property `automaticBackupsReplicationEnabled`
|
2852
|
+
# @return [Boolean]
|
2853
|
+
attr_accessor :automatic_backups_replication_enabled
|
2854
|
+
alias_method :automatic_backups_replication_enabled?, :automatic_backups_replication_enabled
|
2855
|
+
|
2856
|
+
# Optional. The name of the primary Autonomous Database that is used to create a
|
2857
|
+
# Peer Autonomous Database from a source.
|
2858
|
+
# Corresponds to the JSON property `autonomousDatabase`
|
2859
|
+
# @return [String]
|
2860
|
+
attr_accessor :autonomous_database
|
2861
|
+
|
2862
|
+
def initialize(**args)
|
2863
|
+
update!(**args)
|
2864
|
+
end
|
2865
|
+
|
2866
|
+
# Update properties of this object
|
2867
|
+
def update!(**args)
|
2868
|
+
@automatic_backups_replication_enabled = args[:automatic_backups_replication_enabled] if args.key?(:automatic_backups_replication_enabled)
|
2869
|
+
@autonomous_database = args[:autonomous_database] if args.key?(:autonomous_database)
|
2870
|
+
end
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
# The request for `AutonomousDatabase.Start`.
|
2874
|
+
class StartAutonomousDatabaseRequest
|
2875
|
+
include Google::Apis::Core::Hashable
|
2876
|
+
|
2877
|
+
def initialize(**args)
|
2878
|
+
update!(**args)
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
# Update properties of this object
|
2882
|
+
def update!(**args)
|
2883
|
+
end
|
2884
|
+
end
|
2885
|
+
|
2792
2886
|
# The `Status` type defines a logical error model that is suitable for different
|
2793
2887
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2794
2888
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2828,6 +2922,38 @@ module Google
|
|
2828
2922
|
end
|
2829
2923
|
end
|
2830
2924
|
|
2925
|
+
# The request for `AutonomousDatabase.Stop`.
|
2926
|
+
class StopAutonomousDatabaseRequest
|
2927
|
+
include Google::Apis::Core::Hashable
|
2928
|
+
|
2929
|
+
def initialize(**args)
|
2930
|
+
update!(**args)
|
2931
|
+
end
|
2932
|
+
|
2933
|
+
# Update properties of this object
|
2934
|
+
def update!(**args)
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
# The request for `AutonomousDatabase.Switchover`.
|
2939
|
+
class SwitchoverAutonomousDatabaseRequest
|
2940
|
+
include Google::Apis::Core::Hashable
|
2941
|
+
|
2942
|
+
# Required. The peer database name to switch over to.
|
2943
|
+
# Corresponds to the JSON property `peerAutonomousDatabase`
|
2944
|
+
# @return [String]
|
2945
|
+
attr_accessor :peer_autonomous_database
|
2946
|
+
|
2947
|
+
def initialize(**args)
|
2948
|
+
update!(**args)
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# Update properties of this object
|
2952
|
+
def update!(**args)
|
2953
|
+
@peer_autonomous_database = args[:peer_autonomous_database] if args.key?(:peer_autonomous_database)
|
2954
|
+
end
|
2955
|
+
end
|
2956
|
+
|
2831
2957
|
# Represents a time of day. The date and time zone are either not significant or
|
2832
2958
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2833
2959
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OracledatabaseV1
|
18
18
|
# Version of the google-apis-oracledatabase_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,6 +310,12 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class RestartAutonomousDatabaseRequest
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class RestoreAutonomousDatabaseRequest
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
@@ -322,12 +328,36 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class SourceConfig
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class StartAutonomousDatabaseRequest
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
325
343
|
class Status
|
326
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
345
|
|
328
346
|
include Google::Apis::Core::JsonObjectSupport
|
329
347
|
end
|
330
348
|
|
349
|
+
class StopAutonomousDatabaseRequest
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class SwitchoverAutonomousDatabaseRequest
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
331
361
|
class TimeOfDay
|
332
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
363
|
|
@@ -356,13 +386,17 @@ module Google
|
|
356
386
|
property :cidr, as: 'cidr'
|
357
387
|
property :create_time, as: 'createTime'
|
358
388
|
property :database, as: 'database'
|
389
|
+
collection :disaster_recovery_supported_locations, as: 'disasterRecoverySupportedLocations'
|
359
390
|
property :display_name, as: 'displayName'
|
360
391
|
property :entitlement_id, as: 'entitlementId'
|
361
392
|
hash :labels, as: 'labels'
|
362
393
|
property :name, as: 'name'
|
363
394
|
property :network, as: 'network'
|
395
|
+
collection :peer_autonomous_databases, as: 'peerAutonomousDatabases'
|
364
396
|
property :properties, as: 'properties', class: Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties, decorator: Google::Apis::OracledatabaseV1::AutonomousDatabaseProperties::Representation
|
365
397
|
|
398
|
+
property :source_config, as: 'sourceConfig', class: Google::Apis::OracledatabaseV1::SourceConfig, decorator: Google::Apis::OracledatabaseV1::SourceConfig::Representation
|
399
|
+
|
366
400
|
end
|
367
401
|
end
|
368
402
|
|
@@ -454,6 +488,7 @@ module Google
|
|
454
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
455
489
|
property :actual_used_data_storage_size_tb, as: 'actualUsedDataStorageSizeTb'
|
456
490
|
property :allocated_storage_size_tb, as: 'allocatedStorageSizeTb'
|
491
|
+
collection :allowlisted_ips, as: 'allowlistedIps'
|
457
492
|
property :apex_details, as: 'apexDetails', class: Google::Apis::OracledatabaseV1::AutonomousDatabaseApex, decorator: Google::Apis::OracledatabaseV1::AutonomousDatabaseApex::Representation
|
458
493
|
|
459
494
|
property :are_primary_allowlisted_ips_used, as: 'arePrimaryAllowlistedIpsUsed'
|
@@ -469,6 +504,7 @@ module Google
|
|
469
504
|
property :cpu_core_count, as: 'cpuCoreCount'
|
470
505
|
collection :customer_contacts, as: 'customerContacts', class: Google::Apis::OracledatabaseV1::CustomerContact, decorator: Google::Apis::OracledatabaseV1::CustomerContact::Representation
|
471
506
|
|
507
|
+
property :data_guard_role_changed_time, as: 'dataGuardRoleChangedTime'
|
472
508
|
property :data_safe_state, as: 'dataSafeState'
|
473
509
|
property :data_storage_size_gb, as: 'dataStorageSizeGb'
|
474
510
|
property :data_storage_size_tb, as: 'dataStorageSizeTb'
|
@@ -476,6 +512,7 @@ module Google
|
|
476
512
|
property :db_edition, as: 'dbEdition'
|
477
513
|
property :db_version, as: 'dbVersion'
|
478
514
|
property :db_workload, as: 'dbWorkload'
|
515
|
+
property :disaster_recovery_role_changed_time, as: 'disasterRecoveryRoleChangedTime'
|
479
516
|
property :failed_data_recovery_duration, as: 'failedDataRecoveryDuration'
|
480
517
|
property :is_auto_scaling_enabled, as: 'isAutoScalingEnabled'
|
481
518
|
property :is_local_data_guard_enabled, as: 'isLocalDataGuardEnabled'
|
@@ -976,6 +1013,12 @@ module Google
|
|
976
1013
|
end
|
977
1014
|
end
|
978
1015
|
|
1016
|
+
class RestartAutonomousDatabaseRequest
|
1017
|
+
# @private
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
979
1022
|
class RestoreAutonomousDatabaseRequest
|
980
1023
|
# @private
|
981
1024
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -994,6 +1037,20 @@ module Google
|
|
994
1037
|
end
|
995
1038
|
end
|
996
1039
|
|
1040
|
+
class SourceConfig
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
property :automatic_backups_replication_enabled, as: 'automaticBackupsReplicationEnabled'
|
1044
|
+
property :autonomous_database, as: 'autonomousDatabase'
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
class StartAutonomousDatabaseRequest
|
1049
|
+
# @private
|
1050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
997
1054
|
class Status
|
998
1055
|
# @private
|
999
1056
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1003,6 +1060,19 @@ module Google
|
|
1003
1060
|
end
|
1004
1061
|
end
|
1005
1062
|
|
1063
|
+
class StopAutonomousDatabaseRequest
|
1064
|
+
# @private
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
class SwitchoverAutonomousDatabaseRequest
|
1070
|
+
# @private
|
1071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
+
property :peer_autonomous_database, as: 'peerAutonomousDatabase'
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1006
1076
|
class TimeOfDay
|
1007
1077
|
# @private
|
1008
1078
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,6 +85,9 @@ module Google
|
|
85
85
|
# Lists information about the supported locations for this service.
|
86
86
|
# @param [String] name
|
87
87
|
# The resource that owns the locations collection, if applicable.
|
88
|
+
# @param [Array<String>, String] extra_location_types
|
89
|
+
# Optional. A list of extra location types that should be used as conditions for
|
90
|
+
# controlling the visibility of the locations.
|
88
91
|
# @param [String] filter
|
89
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
90
93
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -112,11 +115,12 @@ module Google
|
|
112
115
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
116
119
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
117
120
|
command.response_representation = Google::Apis::OracledatabaseV1::ListLocationsResponse::Representation
|
118
121
|
command.response_class = Google::Apis::OracledatabaseV1::ListLocationsResponse
|
119
122
|
command.params['name'] = name unless name.nil?
|
123
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
120
124
|
command.query['filter'] = filter unless filter.nil?
|
121
125
|
command.query['pageSize'] = page_size unless page_size.nil?
|
122
126
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -416,6 +420,41 @@ module Google
|
|
416
420
|
execute_or_queue_command(command, &block)
|
417
421
|
end
|
418
422
|
|
423
|
+
# Restarts an Autonomous Database.
|
424
|
+
# @param [String] name
|
425
|
+
# Required. The name of the Autonomous Database in the following format:
|
426
|
+
# projects/`project`/locations/`location`/autonomousDatabases/`
|
427
|
+
# autonomous_database`.
|
428
|
+
# @param [Google::Apis::OracledatabaseV1::RestartAutonomousDatabaseRequest] restart_autonomous_database_request_object
|
429
|
+
# @param [String] fields
|
430
|
+
# Selector specifying which fields to include in a partial response.
|
431
|
+
# @param [String] quota_user
|
432
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
433
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
434
|
+
# @param [Google::Apis::RequestOptions] options
|
435
|
+
# Request-specific options
|
436
|
+
#
|
437
|
+
# @yield [result, err] Result & error if block supplied
|
438
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
439
|
+
# @yieldparam err [StandardError] error object if request failed
|
440
|
+
#
|
441
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
442
|
+
#
|
443
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
444
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
|
+
def restart_autonomous_database(name, restart_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
447
|
+
command = make_simple_command(:post, 'v1/{+name}:restart', options)
|
448
|
+
command.request_representation = Google::Apis::OracledatabaseV1::RestartAutonomousDatabaseRequest::Representation
|
449
|
+
command.request_object = restart_autonomous_database_request_object
|
450
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
451
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
452
|
+
command.params['name'] = name unless name.nil?
|
453
|
+
command.query['fields'] = fields unless fields.nil?
|
454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
455
|
+
execute_or_queue_command(command, &block)
|
456
|
+
end
|
457
|
+
|
419
458
|
# Restores a single Autonomous Database.
|
420
459
|
# @param [String] name
|
421
460
|
# Required. The name of the Autonomous Database in the following format:
|
@@ -451,6 +490,112 @@ module Google
|
|
451
490
|
execute_or_queue_command(command, &block)
|
452
491
|
end
|
453
492
|
|
493
|
+
# Starts an Autonomous Database.
|
494
|
+
# @param [String] name
|
495
|
+
# Required. The name of the Autonomous Database in the following format:
|
496
|
+
# projects/`project`/locations/`location`/autonomousDatabases/`
|
497
|
+
# autonomous_database`.
|
498
|
+
# @param [Google::Apis::OracledatabaseV1::StartAutonomousDatabaseRequest] start_autonomous_database_request_object
|
499
|
+
# @param [String] fields
|
500
|
+
# Selector specifying which fields to include in a partial response.
|
501
|
+
# @param [String] quota_user
|
502
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
503
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
504
|
+
# @param [Google::Apis::RequestOptions] options
|
505
|
+
# Request-specific options
|
506
|
+
#
|
507
|
+
# @yield [result, err] Result & error if block supplied
|
508
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
509
|
+
# @yieldparam err [StandardError] error object if request failed
|
510
|
+
#
|
511
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
512
|
+
#
|
513
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
514
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
515
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
516
|
+
def start_autonomous_database(name, start_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
517
|
+
command = make_simple_command(:post, 'v1/{+name}:start', options)
|
518
|
+
command.request_representation = Google::Apis::OracledatabaseV1::StartAutonomousDatabaseRequest::Representation
|
519
|
+
command.request_object = start_autonomous_database_request_object
|
520
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
521
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
522
|
+
command.params['name'] = name unless name.nil?
|
523
|
+
command.query['fields'] = fields unless fields.nil?
|
524
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
525
|
+
execute_or_queue_command(command, &block)
|
526
|
+
end
|
527
|
+
|
528
|
+
# Stops an Autonomous Database.
|
529
|
+
# @param [String] name
|
530
|
+
# Required. The name of the Autonomous Database in the following format:
|
531
|
+
# projects/`project`/locations/`location`/autonomousDatabases/`
|
532
|
+
# autonomous_database`.
|
533
|
+
# @param [Google::Apis::OracledatabaseV1::StopAutonomousDatabaseRequest] stop_autonomous_database_request_object
|
534
|
+
# @param [String] fields
|
535
|
+
# Selector specifying which fields to include in a partial response.
|
536
|
+
# @param [String] quota_user
|
537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
539
|
+
# @param [Google::Apis::RequestOptions] options
|
540
|
+
# Request-specific options
|
541
|
+
#
|
542
|
+
# @yield [result, err] Result & error if block supplied
|
543
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
544
|
+
# @yieldparam err [StandardError] error object if request failed
|
545
|
+
#
|
546
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
547
|
+
#
|
548
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
549
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
550
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
551
|
+
def stop_autonomous_database(name, stop_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
552
|
+
command = make_simple_command(:post, 'v1/{+name}:stop', options)
|
553
|
+
command.request_representation = Google::Apis::OracledatabaseV1::StopAutonomousDatabaseRequest::Representation
|
554
|
+
command.request_object = stop_autonomous_database_request_object
|
555
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
556
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
557
|
+
command.params['name'] = name unless name.nil?
|
558
|
+
command.query['fields'] = fields unless fields.nil?
|
559
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
560
|
+
execute_or_queue_command(command, &block)
|
561
|
+
end
|
562
|
+
|
563
|
+
# Initiates a switchover of specified autonomous deatabase to the associated
|
564
|
+
# peer database.
|
565
|
+
# @param [String] name
|
566
|
+
# Required. The name of the Autonomous Database in the following format:
|
567
|
+
# projects/`project`/locations/`location`/autonomousDatabases/`
|
568
|
+
# autonomous_database`.
|
569
|
+
# @param [Google::Apis::OracledatabaseV1::SwitchoverAutonomousDatabaseRequest] switchover_autonomous_database_request_object
|
570
|
+
# @param [String] fields
|
571
|
+
# Selector specifying which fields to include in a partial response.
|
572
|
+
# @param [String] quota_user
|
573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
575
|
+
# @param [Google::Apis::RequestOptions] options
|
576
|
+
# Request-specific options
|
577
|
+
#
|
578
|
+
# @yield [result, err] Result & error if block supplied
|
579
|
+
# @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
|
580
|
+
# @yieldparam err [StandardError] error object if request failed
|
581
|
+
#
|
582
|
+
# @return [Google::Apis::OracledatabaseV1::Operation]
|
583
|
+
#
|
584
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
585
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
586
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
587
|
+
def switchover_autonomous_database(name, switchover_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
588
|
+
command = make_simple_command(:post, 'v1/{+name}:switchover', options)
|
589
|
+
command.request_representation = Google::Apis::OracledatabaseV1::SwitchoverAutonomousDatabaseRequest::Representation
|
590
|
+
command.request_object = switchover_autonomous_database_request_object
|
591
|
+
command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
|
592
|
+
command.response_class = Google::Apis::OracledatabaseV1::Operation
|
593
|
+
command.params['name'] = name unless name.nil?
|
594
|
+
command.query['fields'] = fields unless fields.nil?
|
595
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
596
|
+
execute_or_queue_command(command, &block)
|
597
|
+
end
|
598
|
+
|
454
599
|
# Lists all the available Autonomous Database versions for a project and
|
455
600
|
# location.
|
456
601
|
# @param [String] parent
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-oracledatabase_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oracledatabase_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.8.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oracledatabase_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|