@@ -45,13 +45,34 @@ public final class Workstation extends com.google.api.client.json.GenericJson {
4545 @ com .google .api .client .util .Key
4646 private java .util .List <WorkstationBoostConfig > boostConfigs ;
4747
48+ /**
49+ * Output only. Status conditions describing the workstation's current state.
50+ * The value may be {@code null}.
51+ */
52+ @ com .google .api .client .util .Key
53+ private java .util .List <Status > conditions ;
54+
55+ static {
56+ // hack to force ProGuard to consider Status used, since otherwise it would be stripped out
57+ // see https://github.com/google/google-api-java-client/issues/543
58+ com .google .api .client .util .Data .nullOf (Status .class );
59+ }
60+
4861 /**
4962 * Output only. Time when this workstation was created.
5063 * The value may be {@code null}.
5164 */
5265 @ com .google .api .client .util .Key
5366 private String createTime ;
5467
68+ /**
69+ * Output only. Whether this workstation is in degraded mode, in which case it may require user
70+ * action to restore full functionality. Details can be found in conditions.
71+ * The value may be {@code null}.
72+ */
73+ @ com .google .api .client .util .Key
74+ private java .lang .Boolean degraded ;
75+
5576 /**
5677 * Output only. Time when this workstation was soft-deleted.
5778 * The value may be {@code null}.
@@ -217,6 +238,23 @@ public Workstation setBoostConfigs(java.util.List<WorkstationBoostConfig> boostC
217238 return this ;
218239 }
219240
241+ /**
242+ * Output only. Status conditions describing the workstation's current state.
243+ * @return value or {@code null} for none
244+ */
245+ public java .util .List <Status > getConditions () {
246+ return conditions ;
247+ }
248+
249+ /**
250+ * Output only. Status conditions describing the workstation's current state.
251+ * @param conditions conditions or {@code null} for none
252+ */
253+ public Workstation setConditions (java .util .List <Status > conditions ) {
254+ this .conditions = conditions ;
255+ return this ;
256+ }
257+
220258 /**
221259 * Output only. Time when this workstation was created.
222260 * @return value or {@code null} for none
@@ -234,6 +272,25 @@ public Workstation setCreateTime(String createTime) {
234272 return this ;
235273 }
236274
275+ /**
276+ * Output only. Whether this workstation is in degraded mode, in which case it may require user
277+ * action to restore full functionality. Details can be found in conditions.
278+ * @return value or {@code null} for none
279+ */
280+ public java .lang .Boolean getDegraded () {
281+ return degraded ;
282+ }
283+
284+ /**
285+ * Output only. Whether this workstation is in degraded mode, in which case it may require user
286+ * action to restore full functionality. Details can be found in conditions.
287+ * @param degraded degraded or {@code null} for none
288+ */
289+ public Workstation setDegraded (java .lang .Boolean degraded ) {
290+ this .degraded = degraded ;
291+ return this ;
292+ }
293+
237294 /**
238295 * Output only. Time when this workstation was soft-deleted.
239296 * @return value or {@code null} for none
0 commit comments