@@ -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
0 commit comments