Skip to content

Commit 025ba8e

Browse files
feat(vmwareengine): update the API
#### vmwareengine: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 - schemas.Constraints.properties.disallowedIntervals.description - schemas.Constraints.properties.disallowedIntervals.items.$ref - schemas.Constraints.properties.disallowedIntervals.readOnly - schemas.Constraints.properties.disallowedIntervals.type - schemas.WeeklyTimeInterval.description - schemas.WeeklyTimeInterval.id - schemas.WeeklyTimeInterval.properties.endDay.description - schemas.WeeklyTimeInterval.properties.endDay.enum - schemas.WeeklyTimeInterval.properties.endDay.enumDescriptions - schemas.WeeklyTimeInterval.properties.endDay.readOnly - schemas.WeeklyTimeInterval.properties.endDay.type - schemas.WeeklyTimeInterval.properties.endTime.$ref - schemas.WeeklyTimeInterval.properties.endTime.description - schemas.WeeklyTimeInterval.properties.endTime.readOnly - schemas.WeeklyTimeInterval.properties.startDay.description - schemas.WeeklyTimeInterval.properties.startDay.enum - schemas.WeeklyTimeInterval.properties.startDay.enumDescriptions - schemas.WeeklyTimeInterval.properties.startDay.readOnly - schemas.WeeklyTimeInterval.properties.startDay.type - schemas.WeeklyTimeInterval.properties.startTime.$ref - schemas.WeeklyTimeInterval.properties.startTime.description - schemas.WeeklyTimeInterval.properties.startTime.readOnly - schemas.WeeklyTimeInterval.type
1 parent 637e7ec commit 025ba8e

File tree

2 files changed

+111
-1
lines changed

2 files changed

+111
-1
lines changed

discovery/vmwareengine-v1.json

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@
168168
"name"
169169
],
170170
"parameters": {
171+
"extraLocationTypes": {
172+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
173+
"location": "query",
174+
"repeated": true,
175+
"type": "string"
176+
},
171177
"filter": {
172178
"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).",
173179
"location": "query",
@@ -3362,7 +3368,7 @@
33623368
}
33633369
}
33643370
},
3365-
"revision": "20250218",
3371+
"revision": "20250410",
33663372
"rootUrl": "https://vmwareengine.googleapis.com/",
33673373
"schemas": {
33683374
"Announcement": {
@@ -3647,6 +3653,14 @@
36473653
"description": "Constraints to be applied while editing a schedule. These constraints ensure that `Upgrade` specific requirements are met.",
36483654
"id": "Constraints",
36493655
"properties": {
3656+
"disallowedIntervals": {
3657+
"description": "Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid.",
3658+
"items": {
3659+
"$ref": "WeeklyTimeInterval"
3660+
},
3661+
"readOnly": true,
3662+
"type": "array"
3663+
},
36503664
"minHoursDay": {
36513665
"description": "Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day.",
36523666
"format": "int32",
@@ -6279,6 +6293,73 @@
62796293
}
62806294
},
62816295
"type": "object"
6296+
},
6297+
"WeeklyTimeInterval": {
6298+
"description": "Represents a time interval, spanning across days of the week. Until local timezones are supported, this interval is in UTC.",
6299+
"id": "WeeklyTimeInterval",
6300+
"properties": {
6301+
"endDay": {
6302+
"description": "Output only. The day on which the interval ends. Can be same as start day.",
6303+
"enum": [
6304+
"DAY_OF_WEEK_UNSPECIFIED",
6305+
"MONDAY",
6306+
"TUESDAY",
6307+
"WEDNESDAY",
6308+
"THURSDAY",
6309+
"FRIDAY",
6310+
"SATURDAY",
6311+
"SUNDAY"
6312+
],
6313+
"enumDescriptions": [
6314+
"The day of the week is unspecified.",
6315+
"Monday",
6316+
"Tuesday",
6317+
"Wednesday",
6318+
"Thursday",
6319+
"Friday",
6320+
"Saturday",
6321+
"Sunday"
6322+
],
6323+
"readOnly": true,
6324+
"type": "string"
6325+
},
6326+
"endTime": {
6327+
"$ref": "TimeOfDay",
6328+
"description": "Output only. The time on the end day at which the interval ends.",
6329+
"readOnly": true
6330+
},
6331+
"startDay": {
6332+
"description": "Output only. The day on which the interval starts.",
6333+
"enum": [
6334+
"DAY_OF_WEEK_UNSPECIFIED",
6335+
"MONDAY",
6336+
"TUESDAY",
6337+
"WEDNESDAY",
6338+
"THURSDAY",
6339+
"FRIDAY",
6340+
"SATURDAY",
6341+
"SUNDAY"
6342+
],
6343+
"enumDescriptions": [
6344+
"The day of the week is unspecified.",
6345+
"Monday",
6346+
"Tuesday",
6347+
"Wednesday",
6348+
"Thursday",
6349+
"Friday",
6350+
"Saturday",
6351+
"Sunday"
6352+
],
6353+
"readOnly": true,
6354+
"type": "string"
6355+
},
6356+
"startTime": {
6357+
"$ref": "TimeOfDay",
6358+
"description": "Output only. The time on the start day at which the interval starts.",
6359+
"readOnly": true
6360+
}
6361+
},
6362+
"type": "object"
62826363
}
62836364
},
62846365
"servicePath": "",

src/apis/vmwareengine/v1.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ export namespace vmwareengine_v1 {
311311
* Constraints to be applied while editing a schedule. These constraints ensure that `Upgrade` specific requirements are met.
312312
*/
313313
export interface Schema$Constraints {
314+
/**
315+
* Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid.
316+
*/
317+
disallowedIntervals?: Schema$WeeklyTimeInterval[];
314318
/**
315319
* Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day.
316320
*/
@@ -1929,6 +1933,27 @@ export namespace vmwareengine_v1 {
19291933
*/
19301934
type?: string | null;
19311935
}
1936+
/**
1937+
* Represents a time interval, spanning across days of the week. Until local timezones are supported, this interval is in UTC.
1938+
*/
1939+
export interface Schema$WeeklyTimeInterval {
1940+
/**
1941+
* Output only. The day on which the interval ends. Can be same as start day.
1942+
*/
1943+
endDay?: string | null;
1944+
/**
1945+
* Output only. The time on the end day at which the interval ends.
1946+
*/
1947+
endTime?: Schema$TimeOfDay;
1948+
/**
1949+
* Output only. The day on which the interval starts.
1950+
*/
1951+
startDay?: string | null;
1952+
/**
1953+
* Output only. The time on the start day at which the interval starts.
1954+
*/
1955+
startTime?: Schema$TimeOfDay;
1956+
}
19321957

19331958
export class Resource$Projects {
19341959
context: APIRequestContext;
@@ -2261,6 +2286,10 @@ export namespace vmwareengine_v1 {
22612286
}
22622287
export interface Params$Resource$Projects$Locations$List
22632288
extends StandardParameters {
2289+
/**
2290+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2291+
*/
2292+
extraLocationTypes?: string[];
22642293
/**
22652294
* 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).
22662295
*/

0 commit comments

Comments
 (0)