Skip to content

Commit a00faa8

Browse files
feat: [oracledatabase] Expand Oracle Database v1 API to add support for Exadata Exascale (ExadbVmCluster, ExascaleDbStorageVault), Base Database (DbSystem, Database, PluggableDatabase), and Networking (OdbNetwork, OdbSubnet). Adds enhance... (#6831)
* feat: Expand Oracle Database v1 API to add support for Exadata Exascale (`ExadbVmCluster`, `ExascaleDbStorageVault`), Base Database (`DbSystem`, `Database`, `PluggableDatabase`), and Networking (`OdbNetwork`, `OdbSubnet`). Adds enhancements for Autonomous Database, including Update, Switchover, and Failover operations, CMEK support, and improved disaster recovery fields. Also includes new helper resources for versions and configurations docs: Updated comments for clarity and fixed typos PiperOrigin-RevId: 821933017 Source-Link: googleapis/googleapis@55319b0 Source-Link: googleapis/googleapis-gen@f8b50d2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yYWNsZWRhdGFiYXNlLy5Pd2xCb3QueWFtbCIsImgiOiJmOGI1MGQyYjkyYmQ4MWUxZTQwNjkyMGFlNTJlYWJhMWFiOTQzZjlkIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 90e3d9f commit a00faa8

64 files changed

Lines changed: 77789 additions & 17292 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-oracledatabase/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,61 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
6060
| create autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_autonomous_database.js) |
6161
| create cloud exadata infrastructure | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_cloud_exadata_infrastructure.js) |
6262
| create cloud vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_cloud_vm_cluster.js) |
63+
| create db system | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_db_system.js) |
64+
| create exadb vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_exadb_vm_cluster.js) |
65+
| create exascale db storage vault | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_exascale_db_storage_vault.js) |
66+
| create odb network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_odb_network.js) |
67+
| create odb subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.create_odb_subnet.js) |
6368
| delete autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_autonomous_database.js) |
6469
| delete cloud exadata infrastructure | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_cloud_exadata_infrastructure.js) |
6570
| delete cloud vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_cloud_vm_cluster.js) |
71+
| delete db system | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_db_system.js) |
72+
| delete exadb vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_exadb_vm_cluster.js) |
73+
| delete exascale db storage vault | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_exascale_db_storage_vault.js) |
74+
| delete odb network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_odb_network.js) |
75+
| delete odb subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.delete_odb_subnet.js) |
76+
| failover autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.failover_autonomous_database.js) |
6677
| generate autonomous database wallet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.generate_autonomous_database_wallet.js) |
6778
| get autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_autonomous_database.js) |
6879
| get cloud exadata infrastructure | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_cloud_exadata_infrastructure.js) |
6980
| get cloud vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_cloud_vm_cluster.js) |
81+
| get database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_database.js) |
82+
| get db system | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_db_system.js) |
83+
| get exadb vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_exadb_vm_cluster.js) |
84+
| get exascale db storage vault | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_exascale_db_storage_vault.js) |
85+
| get odb network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_odb_network.js) |
86+
| get odb subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_odb_subnet.js) |
87+
| get pluggable database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.get_pluggable_database.js) |
7088
| list autonomous database backups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_autonomous_database_backups.js) |
7189
| list autonomous database character sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_autonomous_database_character_sets.js) |
7290
| list autonomous databases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_autonomous_databases.js) |
7391
| list autonomous db versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_autonomous_db_versions.js) |
7492
| list cloud exadata infrastructures | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_cloud_exadata_infrastructures.js) |
7593
| list cloud vm clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_cloud_vm_clusters.js) |
94+
| list database character sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_database_character_sets.js) |
95+
| list databases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_databases.js) |
7696
| list db nodes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_nodes.js) |
7797
| list db servers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_servers.js) |
98+
| list db system initial storage sizes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_system_initial_storage_sizes.js) |
7899
| list db system shapes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_system_shapes.js) |
100+
| list db systems | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_systems.js) |
101+
| list db versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_db_versions.js) |
79102
| list entitlements | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_entitlements.js) |
103+
| list exadb vm clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_exadb_vm_clusters.js) |
104+
| list exascale db storage vaults | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_exascale_db_storage_vaults.js) |
80105
| list gi versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_gi_versions.js) |
106+
| list minor versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_minor_versions.js) |
107+
| list odb networks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_odb_networks.js) |
108+
| list odb subnets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_odb_subnets.js) |
109+
| list pluggable databases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.list_pluggable_databases.js) |
110+
| remove virtual machine exadb vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.remove_virtual_machine_exadb_vm_cluster.js) |
81111
| restart autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.restart_autonomous_database.js) |
82112
| restore autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.restore_autonomous_database.js) |
83113
| start autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.start_autonomous_database.js) |
84114
| stop autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.stop_autonomous_database.js) |
115+
| switchover autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.switchover_autonomous_database.js) |
116+
| update autonomous database | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.update_autonomous_database.js) |
117+
| update exadb vm cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/oracle_database.update_exadb_vm_cluster.js) |
85118
| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-oracledatabase/samples/generated/v1/snippet_metadata_google.cloud.oracledatabase.v1.json) |
86119

87120

packages/google-cloud-oracledatabase/protos/google/cloud/oracledatabase/v1/autonomous_database.proto

Lines changed: 130 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)