Skip to content

Commit 12e3ab8

Browse files
1 parent 8ae1792 commit 12e3ab8

File tree

18 files changed

+526
-28
lines changed

18 files changed

+526
-28
lines changed

clients/google-api-services-workstations/v1/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>v1-rev20241202-2.0.0</version>
25+
<version>v1-rev20250101-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:v1-rev20241202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20250101-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/BoostConfig.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
/**
2020
* A boost configuration is a set of resources that a workstation can use to increase its
21-
* performance. If a boost configuration is specified, when starting a workstation, users can choose
22-
* to use a VM provisioned under the boost config by passing the boost config id in the start
23-
* request. If no boost config id is provided in the start request, the system will choose a VM from
24-
* the pool provisioned under the default config.
21+
* performance. If you specify a boost configuration, upon startup, workstation users can choose to
22+
* use a VM provisioned under the boost config by passing the boost config ID in the start request.
23+
* If the workstation user does not provide a boost config ID in the start request, the system will
24+
* choose a VM from the pool provisioned under the default config.
2525
*
2626
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2727
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
@@ -79,7 +79,7 @@ public final class BoostConfig extends com.google.api.client.json.GenericJson {
7979
private java.lang.Boolean enableNestedVirtualization;
8080

8181
/**
82-
* Required. The id to be used for the boost configuration.
82+
* Required. The ID to be used for the boost configuration.
8383
* The value may be {@code null}.
8484
*/
8585
@com.google.api.client.util.Key
@@ -189,15 +189,15 @@ public BoostConfig setEnableNestedVirtualization(java.lang.Boolean enableNestedV
189189
}
190190

191191
/**
192-
* Required. The id to be used for the boost configuration.
192+
* Required. The ID to be used for the boost configuration.
193193
* @return value or {@code null} for none
194194
*/
195195
public java.lang.String getId() {
196196
return id;
197197
}
198198

199199
/**
200-
* Required. The id to be used for the boost configuration.
200+
* Required. The ID to be used for the boost configuration.
201201
* @param id id or {@code null} for none
202202
*/
203203
public BoostConfig setId(java.lang.String id) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.workstations.v1.model;
18+
19+
/**
20+
* The Compute Engine instance host.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GceInstanceHost extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Output only. The ID of the Compute Engine instance.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String id;
39+
40+
/**
41+
* Optional. Output only. The name of the Compute Engine instance.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* Optional. Output only. The zone of the Compute Engine instance.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String zone;
53+
54+
/**
55+
* Optional. Output only. The ID of the Compute Engine instance.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getId() {
59+
return id;
60+
}
61+
62+
/**
63+
* Optional. Output only. The ID of the Compute Engine instance.
64+
* @param id id or {@code null} for none
65+
*/
66+
public GceInstanceHost setId(java.lang.String id) {
67+
this.id = id;
68+
return this;
69+
}
70+
71+
/**
72+
* Optional. Output only. The name of the Compute Engine instance.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getName() {
76+
return name;
77+
}
78+
79+
/**
80+
* Optional. Output only. The name of the Compute Engine instance.
81+
* @param name name or {@code null} for none
82+
*/
83+
public GceInstanceHost setName(java.lang.String name) {
84+
this.name = name;
85+
return this;
86+
}
87+
88+
/**
89+
* Optional. Output only. The zone of the Compute Engine instance.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getZone() {
93+
return zone;
94+
}
95+
96+
/**
97+
* Optional. Output only. The zone of the Compute Engine instance.
98+
* @param zone zone or {@code null} for none
99+
*/
100+
public GceInstanceHost setZone(java.lang.String zone) {
101+
this.zone = zone;
102+
return this;
103+
}
104+
105+
@Override
106+
public GceInstanceHost set(String fieldName, Object value) {
107+
return (GceInstanceHost) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public GceInstanceHost clone() {
112+
return (GceInstanceHost) super.clone();
113+
}
114+
115+
}

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/PersistentDirectory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.workstations.v1.model;
1818

1919
/**
20-
* A directory to persist across workstation sessions.
20+
* A directory to persist across workstation sessions. Updates to this field will not update
21+
* existing workstations and will only take effect on new workstations.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.workstations.v1.model;
18+
19+
/**
20+
* Runtime host for the workstation.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class RuntimeHost extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Specifies a Compute Engine instance as the host.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GceInstanceHost gceInstanceHost;
39+
40+
/**
41+
* Specifies a Compute Engine instance as the host.
42+
* @return value or {@code null} for none
43+
*/
44+
public GceInstanceHost getGceInstanceHost() {
45+
return gceInstanceHost;
46+
}
47+
48+
/**
49+
* Specifies a Compute Engine instance as the host.
50+
* @param gceInstanceHost gceInstanceHost or {@code null} for none
51+
*/
52+
public RuntimeHost setGceInstanceHost(GceInstanceHost gceInstanceHost) {
53+
this.gceInstanceHost = gceInstanceHost;
54+
return this;
55+
}
56+
57+
@Override
58+
public RuntimeHost set(String fieldName, Object value) {
59+
return (RuntimeHost) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public RuntimeHost clone() {
64+
return (RuntimeHost) super.clone();
65+
}
66+
67+
}

clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/StartWorkstationRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class StartWorkstationRequest extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. If set, the workstation starts using the boost configuration with the specified ID.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String boostConfig;
39+
3340
/**
3441
* Optional. If set, the request will be rejected if the latest version of the workstation on the
3542
* server does not have this ETag.
@@ -45,6 +52,23 @@ public final class StartWorkstationRequest extends com.google.api.client.json.Ge
4552
@com.google.api.client.util.Key
4653
private java.lang.Boolean validateOnly;
4754

55+
/**
56+
* Optional. If set, the workstation starts using the boost configuration with the specified ID.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getBoostConfig() {
60+
return boostConfig;
61+
}
62+
63+
/**
64+
* Optional. If set, the workstation starts using the boost configuration with the specified ID.
65+
* @param boostConfig boostConfig or {@code null} for none
66+
*/
67+
public StartWorkstationRequest setBoostConfig(java.lang.String boostConfig) {
68+
this.boostConfig = boostConfig;
69+
return this;
70+
}
71+
4872
/**
4973
* Optional. If set, the request will be rejected if the latest version of the workstation on the
5074
* server does not have this ETag.

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,21 @@ public final class Workstation extends com.google.api.client.json.GenericJson {
115115
@com.google.api.client.util.Key
116116
private java.lang.Boolean reconciling;
117117

118+
/**
119+
* Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
120+
* The value may be {@code null}.
121+
*/
122+
@com.google.api.client.util.Key
123+
private RuntimeHost runtimeHost;
124+
125+
/**
126+
* Optional. The source workstation from which this workstation's persistent directories were
127+
* cloned on creation.
128+
* The value may be {@code null}.
129+
*/
130+
@com.google.api.client.util.Key
131+
private java.lang.String sourceWorkstation;
132+
118133
/**
119134
* Output only. Time when this workstation was most recently successfully started, regardless of
120135
* the workstation's initial state.
@@ -347,6 +362,42 @@ public Workstation setReconciling(java.lang.Boolean reconciling) {
347362
return this;
348363
}
349364

365+
/**
366+
* Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
367+
* @return value or {@code null} for none
368+
*/
369+
public RuntimeHost getRuntimeHost() {
370+
return runtimeHost;
371+
}
372+
373+
/**
374+
* Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
375+
* @param runtimeHost runtimeHost or {@code null} for none
376+
*/
377+
public Workstation setRuntimeHost(RuntimeHost runtimeHost) {
378+
this.runtimeHost = runtimeHost;
379+
return this;
380+
}
381+
382+
/**
383+
* Optional. The source workstation from which this workstation's persistent directories were
384+
* cloned on creation.
385+
* @return value or {@code null} for none
386+
*/
387+
public java.lang.String getSourceWorkstation() {
388+
return sourceWorkstation;
389+
}
390+
391+
/**
392+
* Optional. The source workstation from which this workstation's persistent directories were
393+
* cloned on creation.
394+
* @param sourceWorkstation sourceWorkstation or {@code null} for none
395+
*/
396+
public Workstation setSourceWorkstation(java.lang.String sourceWorkstation) {
397+
this.sourceWorkstation = sourceWorkstation;
398+
return this;
399+
}
400+
350401
/**
351402
* Output only. Time when this workstation was most recently successfully started, regardless of
352403
* the workstation's initial state.

clients/google-api-services-workstations/v1/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>v1-rev20241202-2.0.0</version>
12-
<name>Cloud Workstations API v1-rev20241202-2.0.0</name>
11+
<version>v1-rev20250101-2.0.0</version>
12+
<name>Cloud Workstations API v1-rev20250101-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workstations/v1/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>v1-rev20241202-2.0.0</version>
25+
<version>v1-rev20250101-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:v1-rev20241202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20250101-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)