Skip to content

Commit 0f56c0f

Browse files
yoshi-automationsofisl
authored andcommitted
fix(osconfig): update the API
#### osconfig:v1alpha The following keys were changed: - schemas.InventoryItem.properties.type.enumDescriptions #### osconfig:v1beta The following keys were changed: - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description #### osconfig:v1 The following keys were changed: - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description
1 parent e361d31 commit 0f56c0f

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

discovery/osconfig-v1.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@
10831083
}
10841084
}
10851085
},
1086-
"revision": "20240901",
1086+
"revision": "20241002",
10871087
"rootUrl": "https://osconfig.googleapis.com/",
10881088
"schemas": {
10891089
"AptSettings": {
@@ -3500,22 +3500,22 @@
35003500
"id": "TimeOfDay",
35013501
"properties": {
35023502
"hours": {
3503-
"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.",
3503+
"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.",
35043504
"format": "int32",
35053505
"type": "integer"
35063506
},
35073507
"minutes": {
3508-
"description": "Minutes of hour of day. Must be from 0 to 59.",
3508+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
35093509
"format": "int32",
35103510
"type": "integer"
35113511
},
35123512
"nanos": {
3513-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
3513+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
35143514
"format": "int32",
35153515
"type": "integer"
35163516
},
35173517
"seconds": {
3518-
"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.",
3518+
"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.",
35193519
"format": "int32",
35203520
"type": "integer"
35213521
}

discovery/osconfig-v1alpha.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
}
708708
}
709709
},
710-
"revision": "20240602",
710+
"revision": "20240901",
711711
"rootUrl": "https://osconfig.googleapis.com/",
712712
"schemas": {
713713
"CVSSv3": {
@@ -1141,7 +1141,7 @@
11411141
"AVAILABLE_PACKAGE"
11421142
],
11431143
"enumDescriptions": [
1144-
"Invalid. An type must be specified.",
1144+
"Invalid. A type must be specified.",
11451145
"This represents a package that is installed on the VM.",
11461146
"This represents an update that is available for a package."
11471147
],

discovery/osconfig-v1beta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@
689689
}
690690
}
691691
},
692-
"revision": "20220319",
692+
"revision": "20241002",
693693
"rootUrl": "https://osconfig.googleapis.com/",
694694
"schemas": {
695695
"AptRepository": {
@@ -2268,22 +2268,22 @@
22682268
"id": "TimeOfDay",
22692269
"properties": {
22702270
"hours": {
2271-
"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.",
2271+
"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.",
22722272
"format": "int32",
22732273
"type": "integer"
22742274
},
22752275
"minutes": {
2276-
"description": "Minutes of hour of day. Must be from 0 to 59.",
2276+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
22772277
"format": "int32",
22782278
"type": "integer"
22792279
},
22802280
"nanos": {
2281-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
2281+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
22822282
"format": "int32",
22832283
"type": "integer"
22842284
},
22852285
"seconds": {
2286-
"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.",
2286+
"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.",
22872287
"format": "int32",
22882288
"type": "integer"
22892289
}

src/apis/osconfig/v1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,19 +1784,19 @@ export namespace osconfig_v1 {
17841784
*/
17851785
export interface Schema$TimeOfDay {
17861786
/**
1787-
* 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.
1787+
* 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.
17881788
*/
17891789
hours?: number | null;
17901790
/**
1791-
* Minutes of hour of day. Must be from 0 to 59.
1791+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
17921792
*/
17931793
minutes?: number | null;
17941794
/**
1795-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1795+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
17961796
*/
17971797
nanos?: number | null;
17981798
/**
1799-
* 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.
1799+
* 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.
18001800
*/
18011801
seconds?: number | null;
18021802
}

src/apis/osconfig/v1beta.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,19 +1189,19 @@ export namespace osconfig_v1beta {
11891189
*/
11901190
export interface Schema$TimeOfDay {
11911191
/**
1192-
* 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.
1192+
* 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.
11931193
*/
11941194
hours?: number | null;
11951195
/**
1196-
* Minutes of hour of day. Must be from 0 to 59.
1196+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
11971197
*/
11981198
minutes?: number | null;
11991199
/**
1200-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1200+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
12011201
*/
12021202
nanos?: number | null;
12031203
/**
1204-
* 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.
1204+
* 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.
12051205
*/
12061206
seconds?: number | null;
12071207
}

0 commit comments

Comments
 (0)