Skip to content

Commit eb9f75a

Browse files
feat: Automated regeneration of oracledatabase v1 client (googleapis#26250)
Auto-created at 2026-04-19 11:58:58 +0000 using the toys pull request generator.
1 parent 5cb137c commit eb9f75a

6 files changed

Lines changed: 80 additions & 13 deletions

File tree

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334498,6 +334498,7 @@
334498334498
"/oracledatabase:v1/AllConnectionStrings/medium": medium
334499334499
"/oracledatabase:v1/AutonomousDatabase": autonomous_database
334500334500
"/oracledatabase:v1/AutonomousDatabase/adminPassword": admin_password
334501+
"/oracledatabase:v1/AutonomousDatabase/adminPasswordSecretVersion": admin_password_secret_version
334501334502
"/oracledatabase:v1/AutonomousDatabase/cidr": cidr
334502334503
"/oracledatabase:v1/AutonomousDatabase/createTime": create_time
334503334504
"/oracledatabase:v1/AutonomousDatabase/database": database
@@ -334604,6 +334605,8 @@
334604334605
"/oracledatabase:v1/AutonomousDatabaseProperties/licenseType": license_type
334605334606
"/oracledatabase:v1/AutonomousDatabaseProperties/lifecycleDetails": lifecycle_details
334606334607
"/oracledatabase:v1/AutonomousDatabaseProperties/localAdgAutoFailoverMaxDataLossLimit": local_adg_auto_failover_max_data_loss_limit
334608+
"/oracledatabase:v1/AutonomousDatabaseProperties/localAdgAutoFailoverMaxDataLossLimitDuration": local_adg_auto_failover_max_data_loss_limit_duration
334609+
"/oracledatabase:v1/AutonomousDatabaseProperties/localDataGuardEnabled": local_data_guard_enabled
334607334610
"/oracledatabase:v1/AutonomousDatabaseProperties/localDisasterRecoveryType": local_disaster_recovery_type
334608334611
"/oracledatabase:v1/AutonomousDatabaseProperties/localStandbyDb": local_standby_db
334609334612
"/oracledatabase:v1/AutonomousDatabaseProperties/maintenanceBeginTime": maintenance_begin_time
@@ -334766,6 +334769,7 @@
334766334769
"/oracledatabase:v1/DataCollectionOptionsDbSystem/isIncidentLogsEnabled": is_incident_logs_enabled
334767334770
"/oracledatabase:v1/Database": database
334768334771
"/oracledatabase:v1/Database/adminPassword": admin_password
334772+
"/oracledatabase:v1/Database/adminPasswordSecretVersion": admin_password_secret_version
334769334773
"/oracledatabase:v1/Database/characterSet": character_set
334770334774
"/oracledatabase:v1/Database/createTime": create_time
334771334775
"/oracledatabase:v1/Database/databaseId": database_id
@@ -334781,6 +334785,7 @@
334781334785
"/oracledatabase:v1/Database/pluggableDatabaseName": pluggable_database_name
334782334786
"/oracledatabase:v1/Database/properties": properties
334783334787
"/oracledatabase:v1/Database/tdeWalletPassword": tde_wallet_password
334788+
"/oracledatabase:v1/Database/tdeWalletPasswordSecretVersion": tde_wallet_password_secret_version
334784334789
"/oracledatabase:v1/DatabaseCharacterSet": database_character_set
334785334790
"/oracledatabase:v1/DatabaseCharacterSet/characterSet": character_set
334786334791
"/oracledatabase:v1/DatabaseCharacterSet/characterSetType": character_set_type

generated/google-apis-oracledatabase_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-oracledatabase_v1
22

3+
### v0.26.0 (2026-04-19)
4+
5+
* Regenerated from discovery document revision 20260415
6+
37
### v0.25.0 (2026-03-15)
48

59
* Regenerated from discovery document revision 20260225

generated/google-apis-oracledatabase_v1/lib/google/apis/oracledatabase_v1/classes.rb

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,20 @@ def update!(**args)
6262
class AutonomousDatabase
6363
include Google::Apis::Core::Hashable
6464

65-
# Optional. Immutable. The password for the default ADMIN user.
65+
# Optional. Immutable. The password for the default ADMIN user. Note: Only one
66+
# of `admin_password_secret_version` or `admin_password` can be populated.
6667
# Corresponds to the JSON property `adminPassword`
6768
# @return [String]
6869
attr_accessor :admin_password
6970

71+
# Optional. Immutable. The resource name of a secret version in Secret Manager
72+
# which contains the database admin user's password. Format: projects/`project`/
73+
# secrets/`secret`/versions/`version`. Note: Only one of `
74+
# admin_password_secret_version` or `admin_password` can be populated.
75+
# Corresponds to the JSON property `adminPasswordSecretVersion`
76+
# @return [String]
77+
attr_accessor :admin_password_secret_version
78+
7079
# Optional. Immutable. The subnet CIDR range for the Autonomous Database.
7180
# Corresponds to the JSON property `cidr`
7281
# @return [String]
@@ -158,6 +167,7 @@ def initialize(**args)
158167
# Update properties of this object
159168
def update!(**args)
160169
@admin_password = args[:admin_password] if args.key?(:admin_password)
170+
@admin_password_secret_version = args[:admin_password_secret_version] if args.key?(:admin_password_secret_version)
161171
@cidr = args[:cidr] if args.key?(:cidr)
162172
@create_time = args[:create_time] if args.key?(:create_time)
163173
@database = args[:database] if args.key?(:database)
@@ -720,8 +730,9 @@ class AutonomousDatabaseProperties
720730
attr_accessor :is_auto_scaling_enabled
721731
alias_method :is_auto_scaling_enabled?, :is_auto_scaling_enabled
722732

723-
# Output only. This field indicates whether the Autonomous Database has local (
724-
# in-region) Data Guard enabled.
733+
# Output only. Deprecated: Please use `local_data_guard_enabled` instead. This
734+
# field indicates whether the Autonomous Database has local (in-region) Data
735+
# Guard enabled.
725736
# Corresponds to the JSON property `isLocalDataGuardEnabled`
726737
# @return [Boolean]
727738
attr_accessor :is_local_data_guard_enabled
@@ -745,12 +756,27 @@ class AutonomousDatabaseProperties
745756
# @return [String]
746757
attr_accessor :lifecycle_details
747758

748-
# Output only. This field indicates the maximum data loss limit for an
749-
# Autonomous Database, in seconds.
759+
# Output only. Deprecated: Please use `
760+
# local_adg_auto_failover_max_data_loss_limit_duration` instead. This field
761+
# indicates the maximum data loss limit for an Autonomous Database, in seconds.
750762
# Corresponds to the JSON property `localAdgAutoFailoverMaxDataLossLimit`
751763
# @return [Fixnum]
752764
attr_accessor :local_adg_auto_failover_max_data_loss_limit
753765

766+
# Optional. This field indicates the maximum data loss limit for an Autonomous
767+
# Database, in seconds.
768+
# Corresponds to the JSON property `localAdgAutoFailoverMaxDataLossLimitDuration`
769+
# @return [Fixnum]
770+
attr_accessor :local_adg_auto_failover_max_data_loss_limit_duration
771+
772+
# Optional. Indicates whether the Autonomous Database has a local (in-region)
773+
# standby database. Not applicable to cross-region Data Guard or dedicated
774+
# Exadata infrastructure.
775+
# Corresponds to the JSON property `localDataGuardEnabled`
776+
# @return [Boolean]
777+
attr_accessor :local_data_guard_enabled
778+
alias_method :local_data_guard_enabled?, :local_data_guard_enabled
779+
754780
# Output only. This field indicates the local disaster recovery (DR) type of an
755781
# Autonomous Database.
756782
# Corresponds to the JSON property `localDisasterRecoveryType`
@@ -957,6 +983,8 @@ def update!(**args)
957983
@license_type = args[:license_type] if args.key?(:license_type)
958984
@lifecycle_details = args[:lifecycle_details] if args.key?(:lifecycle_details)
959985
@local_adg_auto_failover_max_data_loss_limit = args[:local_adg_auto_failover_max_data_loss_limit] if args.key?(:local_adg_auto_failover_max_data_loss_limit)
986+
@local_adg_auto_failover_max_data_loss_limit_duration = args[:local_adg_auto_failover_max_data_loss_limit_duration] if args.key?(:local_adg_auto_failover_max_data_loss_limit_duration)
987+
@local_data_guard_enabled = args[:local_data_guard_enabled] if args.key?(:local_data_guard_enabled)
960988
@local_disaster_recovery_type = args[:local_disaster_recovery_type] if args.key?(:local_disaster_recovery_type)
961989
@local_standby_db = args[:local_standby_db] if args.key?(:local_standby_db)
962990
@maintenance_begin_time = args[:maintenance_begin_time] if args.key?(:maintenance_begin_time)
@@ -1868,11 +1896,20 @@ def update!(**args)
18681896
class Database
18691897
include Google::Apis::Core::Hashable
18701898

1871-
# Required. The password for the default ADMIN user.
1899+
# Optional. The password for the default ADMIN user. Note: Only one of `
1900+
# admin_password_secret_version` or `admin_password` can be populated.
18721901
# Corresponds to the JSON property `adminPassword`
18731902
# @return [String]
18741903
attr_accessor :admin_password
18751904

1905+
# Optional. The resource name of a secret version in Secret Manager which
1906+
# contains the database admin user's password. Format: projects/`project`/
1907+
# secrets/`secret`/versions/`version`. Note: Only one of `
1908+
# admin_password_secret_version` or `admin_password` can be populated.
1909+
# Corresponds to the JSON property `adminPasswordSecretVersion`
1910+
# @return [String]
1911+
attr_accessor :admin_password_secret_version
1912+
18761913
# Optional. The character set for the database. The default is AL32UTF8.
18771914
# Corresponds to the JSON property `characterSet`
18781915
# @return [String]
@@ -1950,18 +1987,28 @@ class Database
19501987
# @return [Google::Apis::OracledatabaseV1::DatabaseProperties]
19511988
attr_accessor :properties
19521989

1953-
# Optional. The TDE wallet password for the database.
1990+
# Optional. The TDE wallet password for the database. Note: Only one of `
1991+
# tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
19541992
# Corresponds to the JSON property `tdeWalletPassword`
19551993
# @return [String]
19561994
attr_accessor :tde_wallet_password
19571995

1996+
# Optional. The resource name of a secret version in Secret Manager which
1997+
# contains the TDE wallet password for the database. Format: projects/`project`/
1998+
# secrets/`secret`/versions/`version`. Note: Only one of `
1999+
# tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
2000+
# Corresponds to the JSON property `tdeWalletPasswordSecretVersion`
2001+
# @return [String]
2002+
attr_accessor :tde_wallet_password_secret_version
2003+
19582004
def initialize(**args)
19592005
update!(**args)
19602006
end
19612007

19622008
# Update properties of this object
19632009
def update!(**args)
19642010
@admin_password = args[:admin_password] if args.key?(:admin_password)
2011+
@admin_password_secret_version = args[:admin_password_secret_version] if args.key?(:admin_password_secret_version)
19652012
@character_set = args[:character_set] if args.key?(:character_set)
19662013
@create_time = args[:create_time] if args.key?(:create_time)
19672014
@database_id = args[:database_id] if args.key?(:database_id)
@@ -1977,6 +2024,7 @@ def update!(**args)
19772024
@pluggable_database_name = args[:pluggable_database_name] if args.key?(:pluggable_database_name)
19782025
@properties = args[:properties] if args.key?(:properties)
19792026
@tde_wallet_password = args[:tde_wallet_password] if args.key?(:tde_wallet_password)
2027+
@tde_wallet_password_secret_version = args[:tde_wallet_password_secret_version] if args.key?(:tde_wallet_password_secret_version)
19802028
end
19812029
end
19822030

generated/google-apis-oracledatabase_v1/lib/google/apis/oracledatabase_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module OracledatabaseV1
1818
# Version of the google-apis-oracledatabase_v1 gem
19-
GEM_VERSION = "0.25.0"
19+
GEM_VERSION = "0.26.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260225"
25+
REVISION = "20260415"
2626
end
2727
end
2828
end

generated/google-apis-oracledatabase_v1/lib/google/apis/oracledatabase_v1/representations.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ class AutonomousDatabase
665665
# @private
666666
class Representation < Google::Apis::Core::JsonRepresentation
667667
property :admin_password, as: 'adminPassword'
668+
property :admin_password_secret_version, as: 'adminPasswordSecretVersion'
668669
property :cidr, as: 'cidr'
669670
property :create_time, as: 'createTime'
670671
property :database, as: 'database'
@@ -808,6 +809,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
808809
property :license_type, as: 'licenseType'
809810
property :lifecycle_details, as: 'lifecycleDetails'
810811
property :local_adg_auto_failover_max_data_loss_limit, as: 'localAdgAutoFailoverMaxDataLossLimit'
812+
property :local_adg_auto_failover_max_data_loss_limit_duration, as: 'localAdgAutoFailoverMaxDataLossLimitDuration'
813+
property :local_data_guard_enabled, as: 'localDataGuardEnabled'
811814
property :local_disaster_recovery_type, as: 'localDisasterRecoveryType'
812815
property :local_standby_db, as: 'localStandbyDb', class: Google::Apis::OracledatabaseV1::AutonomousDatabaseStandbySummary, decorator: Google::Apis::OracledatabaseV1::AutonomousDatabaseStandbySummary::Representation
813816

@@ -1040,6 +1043,7 @@ class Database
10401043
# @private
10411044
class Representation < Google::Apis::Core::JsonRepresentation
10421045
property :admin_password, as: 'adminPassword'
1046+
property :admin_password_secret_version, as: 'adminPasswordSecretVersion'
10431047
property :character_set, as: 'characterSet'
10441048
property :create_time, as: 'createTime'
10451049
property :database_id, as: 'databaseId'
@@ -1056,6 +1060,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
10561060
property :properties, as: 'properties', class: Google::Apis::OracledatabaseV1::DatabaseProperties, decorator: Google::Apis::OracledatabaseV1::DatabaseProperties::Representation
10571061

10581062
property :tde_wallet_password, as: 'tdeWalletPassword'
1063+
property :tde_wallet_password_secret_version, as: 'tdeWalletPasswordSecretVersion'
10591064
end
10601065
end
10611066

generated/google-apis-oracledatabase_v1/lib/google/apis/oracledatabase_v1/service.rb

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,15 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8383
end
8484

8585
# Lists information about the supported locations for this service. This method
86-
# can be called in two ways: * **List all public locations:** Use the path `GET /
87-
# v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
88-
# projects/`project_id`/locations`. This may include public locations as well as
89-
# private or other locations specifically visible to the project.
86+
# lists locations based on the resource scope provided in the
87+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
88+
# the method lists the public locations available to all projects. * **Project-
89+
# specific locations**: If `name` follows the format `projects/`project``, the
90+
# method lists locations visible to that specific project. This includes public,
91+
# private, or other project-specific locations enabled for the project. For gRPC
92+
# and client library implementations, the resource name is passed as the `name`
93+
# field. For direct service calls, the resource name is incorporated into the
94+
# request path based on the specific service implementation and version.
9095
# @param [String] name
9196
# The resource that owns the locations collection, if applicable.
9297
# @param [Array<String>, String] extra_location_types

0 commit comments

Comments
 (0)