Skip to content

Commit 7400caa

Browse files
feat(oracledatabase): update the API
#### oracledatabase:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.flatPath - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.httpMethod - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.id - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameterOrder - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameters.name.description - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameters.name.location - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameters.name.pattern - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameters.name.required - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.parameters.name.type - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.path - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.request.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.response.$ref - resources.projects.resources.locations.resources.autonomousDatabases.methods.switchover.scopes - schemas.AutonomousDatabase.properties.disasterRecoverySupportedLocations.description - schemas.AutonomousDatabase.properties.disasterRecoverySupportedLocations.items.type - schemas.AutonomousDatabase.properties.disasterRecoverySupportedLocations.readOnly - schemas.AutonomousDatabase.properties.disasterRecoverySupportedLocations.type - schemas.AutonomousDatabase.properties.peerAutonomousDatabases.description - schemas.AutonomousDatabase.properties.peerAutonomousDatabases.items.type - schemas.AutonomousDatabase.properties.peerAutonomousDatabases.readOnly - schemas.AutonomousDatabase.properties.peerAutonomousDatabases.type - schemas.AutonomousDatabase.properties.sourceConfig.$ref - schemas.AutonomousDatabase.properties.sourceConfig.description - schemas.AutonomousDatabaseProperties.properties.allowlistedIps.description - schemas.AutonomousDatabaseProperties.properties.allowlistedIps.items.type - schemas.AutonomousDatabaseProperties.properties.allowlistedIps.type - schemas.AutonomousDatabaseProperties.properties.dataGuardRoleChangedTime.description - schemas.AutonomousDatabaseProperties.properties.dataGuardRoleChangedTime.format - schemas.AutonomousDatabaseProperties.properties.dataGuardRoleChangedTime.readOnly - schemas.AutonomousDatabaseProperties.properties.dataGuardRoleChangedTime.type - schemas.AutonomousDatabaseProperties.properties.disasterRecoveryRoleChangedTime.description - schemas.AutonomousDatabaseProperties.properties.disasterRecoveryRoleChangedTime.format - schemas.AutonomousDatabaseProperties.properties.disasterRecoveryRoleChangedTime.readOnly - schemas.AutonomousDatabaseProperties.properties.disasterRecoveryRoleChangedTime.type - schemas.CloudExadataInfrastructureProperties.properties.computeModel.description - schemas.CloudExadataInfrastructureProperties.properties.computeModel.enum - schemas.CloudExadataInfrastructureProperties.properties.computeModel.enumDescriptions - schemas.CloudExadataInfrastructureProperties.properties.computeModel.readOnly - schemas.CloudExadataInfrastructureProperties.properties.computeModel.type - schemas.CloudExadataInfrastructureProperties.properties.databaseServerType.description - schemas.CloudExadataInfrastructureProperties.properties.databaseServerType.readOnly - schemas.CloudExadataInfrastructureProperties.properties.databaseServerType.type - schemas.CloudExadataInfrastructureProperties.properties.storageServerType.description - schemas.CloudExadataInfrastructureProperties.properties.storageServerType.readOnly - schemas.CloudExadataInfrastructureProperties.properties.storageServerType.type - schemas.CloudVmClusterProperties.properties.computeModel.description - schemas.CloudVmClusterProperties.properties.computeModel.enum - schemas.CloudVmClusterProperties.properties.computeModel.enumDescriptions - schemas.CloudVmClusterProperties.properties.computeModel.readOnly - schemas.CloudVmClusterProperties.properties.computeModel.type - schemas.SourceConfig.description - schemas.SourceConfig.id - schemas.SourceConfig.properties.automaticBackupsReplicationEnabled.description - schemas.SourceConfig.properties.automaticBackupsReplicationEnabled.type - schemas.SourceConfig.properties.autonomousDatabase.description - schemas.SourceConfig.properties.autonomousDatabase.type - schemas.SourceConfig.type - schemas.SwitchoverAutonomousDatabaseRequest.description - schemas.SwitchoverAutonomousDatabaseRequest.id - schemas.SwitchoverAutonomousDatabaseRequest.properties.peerAutonomousDatabase.description - schemas.SwitchoverAutonomousDatabaseRequest.properties.peerAutonomousDatabase.type - schemas.SwitchoverAutonomousDatabaseRequest.type The following keys were changed: - schemas.CloudVmCluster.properties.backupSubnetCidr.description - schemas.CloudVmCluster.properties.cidr.description - schemas.CloudVmCluster.properties.network.description
1 parent 957ba50 commit 7400caa

File tree

2 files changed

+314
-7
lines changed

2 files changed

+314
-7
lines changed

‎discovery/oracledatabase-v1.json

Lines changed: 143 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -547,6 +553,34 @@
547553
"scopes": [
548554
"https://www.googleapis.com/auth/cloud-platform"
549555
]
556+
},
557+
"switchover": {
558+
"description": "Initiates a switchover of specified autonomous deatabase to the associated peer database.",
559+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:switchover",
560+
"httpMethod": "POST",
561+
"id": "oracledatabase.projects.locations.autonomousDatabases.switchover",
562+
"parameterOrder": [
563+
"name"
564+
],
565+
"parameters": {
566+
"name": {
567+
"description": "Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.",
568+
"location": "path",
569+
"pattern": "^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$",
570+
"required": true,
571+
"type": "string"
572+
}
573+
},
574+
"path": "v1/{+name}:switchover",
575+
"request": {
576+
"$ref": "SwitchoverAutonomousDatabaseRequest"
577+
},
578+
"response": {
579+
"$ref": "Operation"
580+
},
581+
"scopes": [
582+
"https://www.googleapis.com/auth/cloud-platform"
583+
]
550584
}
551585
}
552586
},
@@ -1203,7 +1237,7 @@
12031237
}
12041238
}
12051239
},
1206-
"revision": "20250312",
1240+
"revision": "20250416",
12071241
"rootUrl": "https://oracledatabase.googleapis.com/",
12081242
"schemas": {
12091243
"AllConnectionStrings": {
@@ -1250,6 +1284,14 @@
12501284
"description": "Optional. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.",
12511285
"type": "string"
12521286
},
1287+
"disasterRecoverySupportedLocations": {
1288+
"description": "Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: `project/{project}/locations/{location}`.",
1289+
"items": {
1290+
"type": "string"
1291+
},
1292+
"readOnly": true,
1293+
"type": "array"
1294+
},
12531295
"displayName": {
12541296
"description": "Optional. The display name for the Autonomous Database. The name does not have to be unique within your project.",
12551297
"type": "string"
@@ -1274,9 +1316,21 @@
12741316
"description": "Optional. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}",
12751317
"type": "string"
12761318
},
1319+
"peerAutonomousDatabases": {
1320+
"description": "Output only. The peer Autonomous Database names of the given Autonomous Database.",
1321+
"items": {
1322+
"type": "string"
1323+
},
1324+
"readOnly": true,
1325+
"type": "array"
1326+
},
12771327
"properties": {
12781328
"$ref": "AutonomousDatabaseProperties",
12791329
"description": "Optional. The properties of the Autonomous Database."
1330+
},
1331+
"sourceConfig": {
1332+
"$ref": "SourceConfig",
1333+
"description": "Optional. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation."
12801334
}
12811335
},
12821336
"type": "object"
@@ -1599,6 +1653,13 @@
15991653
"readOnly": true,
16001654
"type": "number"
16011655
},
1656+
"allowlistedIps": {
1657+
"description": "Optional. The list of allowlisted IP addresses for the Autonomous Database.",
1658+
"items": {
1659+
"type": "string"
1660+
},
1661+
"type": "array"
1662+
},
16021663
"apexDetails": {
16031664
"$ref": "AutonomousDatabaseApex",
16041665
"description": "Output only. The details for the Oracle APEX Application Development.",
@@ -1658,6 +1719,12 @@
16581719
},
16591720
"type": "array"
16601721
},
1722+
"dataGuardRoleChangedTime": {
1723+
"description": "Output only. The date and time the Autonomous Data Guard role was changed for the standby Autonomous Database.",
1724+
"format": "google-datetime",
1725+
"readOnly": true,
1726+
"type": "string"
1727+
},
16611728
"dataSafeState": {
16621729
"description": "Output only. The current state of the Data Safe registration for the Autonomous Database.",
16631730
"enum": [
@@ -1748,6 +1815,12 @@
17481815
],
17491816
"type": "string"
17501817
},
1818+
"disasterRecoveryRoleChangedTime": {
1819+
"description": "Output only. The date and time the Disaster Recovery role was changed for the standby Autonomous Database.",
1820+
"format": "google-datetime",
1821+
"readOnly": true,
1822+
"type": "string"
1823+
},
17511824
"failedDataRecoveryDuration": {
17521825
"description": "Output only. This field indicates the number of seconds of data loss during a Data Guard failover.",
17531826
"format": "google-duration",
@@ -2320,6 +2393,21 @@
23202393
"format": "int32",
23212394
"type": "integer"
23222395
},
2396+
"computeModel": {
2397+
"description": "Output only. The compute model of the Exadata Infrastructure.",
2398+
"enum": [
2399+
"COMPUTE_MODEL_UNSPECIFIED",
2400+
"COMPUTE_MODEL_ECPU",
2401+
"COMPUTE_MODEL_OCPU"
2402+
],
2403+
"enumDescriptions": [
2404+
"Unspecified compute model.",
2405+
"Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.",
2406+
"Physical measure of compute resources. OCPUs are based on the physical core of a processor."
2407+
],
2408+
"readOnly": true,
2409+
"type": "string"
2410+
},
23232411
"cpuCount": {
23242412
"description": "Output only. The number of enabled CPU cores.",
23252413
"format": "int32",
@@ -2339,6 +2427,11 @@
23392427
"readOnly": true,
23402428
"type": "number"
23412429
},
2430+
"databaseServerType": {
2431+
"description": "Output only. The database server type of the Exadata Infrastructure.",
2432+
"readOnly": true,
2433+
"type": "string"
2434+
},
23422435
"dbNodeStorageSizeGb": {
23432436
"description": "Output only. The local node storage allocated in GBs.",
23442437
"format": "int32",
@@ -2455,6 +2548,11 @@
24552548
"format": "int32",
24562549
"type": "integer"
24572550
},
2551+
"storageServerType": {
2552+
"description": "Output only. The storage server type of the Exadata Infrastructure.",
2553+
"readOnly": true,
2554+
"type": "string"
2555+
},
24582556
"storageServerVersion": {
24592557
"description": "Output only. The software version of the storage servers (cells) in the Exadata Infrastructure.",
24602558
"readOnly": true,
@@ -2473,11 +2571,11 @@
24732571
"id": "CloudVmCluster",
24742572
"properties": {
24752573
"backupSubnetCidr": {
2476-
"description": "Required. CIDR range of the backup subnet.",
2574+
"description": "Optional. CIDR range of the backup subnet.",
24772575
"type": "string"
24782576
},
24792577
"cidr": {
2480-
"description": "Required. Network settings. CIDR to use for cluster IP allocation.",
2578+
"description": "Optional. Network settings. CIDR to use for cluster IP allocation.",
24812579
"type": "string"
24822580
},
24832581
"createTime": {
@@ -2511,7 +2609,7 @@
25112609
"type": "string"
25122610
},
25132611
"network": {
2514-
"description": "Required. The name of the VPC network. Format: projects/{project}/global/networks/{network}",
2612+
"description": "Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}",
25152613
"type": "string"
25162614
},
25172615
"properties": {
@@ -2534,6 +2632,21 @@
25342632
"readOnly": true,
25352633
"type": "string"
25362634
},
2635+
"computeModel": {
2636+
"description": "Output only. The compute model of the VM Cluster.",
2637+
"enum": [
2638+
"COMPUTE_MODEL_UNSPECIFIED",
2639+
"COMPUTE_MODEL_ECPU",
2640+
"COMPUTE_MODEL_OCPU"
2641+
],
2642+
"enumDescriptions": [
2643+
"Unspecified compute model.",
2644+
"Abstract measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers.",
2645+
"Physical measure of compute resources. OCPUs are based on the physical core of a processor."
2646+
],
2647+
"readOnly": true,
2648+
"type": "string"
2649+
},
25372650
"cpuCoreCount": {
25382651
"description": "Required. Number of enabled CPU cores.",
25392652
"format": "int32",
@@ -3783,6 +3896,21 @@
37833896
},
37843897
"type": "object"
37853898
},
3899+
"SourceConfig": {
3900+
"description": "The source configuration for the standby Autonomnous Database.",
3901+
"id": "SourceConfig",
3902+
"properties": {
3903+
"automaticBackupsReplicationEnabled": {
3904+
"description": "Optional. This field specifies if the replication of automatic backups is enabled when creating a Data Guard.",
3905+
"type": "boolean"
3906+
},
3907+
"autonomousDatabase": {
3908+
"description": "Optional. The name of the primary Autonomous Database that is used to create a Peer Autonomous Database from a source.",
3909+
"type": "string"
3910+
}
3911+
},
3912+
"type": "object"
3913+
},
37863914
"StartAutonomousDatabaseRequest": {
37873915
"description": "The request for `AutonomousDatabase.Start`.",
37883916
"id": "StartAutonomousDatabaseRequest",
@@ -3822,6 +3950,17 @@
38223950
"properties": {},
38233951
"type": "object"
38243952
},
3953+
"SwitchoverAutonomousDatabaseRequest": {
3954+
"description": "The request for `AutonomousDatabase.Switchover`.",
3955+
"id": "SwitchoverAutonomousDatabaseRequest",
3956+
"properties": {
3957+
"peerAutonomousDatabase": {
3958+
"description": "Required. The peer database name to switch over to.",
3959+
"type": "string"
3960+
}
3961+
},
3962+
"type": "object"
3963+
},
38253964
"TimeOfDay": {
38263965
"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
38273966
"id": "TimeOfDay",

0 commit comments

Comments
 (0)