google-apis-oracledatabase_v1 0.18.0 → 0.19.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: 4e79a5e7d7b5aa2f79e2eb113317c382f4867ab18293c4f4b694eb036ec73b74
4
- data.tar.gz: 5174b627d73af7566ab8037b9f16abeec7cec94745b42cd162acc131f6888c45
3
+ metadata.gz: 1b6e8e368bd9c1d5fe1810c4c28d9d54aef264195b1eb738fbcaa9a98874671f
4
+ data.tar.gz: 72892f07b5dee25e95bd45fdabd59970bc9079180ef4f507c6e531b4adcb6897
5
5
  SHA512:
6
- metadata.gz: a34eaf6494ab28cedc48c69f0f37ea849689a23b4e8fad6c8d3507f96da0bbba780b271e660243377c89c5db3a3bc36b94f044bf49e99859857ad08b45408542
7
- data.tar.gz: 16a155e181da2b874899b810596b7427347f352b6b97857e2beeed4211d1a4427a1d49211718b835cc637f10496b68be4400b89afe2a6844d2dec963ae5ea2c7
6
+ metadata.gz: c3b597b1f3729f172d25c6d0117b9d518595ab2931a230b1f7caea2721b89bb3a4e9c489d37e4f65f421d3b6a214885f4ced5cd1324702e866fd083d03a91c7d
7
+ data.tar.gz: fad5a52a4109aef0ccb34d1a6d2550f488335419c43c09be4cf972443e7f4961dcead5ee66e5f02afd8fb5a0e7360fdd7cde091c4e3973370c07e2188be798cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-oracledatabase_v1
2
2
 
3
+ ### v0.19.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250925
6
+
3
7
  ### v0.18.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250918
@@ -694,6 +694,17 @@ module Google
694
694
  # @return [String]
695
695
  attr_accessor :disaster_recovery_role_changed_time
696
696
 
697
+ # The encryption key used to encrypt the Autonomous Database.
698
+ # Corresponds to the JSON property `encryptionKey`
699
+ # @return [Google::Apis::OracledatabaseV1::EncryptionKey]
700
+ attr_accessor :encryption_key
701
+
702
+ # Output only. The history of the encryption keys used to encrypt the Autonomous
703
+ # Database.
704
+ # Corresponds to the JSON property `encryptionKeyHistoryEntries`
705
+ # @return [Array<Google::Apis::OracledatabaseV1::EncryptionKeyHistoryEntry>]
706
+ attr_accessor :encryption_key_history_entries
707
+
697
708
  # Output only. This field indicates the number of seconds of data loss during a
698
709
  # Data Guard failover.
699
710
  # Corresponds to the JSON property `failedDataRecoveryDuration`
@@ -867,6 +878,12 @@ module Google
867
878
  # @return [String]
868
879
  attr_accessor :secret_id
869
880
 
881
+ # Output only. An Oracle-managed Google Cloud service account on which customers
882
+ # can grant roles to access resources in the customer project.
883
+ # Corresponds to the JSON property `serviceAgentEmail`
884
+ # @return [String]
885
+ attr_accessor :service_agent_email
886
+
870
887
  # Output only. The SQL Web Developer URL for the Autonomous Database.
871
888
  # Corresponds to the JSON property `sqlWebDeveloperUrl`
872
889
  # @return [String]
@@ -928,6 +945,8 @@ module Google
928
945
  @db_version = args[:db_version] if args.key?(:db_version)
929
946
  @db_workload = args[:db_workload] if args.key?(:db_workload)
930
947
  @disaster_recovery_role_changed_time = args[:disaster_recovery_role_changed_time] if args.key?(:disaster_recovery_role_changed_time)
948
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
949
+ @encryption_key_history_entries = args[:encryption_key_history_entries] if args.key?(:encryption_key_history_entries)
931
950
  @failed_data_recovery_duration = args[:failed_data_recovery_duration] if args.key?(:failed_data_recovery_duration)
932
951
  @is_auto_scaling_enabled = args[:is_auto_scaling_enabled] if args.key?(:is_auto_scaling_enabled)
933
952
  @is_local_data_guard_enabled = args[:is_local_data_guard_enabled] if args.key?(:is_local_data_guard_enabled)
@@ -959,6 +978,7 @@ module Google
959
978
  @role = args[:role] if args.key?(:role)
960
979
  @scheduled_operation_details = args[:scheduled_operation_details] if args.key?(:scheduled_operation_details)
961
980
  @secret_id = args[:secret_id] if args.key?(:secret_id)
981
+ @service_agent_email = args[:service_agent_email] if args.key?(:service_agent_email)
962
982
  @sql_web_developer_url = args[:sql_web_developer_url] if args.key?(:sql_web_developer_url)
963
983
  @state = args[:state] if args.key?(:state)
964
984
  @supported_clone_regions = args[:supported_clone_regions] if args.key?(:supported_clone_regions)
@@ -2920,6 +2940,60 @@ module Google
2920
2940
  end
2921
2941
  end
2922
2942
 
2943
+ # The encryption key used to encrypt the Autonomous Database.
2944
+ class EncryptionKey
2945
+ include Google::Apis::Core::Hashable
2946
+
2947
+ # Optional. The KMS key used to encrypt the Autonomous Database. This field is
2948
+ # required if the provider is GOOGLE_MANAGED. The name of the KMS key resource
2949
+ # in the following format: `projects/`project`/locations/`location`/keyRings/`
2950
+ # key_ring`/cryptoKeys/`crypto_key``.
2951
+ # Corresponds to the JSON property `kmsKey`
2952
+ # @return [String]
2953
+ attr_accessor :kms_key
2954
+
2955
+ # Optional. The provider of the encryption key.
2956
+ # Corresponds to the JSON property `provider`
2957
+ # @return [String]
2958
+ attr_accessor :provider
2959
+
2960
+ def initialize(**args)
2961
+ update!(**args)
2962
+ end
2963
+
2964
+ # Update properties of this object
2965
+ def update!(**args)
2966
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
2967
+ @provider = args[:provider] if args.key?(:provider)
2968
+ end
2969
+ end
2970
+
2971
+ # The history of the encryption keys used to encrypt the Autonomous Database.
2972
+ class EncryptionKeyHistoryEntry
2973
+ include Google::Apis::Core::Hashable
2974
+
2975
+ # Output only. The date and time when the encryption key was activated on the
2976
+ # Autonomous Database..
2977
+ # Corresponds to the JSON property `activationTime`
2978
+ # @return [String]
2979
+ attr_accessor :activation_time
2980
+
2981
+ # The encryption key used to encrypt the Autonomous Database.
2982
+ # Corresponds to the JSON property `encryptionKey`
2983
+ # @return [Google::Apis::OracledatabaseV1::EncryptionKey]
2984
+ attr_accessor :encryption_key
2985
+
2986
+ def initialize(**args)
2987
+ update!(**args)
2988
+ end
2989
+
2990
+ # Update properties of this object
2991
+ def update!(**args)
2992
+ @activation_time = args[:activation_time] if args.key?(:activation_time)
2993
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
2994
+ end
2995
+ end
2996
+
2923
2997
  # Details of the Entitlement resource.
2924
2998
  class Entitlement
2925
2999
  include Google::Apis::Core::Hashable
@@ -4094,6 +4168,13 @@ module Google
4094
4168
  # @return [Array<Google::Apis::OracledatabaseV1::Operation>]
4095
4169
  attr_accessor :operations
4096
4170
 
4171
+ # Unordered list. Unreachable resources. Populated when the request sets `
4172
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
4173
+ # when attempting to list all resources across all supported locations.
4174
+ # Corresponds to the JSON property `unreachable`
4175
+ # @return [Array<String>]
4176
+ attr_accessor :unreachable
4177
+
4097
4178
  def initialize(**args)
4098
4179
  update!(**args)
4099
4180
  end
@@ -4102,6 +4183,7 @@ module Google
4102
4183
  def update!(**args)
4103
4184
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4104
4185
  @operations = args[:operations] if args.key?(:operations)
4186
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4105
4187
  end
4106
4188
  end
4107
4189
 
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250918"
25
+ REVISION = "20250925"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,18 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class EncryptionKey
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class EncryptionKeyHistoryEntry
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
283
295
  class Entitlement
284
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
297
 
@@ -785,6 +797,10 @@ module Google
785
797
  property :db_version, as: 'dbVersion'
786
798
  property :db_workload, as: 'dbWorkload'
787
799
  property :disaster_recovery_role_changed_time, as: 'disasterRecoveryRoleChangedTime'
800
+ property :encryption_key, as: 'encryptionKey', class: Google::Apis::OracledatabaseV1::EncryptionKey, decorator: Google::Apis::OracledatabaseV1::EncryptionKey::Representation
801
+
802
+ collection :encryption_key_history_entries, as: 'encryptionKeyHistoryEntries', class: Google::Apis::OracledatabaseV1::EncryptionKeyHistoryEntry, decorator: Google::Apis::OracledatabaseV1::EncryptionKeyHistoryEntry::Representation
803
+
788
804
  property :failed_data_recovery_duration, as: 'failedDataRecoveryDuration'
789
805
  property :is_auto_scaling_enabled, as: 'isAutoScalingEnabled'
790
806
  property :is_local_data_guard_enabled, as: 'isLocalDataGuardEnabled'
@@ -818,6 +834,7 @@ module Google
818
834
  collection :scheduled_operation_details, as: 'scheduledOperationDetails', class: Google::Apis::OracledatabaseV1::ScheduledOperationDetails, decorator: Google::Apis::OracledatabaseV1::ScheduledOperationDetails::Representation
819
835
 
820
836
  property :secret_id, as: 'secretId'
837
+ property :service_agent_email, as: 'serviceAgentEmail'
821
838
  property :sql_web_developer_url, as: 'sqlWebDeveloperUrl'
822
839
  property :state, as: 'state'
823
840
  collection :supported_clone_regions, as: 'supportedCloneRegions'
@@ -1286,6 +1303,23 @@ module Google
1286
1303
  end
1287
1304
  end
1288
1305
 
1306
+ class EncryptionKey
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :kms_key, as: 'kmsKey'
1310
+ property :provider, as: 'provider'
1311
+ end
1312
+ end
1313
+
1314
+ class EncryptionKeyHistoryEntry
1315
+ # @private
1316
+ class Representation < Google::Apis::Core::JsonRepresentation
1317
+ property :activation_time, as: 'activationTime'
1318
+ property :encryption_key, as: 'encryptionKey', class: Google::Apis::OracledatabaseV1::EncryptionKey, decorator: Google::Apis::OracledatabaseV1::EncryptionKey::Representation
1319
+
1320
+ end
1321
+ end
1322
+
1289
1323
  class Entitlement
1290
1324
  # @private
1291
1325
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1635,6 +1669,7 @@ module Google
1635
1669
  property :next_page_token, as: 'nextPageToken'
1636
1670
  collection :operations, as: 'operations', class: Google::Apis::OracledatabaseV1::Operation, decorator: Google::Apis::OracledatabaseV1::Operation::Representation
1637
1671
 
1672
+ collection :unreachable, as: 'unreachable'
1638
1673
  end
1639
1674
  end
1640
1675
 
@@ -456,6 +456,56 @@ module Google
456
456
  execute_or_queue_command(command, &block)
457
457
  end
458
458
 
459
+ # Updates the parameters of a single Autonomous Database.
460
+ # @param [String] name
461
+ # Identifier. The name of the Autonomous Database resource in the following
462
+ # format: projects/`project`/locations/`region`/autonomousDatabases/`
463
+ # autonomous_database`
464
+ # @param [Google::Apis::OracledatabaseV1::AutonomousDatabase] autonomous_database_object
465
+ # @param [String] request_id
466
+ # Optional. An optional ID to identify the request. This value is used to
467
+ # identify duplicate requests. If you make a request with the same request ID
468
+ # and the original request is still in progress or completed, the server ignores
469
+ # the second request. This prevents clients from accidentally creating duplicate
470
+ # commitments. The request ID must be a valid UUID with the exception that zero
471
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
472
+ # @param [String] update_mask
473
+ # Optional. Field mask is used to specify the fields to be overwritten in the
474
+ # Exadata resource by the update. The fields specified in the update_mask are
475
+ # relative to the resource, not the full request. A field will be overwritten if
476
+ # it is in the mask. If the user does not provide a mask then all fields will be
477
+ # overwritten.
478
+ # @param [String] fields
479
+ # Selector specifying which fields to include in a partial response.
480
+ # @param [String] quota_user
481
+ # Available to use for quota purposes for server-side applications. Can be any
482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
483
+ # @param [Google::Apis::RequestOptions] options
484
+ # Request-specific options
485
+ #
486
+ # @yield [result, err] Result & error if block supplied
487
+ # @yieldparam result [Google::Apis::OracledatabaseV1::Operation] parsed result object
488
+ # @yieldparam err [StandardError] error object if request failed
489
+ #
490
+ # @return [Google::Apis::OracledatabaseV1::Operation]
491
+ #
492
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
495
+ def patch_project_location_autonomous_database(name, autonomous_database_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
496
+ command = make_simple_command(:patch, 'v1/{+name}', options)
497
+ command.request_representation = Google::Apis::OracledatabaseV1::AutonomousDatabase::Representation
498
+ command.request_object = autonomous_database_object
499
+ command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation
500
+ command.response_class = Google::Apis::OracledatabaseV1::Operation
501
+ command.params['name'] = name unless name.nil?
502
+ command.query['requestId'] = request_id unless request_id.nil?
503
+ command.query['updateMask'] = update_mask unless update_mask.nil?
504
+ command.query['fields'] = fields unless fields.nil?
505
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
506
+ execute_or_queue_command(command, &block)
507
+ end
508
+
459
509
  # Restarts an Autonomous Database.
460
510
  # @param [String] name
461
511
  # Required. The name of the Autonomous Database in the following format:
@@ -2496,6 +2546,13 @@ module Google
2496
2546
  # The standard list page size.
2497
2547
  # @param [String] page_token
2498
2548
  # The standard list page token.
2549
+ # @param [Boolean] return_partial_success
2550
+ # When set to `true`, operations that are reachable are returned as normal, and
2551
+ # those that are unreachable are returned in the [ListOperationsResponse.
2552
+ # unreachable] field. This can only be `true` when reading across collections e.
2553
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2554
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2555
+ # explicitly documented otherwise in service or product specific documentation.
2499
2556
  # @param [String] fields
2500
2557
  # Selector specifying which fields to include in a partial response.
2501
2558
  # @param [String] quota_user
@@ -2513,7 +2570,7 @@ module Google
2513
2570
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2514
2571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2515
2572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2516
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2573
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2517
2574
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
2518
2575
  command.response_representation = Google::Apis::OracledatabaseV1::ListOperationsResponse::Representation
2519
2576
  command.response_class = Google::Apis::OracledatabaseV1::ListOperationsResponse
@@ -2521,6 +2578,7 @@ module Google
2521
2578
  command.query['filter'] = filter unless filter.nil?
2522
2579
  command.query['pageSize'] = page_size unless page_size.nil?
2523
2580
  command.query['pageToken'] = page_token unless page_token.nil?
2581
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2524
2582
  command.query['fields'] = fields unless fields.nil?
2525
2583
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2526
2584
  execute_or_queue_command(command, &block)
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.18.0
4
+ version: 0.19.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.18.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oracledatabase_v1/v0.19.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: