Skip to content

Commit bb96421

Browse files
1 parent 4d8b002 commit bb96421

File tree

4 files changed

+63
-6
lines changed

4 files changed

+63
-6
lines changed

clients/google-api-services-workstations/v1beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workstations</artifactId>
25-
<version>v1beta-rev20250101-2.0.0</version>
25+
<version>v1beta-rev20250122-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20250101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20250122-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/Workstation.java

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

clients/google-api-services-workstations/v1beta/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-workstations</artifactId>
11-
<version>v1beta-rev20250101-2.0.0</version>
12-
<name>Cloud Workstations API v1beta-rev20250101-2.0.0</name>
11+
<version>v1beta-rev20250122-2.0.0</version>
12+
<name>Cloud Workstations API v1beta-rev20250122-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workstations/v1beta/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workstations</artifactId>
25-
<version>v1beta-rev20250101-2.0.0</version>
25+
<version>v1beta-rev20250122-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20250101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20250122-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)