Skip to content

Commit fc99ff6

Browse files
feat(workstations): update the API
#### workstations:v1beta The following keys were added: - schemas.Workstation.properties.conditions.description - schemas.Workstation.properties.conditions.items.$ref - schemas.Workstation.properties.conditions.readOnly - schemas.Workstation.properties.conditions.type - schemas.Workstation.properties.degraded.description - schemas.Workstation.properties.degraded.readOnly - schemas.Workstation.properties.degraded.type
1 parent 914715a commit fc99ff6

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

discovery/workstations-v1beta.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
}
11281128
}
11291129
},
1130-
"revision": "20250101",
1130+
"revision": "20250122",
11311131
"rootUrl": "https://workstations.googleapis.com/",
11321132
"schemas": {
11331133
"Accelerator": {
@@ -2096,12 +2096,25 @@
20962096
"readOnly": true,
20972097
"type": "array"
20982098
},
2099+
"conditions": {
2100+
"description": "Output only. Status conditions describing the workstation's current state.",
2101+
"items": {
2102+
"$ref": "Status"
2103+
},
2104+
"readOnly": true,
2105+
"type": "array"
2106+
},
20992107
"createTime": {
21002108
"description": "Output only. Time when this workstation was created.",
21012109
"format": "google-datetime",
21022110
"readOnly": true,
21032111
"type": "string"
21042112
},
2113+
"degraded": {
2114+
"description": "Output only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.",
2115+
"readOnly": true,
2116+
"type": "boolean"
2117+
},
21052118
"deleteTime": {
21062119
"description": "Output only. Time when this workstation was soft-deleted.",
21072120
"format": "google-datetime",

src/apis/workstations/v1beta.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,10 +844,18 @@ export namespace workstations_v1beta {
844844
* Output only. List of available boost configuration IDs that this workstation can be boosted up to.
845845
*/
846846
boostConfigs?: Schema$WorkstationBoostConfig[];
847+
/**
848+
* Output only. Status conditions describing the workstation's current state.
849+
*/
850+
conditions?: Schema$Status[];
847851
/**
848852
* Output only. Time when this workstation was created.
849853
*/
850854
createTime?: string | null;
855+
/**
856+
* Output only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions.
857+
*/
858+
degraded?: boolean | null;
851859
/**
852860
* Output only. Time when this workstation was soft-deleted.
853861
*/

0 commit comments

Comments
 (0)