Skip to content

Commit 55ba6f9

Browse files
yoshi-automationsofisl
authored andcommitted
feat(oracledatabase)!: update the API
BREAKING CHANGE: This release has breaking changes. #### oracledatabase:v1 The following keys were deleted: - schemas.CloudVmClusterProperties.properties.systemVersion.readOnly The following keys were added: - schemas.CloudExadataInfrastructureProperties.properties.cpuCount.readOnly - schemas.CloudExadataInfrastructureProperties.properties.dbNodeStorageSizeGb.readOnly - schemas.CloudExadataInfrastructureProperties.properties.memorySizeGb.readOnly The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.CloudExadataInfrastructureProperties.properties.cpuCount.description - schemas.CloudExadataInfrastructureProperties.properties.dbNodeStorageSizeGb.description - schemas.CloudExadataInfrastructureProperties.properties.memorySizeGb.description - schemas.CloudVmClusterProperties.properties.systemVersion.description - schemas.Entitlement.properties.state.enum - schemas.Entitlement.properties.state.enumDescriptions - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description - schemas.TimeZone.properties.id.description - schemas.TimeZone.properties.version.description
1 parent 5b5337d commit 55ba6f9

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

‎discovery/oracledatabase-v1.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@
994994
"operations": {
995995
"methods": {
996996
"cancel": {
997-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
997+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
998998
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
999999
"httpMethod": "POST",
10001000
"id": "oracledatabase.projects.locations.operations.cancel",
@@ -1119,7 +1119,7 @@
11191119
}
11201120
}
11211121
},
1122-
"revision": "20240918",
1122+
"revision": "20241210",
11231123
"rootUrl": "https://oracledatabase.googleapis.com/",
11241124
"schemas": {
11251125
"AllConnectionStrings": {
@@ -2237,8 +2237,9 @@
22372237
"type": "integer"
22382238
},
22392239
"cpuCount": {
2240-
"description": "Optional. The number of enabled CPU cores.",
2240+
"description": "Output only. The number of enabled CPU cores.",
22412241
"format": "int32",
2242+
"readOnly": true,
22422243
"type": "integer"
22432244
},
22442245
"customerContacts": {
@@ -2255,8 +2256,9 @@
22552256
"type": "number"
22562257
},
22572258
"dbNodeStorageSizeGb": {
2258-
"description": "Optional. The local node storage allocated in GBs.",
2259+
"description": "Output only. The local node storage allocated in GBs.",
22592260
"format": "int32",
2261+
"readOnly": true,
22602262
"type": "integer"
22612263
},
22622264
"dbServerVersion": {
@@ -2293,8 +2295,9 @@
22932295
"type": "integer"
22942296
},
22952297
"memorySizeGb": {
2296-
"description": "Optional. The memory allocated in GBs.",
2298+
"description": "Output only. The memory allocated in GBs.",
22972299
"format": "int32",
2300+
"readOnly": true,
22982301
"type": "integer"
22992302
},
23002303
"monthlyDbServerVersion": {
@@ -2631,8 +2634,7 @@
26312634
"type": "integer"
26322635
},
26332636
"systemVersion": {
2634-
"description": "Output only. Operating system version of the image.",
2635-
"readOnly": true,
2637+
"description": "Optional. Operating system version of the image.",
26362638
"type": "string"
26372639
},
26382640
"timeZone": {
@@ -3065,13 +3067,15 @@
30653067
"STATE_UNSPECIFIED",
30663068
"ACCOUNT_NOT_LINKED",
30673069
"ACCOUNT_NOT_ACTIVE",
3068-
"ACTIVE"
3070+
"ACTIVE",
3071+
"ACCOUNT_SUSPENDED"
30693072
],
30703073
"enumDescriptions": [
30713074
"Default unspecified value.",
30723075
"Account not linked.",
30733076
"Account is linked but not active.",
3074-
"Entitlement and Account are active."
3077+
"Entitlement and Account are active.",
3078+
"Account is suspended."
30753079
],
30763080
"readOnly": true,
30773081
"type": "string"
@@ -3719,22 +3723,22 @@
37193723
"id": "TimeOfDay",
37203724
"properties": {
37213725
"hours": {
3722-
"description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
3726+
"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
37233727
"format": "int32",
37243728
"type": "integer"
37253729
},
37263730
"minutes": {
3727-
"description": "Minutes of hour of day. Must be from 0 to 59.",
3731+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
37283732
"format": "int32",
37293733
"type": "integer"
37303734
},
37313735
"nanos": {
3732-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
3736+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
37333737
"format": "int32",
37343738
"type": "integer"
37353739
},
37363740
"seconds": {
3737-
"description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
3741+
"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.",
37383742
"format": "int32",
37393743
"type": "integer"
37403744
}
@@ -3746,11 +3750,11 @@
37463750
"id": "TimeZone",
37473751
"properties": {
37483752
"id": {
3749-
"description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".",
3753+
"description": "IANA Time Zone Database time zone. For example \"America/New_York\".",
37503754
"type": "string"
37513755
},
37523756
"version": {
3753-
"description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".",
3757+
"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".",
37543758
"type": "string"
37553759
}
37563760
},

‎src/apis/oracledatabase/v1.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ export namespace oracledatabase_v1 {
750750
*/
751751
computeCount?: number | null;
752752
/**
753-
* Optional. The number of enabled CPU cores.
753+
* Output only. The number of enabled CPU cores.
754754
*/
755755
cpuCount?: number | null;
756756
/**
@@ -762,7 +762,7 @@ export namespace oracledatabase_v1 {
762762
*/
763763
dataStorageSizeTb?: number | null;
764764
/**
765-
* Optional. The local node storage allocated in GBs.
765+
* Output only. The local node storage allocated in GBs.
766766
*/
767767
dbNodeStorageSizeGb?: number | null;
768768
/**
@@ -790,7 +790,7 @@ export namespace oracledatabase_v1 {
790790
*/
791791
maxMemoryGb?: number | null;
792792
/**
793-
* Optional. The memory allocated in GBs.
793+
* Output only. The memory allocated in GBs.
794794
*/
795795
memorySizeGb?: number | null;
796796
/**
@@ -1012,7 +1012,7 @@ export namespace oracledatabase_v1 {
10121012
*/
10131013
storageSizeGb?: number | null;
10141014
/**
1015-
* Output only. Operating system version of the image.
1015+
* Optional. Operating system version of the image.
10161016
*/
10171017
systemVersion?: string | null;
10181018
/**
@@ -1670,19 +1670,19 @@ export namespace oracledatabase_v1 {
16701670
*/
16711671
export interface Schema$TimeOfDay {
16721672
/**
1673-
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
1673+
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
16741674
*/
16751675
hours?: number | null;
16761676
/**
1677-
* Minutes of hour of day. Must be from 0 to 59.
1677+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
16781678
*/
16791679
minutes?: number | null;
16801680
/**
1681-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1681+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
16821682
*/
16831683
nanos?: number | null;
16841684
/**
1685-
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
1685+
* Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
16861686
*/
16871687
seconds?: number | null;
16881688
}
@@ -1691,11 +1691,11 @@ export namespace oracledatabase_v1 {
16911691
*/
16921692
export interface Schema$TimeZone {
16931693
/**
1694-
* IANA Time Zone Database time zone, e.g. "America/New_York".
1694+
* IANA Time Zone Database time zone. For example "America/New_York".
16951695
*/
16961696
id?: string | null;
16971697
/**
1698-
* Optional. IANA Time Zone Database version number, e.g. "2019a".
1698+
* Optional. IANA Time Zone Database version number. For example "2019a".
16991699
*/
17001700
version?: string | null;
17011701
}
@@ -4447,7 +4447,7 @@ export namespace oracledatabase_v1 {
44474447
}
44484448

44494449
/**
4450-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
4450+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
44514451
*
44524452
* @param params - Parameters for request
44534453
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)