@@ -202,12 +202,74 @@ message AutonomousDatabase {
202202 (google.api.resource_reference ) = { type : "compute.googleapis.com/Network" }
203203 ];
204204
205- // Optional. The subnet CIDR range for the Autonmous Database.
205+ // Optional. The subnet CIDR range for the Autonomous Database.
206206 string cidr = 10 [(google.api.field_behavior ) = OPTIONAL ];
207207
208+ // Optional. The name of the OdbNetwork associated with the Autonomous
209+ // Database. Format:
210+ // projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
211+ // optional but if specified, this should match the parent ODBNetwork of the
212+ // OdbSubnet.
213+ string odb_network = 16 [
214+ (google.api.field_behavior ) = OPTIONAL ,
215+ (google.api.resource_reference ) = {
216+ type : "oracledatabase.googleapis.com/OdbNetwork"
217+ }
218+ ];
219+
220+ // Optional. The name of the OdbSubnet associated with the Autonomous
221+ // Database. Format:
222+ // projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
223+ string odb_subnet = 17 [
224+ (google.api.field_behavior ) = OPTIONAL ,
225+ (google.api.resource_reference ) = {
226+ type : "oracledatabase.googleapis.com/OdbSubnet"
227+ }
228+ ];
229+
230+ // Optional. The source Autonomous Database configuration for the standby
231+ // Autonomous Database. The source Autonomous Database is configured while
232+ // creating the Peer Autonomous Database and can't be updated after creation.
233+ SourceConfig source_config = 11 [(google.api.field_behavior ) = OPTIONAL ];
234+
235+ // Output only. The peer Autonomous Database names of the given Autonomous
236+ // Database.
237+ repeated string peer_autonomous_databases = 12 [
238+ (google.api.field_behavior ) = OUTPUT_ONLY ,
239+ (google.api.resource_reference ) = {
240+ type : "oracledatabase.googleapis.com/AutonomousDatabase"
241+ }
242+ ];
243+
208244 // Output only. The date and time that the Autonomous Database was created.
209245 google.protobuf.Timestamp create_time = 13
210246 [(google.api.field_behavior ) = OUTPUT_ONLY ];
247+
248+ // Output only. List of supported GCP region to clone the Autonomous Database
249+ // for disaster recovery. Format: `project/{project}/locations/{location}`.
250+ repeated string disaster_recovery_supported_locations = 15 [
251+ (google.api.field_behavior ) = OUTPUT_ONLY ,
252+ (google.api.resource_reference ) = {
253+ type : "locations.googleapis.com/Location"
254+ }
255+ ];
256+ }
257+
258+ // The source configuration for the standby Autonomous Database.
259+ message SourceConfig {
260+ // Optional. The name of the primary Autonomous Database that is used to
261+ // create a Peer Autonomous Database from a source.
262+ string autonomous_database = 1 [
263+ (google.api.field_behavior ) = OPTIONAL ,
264+ (google.api.resource_reference ) = {
265+ type : "oracledatabase.googleapis.com/AutonomousDatabase"
266+ }
267+ ];
268+
269+ // Optional. This field specifies if the replication of automatic backups is
270+ // enabled when creating a Data Guard.
271+ bool automatic_backups_replication_enabled = 2
272+ [(google.api.field_behavior ) = OPTIONAL ];
211273}
212274
213275// The properties of an Autonomous Database.
@@ -605,13 +667,80 @@ message AutonomousDatabaseProperties {
605667 google.protobuf.Timestamp next_long_term_backup_time = 60
606668 [(google.api.field_behavior ) = OUTPUT_ONLY ];
607669
670+ // Output only. The date and time the Autonomous Data Guard role was changed
671+ // for the standby Autonomous Database.
672+ google.protobuf.Timestamp data_guard_role_changed_time = 61
673+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
674+
675+ // Output only. The date and time the Disaster Recovery role was changed for
676+ // the standby Autonomous Database.
677+ google.protobuf.Timestamp disaster_recovery_role_changed_time = 62
678+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
679+
608680 // Output only. The date and time when maintenance will begin.
609681 google.protobuf.Timestamp maintenance_begin_time = 65
610682 [(google.api.field_behavior ) = OUTPUT_ONLY ];
611683
612684 // Output only. The date and time when maintenance will end.
613685 google.protobuf.Timestamp maintenance_end_time = 66
614686 [(google.api.field_behavior ) = OUTPUT_ONLY ];
687+
688+ // Optional. The list of allowlisted IP addresses for the Autonomous Database.
689+ repeated string allowlisted_ips = 67 [(google.api.field_behavior ) = OPTIONAL ];
690+
691+ // Optional. The encryption key used to encrypt the Autonomous Database.
692+ // Updating this field will add a new entry in the
693+ // `encryption_key_history_entries` field with the former version.
694+ EncryptionKey encryption_key = 68 [(google.api.field_behavior ) = OPTIONAL ];
695+
696+ // Output only. The history of the encryption keys used to encrypt the
697+ // Autonomous Database.
698+ repeated EncryptionKeyHistoryEntry encryption_key_history_entries = 69
699+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
700+
701+ // Output only. An Oracle-managed Google Cloud service account on which
702+ // customers can grant roles to access resources in the customer project.
703+ string service_agent_email = 70 [(google.api.field_behavior ) = OUTPUT_ONLY ];
704+ }
705+
706+ // The history of the encryption keys used to encrypt the Autonomous Database.
707+ message EncryptionKeyHistoryEntry {
708+ // Output only. The encryption key used to encrypt the Autonomous Database.
709+ EncryptionKey encryption_key = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
710+
711+ // Output only. The date and time when the encryption key was activated on the
712+ // Autonomous Database..
713+ google.protobuf.Timestamp activation_time = 2
714+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
715+ }
716+
717+ // The encryption key used to encrypt the Autonomous Database.
718+ message EncryptionKey {
719+ // The provider of the encryption key.
720+ enum Provider {
721+ // Default unspecified value.
722+ PROVIDER_UNSPECIFIED = 0 ;
723+
724+ // Google Managed KMS key, if selected, please provide the KMS key name.
725+ GOOGLE_MANAGED = 1 ;
726+
727+ // Oracle Managed.
728+ ORACLE_MANAGED = 2 ;
729+ }
730+
731+ // Optional. The provider of the encryption key.
732+ Provider provider = 1 [(google.api.field_behavior ) = OPTIONAL ];
733+
734+ // Optional. The KMS key used to encrypt the Autonomous Database.
735+ // This field is required if the provider is GOOGLE_MANAGED.
736+ // The name of the KMS key resource in the following format:
737+ // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
738+ string kms_key = 2 [
739+ (google.api.field_behavior ) = OPTIONAL ,
740+ (google.api.resource_reference ) = {
741+ type : "cloudkms.googleapis.com/CryptoKey"
742+ }
743+ ];
615744}
616745
617746// Oracle APEX Application Development.
0 commit comments