google-apis-oracledatabase_v1 0.31.0 → 0.32.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a36d8b08654dfa9dc3d5a87effd1c43b437e8628d23bb897a36975745e510bc9
4
- data.tar.gz: bc89861ea45e8e36b95071a2d11d6d1e17f05250673d6f3fe5ccddab54f7146a
3
+ metadata.gz: 9cac672419fcabbc77aa1ecd9edb6bd6bb279edeaa7421cf4985db833c48ca42
4
+ data.tar.gz: eef761dc9cd7cabe2b56027a22a55193bdd67ba4b3aeee8924c8633c1b718e4d
5
5
  SHA512:
6
- metadata.gz: 43425b8dde8463f9c03e8822797ac7c3a18c20bb28cdcce9e43399a370270b146431af8fde141c784f676fc6c775415ca8d1b293babf46325f4ee059988aa964
7
- data.tar.gz: '0664684229360efee89b17626e71ad9b6cdee6443c0f63a945dc788e76245c12ff07e5c007f51d7e6bd8ea68ae4698767f2233fd6d233344640ade8763b0a4d2'
6
+ metadata.gz: 02b5aedc4661eb1541e85f42bfd5aff4b754fd82dc565a4619b209de1f7e67c63cf2c3e77b31242f250a58f844f85a3cd51595c9f6d15f07b2b53a1be865ca90
7
+ data.tar.gz: e050a62b6ce0a5b71e4f0124ec789038e550f140e2461a5e62890b0eb98580af84a4e8b787a756c2f418af6291eb0fef61cc34d85424d1e214640cbeaff7854e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oracledatabase_v1
2
2
 
3
+ ### v0.32.0 (2026-07-05)
4
+
5
+ * Regenerated from discovery document revision 20260629
6
+
3
7
  ### v0.31.0 (2026-06-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20260615
@@ -930,6 +930,14 @@ module Google
930
930
  # @return [String]
931
931
  attr_accessor :private_endpoint_label
932
932
 
933
+ # Optional. Indicates if the Autonomous Database is a refreshable clone. This
934
+ # field is used in update flow to connect / disconnect a refreshable clone from
935
+ # its source database.
936
+ # Corresponds to the JSON property `refreshableClone`
937
+ # @return [Boolean]
938
+ attr_accessor :refreshable_clone
939
+ alias_method :refreshable_clone?, :refreshable_clone
940
+
933
941
  # Output only. The refresh mode of the cloned Autonomous Database.
934
942
  # Corresponds to the JSON property `refreshableMode`
935
943
  # @return [String]
@@ -1053,6 +1061,7 @@ module Google
1053
1061
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
1054
1062
  @private_endpoint_ip = args[:private_endpoint_ip] if args.key?(:private_endpoint_ip)
1055
1063
  @private_endpoint_label = args[:private_endpoint_label] if args.key?(:private_endpoint_label)
1064
+ @refreshable_clone = args[:refreshable_clone] if args.key?(:refreshable_clone)
1056
1065
  @refreshable_mode = args[:refreshable_mode] if args.key?(:refreshable_mode)
1057
1066
  @refreshable_state = args[:refreshable_state] if args.key?(:refreshable_state)
1058
1067
  @role = args[:role] if args.key?(:role)
@@ -1068,6 +1077,50 @@ module Google
1068
1077
  end
1069
1078
  end
1070
1079
 
1080
+ # An Autonomous Database refreshable clone
1081
+ class AutonomousDatabaseRefreshableClone
1082
+ include Google::Apis::Core::Hashable
1083
+
1084
+ # Output only. The GCP resource name of the Autonomous Database.
1085
+ # Corresponds to the JSON property `name`
1086
+ # @return [String]
1087
+ attr_accessor :name
1088
+
1089
+ # Output only. The Google Cloud region where the refreshable clone exists.
1090
+ # Corresponds to the JSON property `region`
1091
+ # @return [String]
1092
+ attr_accessor :region
1093
+
1094
+ def initialize(**args)
1095
+ update!(**args)
1096
+ end
1097
+
1098
+ # Update properties of this object
1099
+ def update!(**args)
1100
+ @name = args[:name] if args.key?(:name)
1101
+ @region = args[:region] if args.key?(:region)
1102
+ end
1103
+ end
1104
+
1105
+ # Response message for getting the Autonomous Database refreshable clones.
1106
+ class AutonomousDatabaseRefreshableClones
1107
+ include Google::Apis::Core::Hashable
1108
+
1109
+ # The list of Autonomous Database refreshable clones.
1110
+ # Corresponds to the JSON property `autonomousDatabaseRefreshableClones`
1111
+ # @return [Array<Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClone>]
1112
+ attr_accessor :autonomous_database_refreshable_clones
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @autonomous_database_refreshable_clones = args[:autonomous_database_refreshable_clones] if args.key?(:autonomous_database_refreshable_clones)
1121
+ end
1122
+ end
1123
+
1071
1124
  # Autonomous Data Guard standby database details. https://docs.oracle.com/en-us/
1072
1125
  # iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary
1073
1126
  class AutonomousDatabaseStandbySummary
@@ -9048,6 +9101,27 @@ module Google
9048
9101
  end
9049
9102
  end
9050
9103
 
9104
+ # Request message for RefreshAutonomousDatabase method.
9105
+ class RefreshAutonomousDatabaseRequest
9106
+ include Google::Apis::Core::Hashable
9107
+
9108
+ # Required. The timestamp to which the Autonomous Database refreshable clone
9109
+ # will be refreshed. Changes made in the primary database after this timestamp
9110
+ # are not part of the data refresh.
9111
+ # Corresponds to the JSON property `refreshCutoffTime`
9112
+ # @return [String]
9113
+ attr_accessor :refresh_cutoff_time
9114
+
9115
+ def initialize(**args)
9116
+ update!(**args)
9117
+ end
9118
+
9119
+ # Update properties of this object
9120
+ def update!(**args)
9121
+ @refresh_cutoff_time = args[:refresh_cutoff_time] if args.key?(:refresh_cutoff_time)
9122
+ end
9123
+ end
9124
+
9051
9125
  # The request for `ExadbVmCluster.RemoveVirtualMachine`.
9052
9126
  class RemoveVirtualMachineExadbVmClusterRequest
9053
9127
  include Google::Apis::Core::Hashable
@@ -9177,6 +9251,25 @@ module Google
9177
9251
  class SourceConfig
9178
9252
  include Google::Apis::Core::Hashable
9179
9253
 
9254
+ # Optional. The frequency in seconds a refreshable clone is refreshed after auto-
9255
+ # refresh is enabled.
9256
+ # Corresponds to the JSON property `autoRefreshFrequencySeconds`
9257
+ # @return [Fixnum]
9258
+ attr_accessor :auto_refresh_frequency_seconds
9259
+
9260
+ # Optional. The time, in seconds, the data of the automatic refreshable clone
9261
+ # lags the primary database at the point of refresh.
9262
+ # Corresponds to the JSON property `autoRefreshPointLagSeconds`
9263
+ # @return [Fixnum]
9264
+ attr_accessor :auto_refresh_point_lag_seconds
9265
+
9266
+ # Optional. The date and time that auto-refreshing will begin for an Autonomous
9267
+ # Database refreshable clone. This value controls only the start time for the
9268
+ # first refresh operation.
9269
+ # Corresponds to the JSON property `autoRefreshStartTime`
9270
+ # @return [String]
9271
+ attr_accessor :auto_refresh_start_time
9272
+
9180
9273
  # Optional. This field specifies if the replication of automatic backups is
9181
9274
  # enabled when creating a Data Guard.
9182
9275
  # Corresponds to the JSON property `automaticBackupsReplicationEnabled`
@@ -9190,14 +9283,61 @@ module Google
9190
9283
  # @return [String]
9191
9284
  attr_accessor :autonomous_database
9192
9285
 
9286
+ # Optional. The name of the Autonomous Database Backup resource with the format:
9287
+ # projects/`project`/locations/`region`/autonomousDatabaseBackups/`
9288
+ # autonomous_database_backup` Required when source_type is BACKUP_FROM_ID.
9289
+ # Corresponds to the JSON property `autonomousDatabaseBackup`
9290
+ # @return [String]
9291
+ attr_accessor :autonomous_database_backup
9292
+
9293
+ # Optional. The timestamp specified for the point-in-time clone of the source
9294
+ # Autonomous Database. This field is only applicable in case of
9295
+ # BACKUP_FROM_TIMESTAMP source type and when use_latest_available_backup is
9296
+ # false.
9297
+ # Corresponds to the JSON property `backupTime`
9298
+ # @return [String]
9299
+ attr_accessor :backup_time
9300
+
9301
+ # Optional. The clone type of the Autonomous Database. This field is only
9302
+ # applicable in case of cloning
9303
+ # Corresponds to the JSON property `cloneType`
9304
+ # @return [String]
9305
+ attr_accessor :clone_type
9306
+
9307
+ # Optional. The refresh mode of the clone.
9308
+ # Corresponds to the JSON property `refreshableMode`
9309
+ # @return [String]
9310
+ attr_accessor :refreshable_mode
9311
+
9312
+ # Optional. The source type of the Autonomous Database.
9313
+ # Corresponds to the JSON property `sourceType`
9314
+ # @return [String]
9315
+ attr_accessor :source_type
9316
+
9317
+ # Optional. Clone from latest available backup timestamp. This field is only
9318
+ # applicable in case of BACKUP_FROM_TIMESTAMP source type.
9319
+ # Corresponds to the JSON property `useLatestAvailableBackup`
9320
+ # @return [Boolean]
9321
+ attr_accessor :use_latest_available_backup
9322
+ alias_method :use_latest_available_backup?, :use_latest_available_backup
9323
+
9193
9324
  def initialize(**args)
9194
9325
  update!(**args)
9195
9326
  end
9196
9327
 
9197
9328
  # Update properties of this object
9198
9329
  def update!(**args)
9330
+ @auto_refresh_frequency_seconds = args[:auto_refresh_frequency_seconds] if args.key?(:auto_refresh_frequency_seconds)
9331
+ @auto_refresh_point_lag_seconds = args[:auto_refresh_point_lag_seconds] if args.key?(:auto_refresh_point_lag_seconds)
9332
+ @auto_refresh_start_time = args[:auto_refresh_start_time] if args.key?(:auto_refresh_start_time)
9199
9333
  @automatic_backups_replication_enabled = args[:automatic_backups_replication_enabled] if args.key?(:automatic_backups_replication_enabled)
9200
9334
  @autonomous_database = args[:autonomous_database] if args.key?(:autonomous_database)
9335
+ @autonomous_database_backup = args[:autonomous_database_backup] if args.key?(:autonomous_database_backup)
9336
+ @backup_time = args[:backup_time] if args.key?(:backup_time)
9337
+ @clone_type = args[:clone_type] if args.key?(:clone_type)
9338
+ @refreshable_mode = args[:refreshable_mode] if args.key?(:refreshable_mode)
9339
+ @source_type = args[:source_type] if args.key?(:source_type)
9340
+ @use_latest_available_backup = args[:use_latest_available_backup] if args.key?(:use_latest_available_backup)
9201
9341
  end
9202
9342
  end
9203
9343
 
@@ -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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260615"
25
+ REVISION = "20260629"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class AutonomousDatabaseRefreshableClone
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class AutonomousDatabaseRefreshableClones
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class AutonomousDatabaseStandbySummary
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -988,6 +1000,12 @@ module Google
988
1000
  include Google::Apis::Core::JsonObjectSupport
989
1001
  end
990
1002
 
1003
+ class RefreshAutonomousDatabaseRequest
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
991
1009
  class RemoveVirtualMachineExadbVmClusterRequest
992
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
993
1011
 
@@ -1287,6 +1305,7 @@ module Google
1287
1305
  property :private_endpoint, as: 'privateEndpoint'
1288
1306
  property :private_endpoint_ip, as: 'privateEndpointIp'
1289
1307
  property :private_endpoint_label, as: 'privateEndpointLabel'
1308
+ property :refreshable_clone, as: 'refreshableClone'
1290
1309
  property :refreshable_mode, as: 'refreshableMode'
1291
1310
  property :refreshable_state, as: 'refreshableState'
1292
1311
  property :role, as: 'role'
@@ -1303,6 +1322,22 @@ module Google
1303
1322
  end
1304
1323
  end
1305
1324
 
1325
+ class AutonomousDatabaseRefreshableClone
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ property :name, as: 'name'
1329
+ property :region, as: 'region'
1330
+ end
1331
+ end
1332
+
1333
+ class AutonomousDatabaseRefreshableClones
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ collection :autonomous_database_refreshable_clones, as: 'autonomousDatabaseRefreshableClones', class: Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClone, decorator: Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClone::Representation
1337
+
1338
+ end
1339
+ end
1340
+
1306
1341
  class AutonomousDatabaseStandbySummary
1307
1342
  # @private
1308
1343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3251,6 +3286,13 @@ module Google
3251
3286
  end
3252
3287
  end
3253
3288
 
3289
+ class RefreshAutonomousDatabaseRequest
3290
+ # @private
3291
+ class Representation < Google::Apis::Core::JsonRepresentation
3292
+ property :refresh_cutoff_time, as: 'refreshCutoffTime'
3293
+ end
3294
+ end
3295
+
3254
3296
  class RemoveVirtualMachineExadbVmClusterRequest
3255
3297
  # @private
3256
3298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3294,8 +3336,17 @@ module Google
3294
3336
  class SourceConfig
3295
3337
  # @private
3296
3338
  class Representation < Google::Apis::Core::JsonRepresentation
3339
+ property :auto_refresh_frequency_seconds, as: 'autoRefreshFrequencySeconds'
3340
+ property :auto_refresh_point_lag_seconds, as: 'autoRefreshPointLagSeconds'
3341
+ property :auto_refresh_start_time, as: 'autoRefreshStartTime'
3297
3342
  property :automatic_backups_replication_enabled, as: 'automaticBackupsReplicationEnabled'
3298
3343
  property :autonomous_database, as: 'autonomousDatabase'
3344
+ property :autonomous_database_backup, as: 'autonomousDatabaseBackup'
3345
+ property :backup_time, as: 'backupTime'
3346
+ property :clone_type, as: 'cloneType'
3347
+ property :refreshable_mode, as: 'refreshableMode'
3348
+ property :source_type, as: 'sourceType'
3349
+ property :use_latest_available_backup, as: 'useLatestAvailableBackup'
3299
3350
  end
3300
3351
  end
3301
3352
 
@@ -420,6 +420,38 @@ module Google
420
420
  execute_or_queue_command(command, &block)
421
421
  end
422
422
 
423
+ # Gets the refreshable clones for a given Autonomous Database.
424
+ # @param [String] name
425
+ # Required. The Autonomous Database resource whose refreshable clones are to be
426
+ # listed. Format: projects/`project`/locations/`location`/autonomousDatabases/`
427
+ # autonomous_database`
428
+ # @param [String] fields
429
+ # Selector specifying which fields to include in a partial response.
430
+ # @param [String] quota_user
431
+ # Available to use for quota purposes for server-side applications. Can be any
432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
433
+ # @param [Google::Apis::RequestOptions] options
434
+ # Request-specific options
435
+ #
436
+ # @yield [result, err] Result & error if block supplied
437
+ # @yieldparam result [Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClones] parsed result object
438
+ # @yieldparam err [StandardError] error object if request failed
439
+ #
440
+ # @return [Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClones]
441
+ #
442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
445
+ def get_project_location_autonomous_database_refreshable_clones(name, fields: nil, quota_user: nil, options: nil, &block)
446
+ command = make_simple_command(:get, 'v1/{+name}:getRefreshableClones', options)
447
+ command.response_representation = Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClones::Representation
448
+ command.response_class = Google::Apis::OracledatabaseV1::AutonomousDatabaseRefreshableClones
449
+ command.params['name'] = name unless name.nil?
450
+ command.query['fields'] = fields unless fields.nil?
451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
452
+ execute_or_queue_command(command, &block)
453
+ end
454
+
423
455
  # Lists the Autonomous Databases in a given project and location.
424
456
  # @param [String] parent
425
457
  # Required. The parent value for the Autonomous Database in the following format:
@@ -515,6 +547,40 @@ module Google
515
547
  execute_or_queue_command(command, &block)
516
548
  end
517
549
 
550
+ # Refreshes the refreshable clone of an Autonomous Database.
551
+ # @param [String] name
552
+ # Required. The name of the AutonomousDatabase resource. Format: projects/`
553
+ # project`/location/`location`/autonomousDatabases/`autonomous_database`
554
+ # @param [Google::Apis::OracledatabaseV1::RefreshAutonomousDatabaseRequest] refresh_autonomous_database_request_object
555
+ # @param [String] fields
556
+ # Selector specifying which fields to include in a partial response.
557
+ # @param [String] quota_user
558
+ # Available to use for quota purposes for server-side applications. Can be any
559
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
560
+ # @param [Google::Apis::RequestOptions] options
561
+ # Request-specific options
562
+ #
563
+ # @yield [result, err] Result & error if block supplied
564
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
565
+ # @yieldparam err [StandardError] error object if request failed
566
+ #
567
+ # @return [Google::Apis::OracledatabaseV1::Operation]
568
+ #
569
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
570
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
572
+ def refresh_autonomous_database(name, refresh_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
573
+ command = make_simple_command(:post, 'v1/{+name}:refresh', options)
574
+ command.request_representation = Google::Apis::OracledatabaseV1::RefreshAutonomousDatabaseRequest::Representation
575
+ command.request_object = refresh_autonomous_database_request_object
576
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
577
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
578
+ command.params['name'] = name unless name.nil?
579
+ command.query['fields'] = fields unless fields.nil?
580
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
581
+ execute_or_queue_command(command, &block)
582
+ end
583
+
518
584
  # Restarts an Autonomous Database.
519
585
  # @param [String] name
520
586
  # Required. The name of the Autonomous Database in the following format:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oracledatabase_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.32.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: