Skip to content

Commit f6e451f

Browse files
1 parent 09c02c1 commit f6e451f

File tree

10 files changed

+246
-18
lines changed

10 files changed

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,22 +445,22 @@ public List setName(java.lang.String name) {
445445
}
446446

447447
/**
448-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which
449-
* is primarily intended for internal usage.
448+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
449+
* documented otherwise. This is primarily for internal usage.
450450
*/
451451
@com.google.api.client.util.Key
452452
private java.util.List<java.lang.String> extraLocationTypes;
453453

454-
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is
455-
primarily intended for internal usage.
454+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
455+
otherwise. This is primarily for internal usage.
456456
*/
457457
public java.util.List<java.lang.String> getExtraLocationTypes() {
458458
return extraLocationTypes;
459459
}
460460

461461
/**
462-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which
463-
* is primarily intended for internal usage.
462+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
463+
* documented otherwise. This is primarily for internal usage.
464464
*/
465465
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
466466
this.extraLocationTypes = extraLocationTypes;

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-rev20250929-2.0.0</version>
12-
<name>Cloud Workstations API v1-rev20250929-2.0.0</name>
11+
<version>v1-rev20251022-2.0.0</version>
12+
<name>Cloud Workstations API v1-rev20251022-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-rev20250929-2.0.0</version>
25+
<version>v1-rev20251022-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-rev20250929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20251022-2.0.0'
3939
}
4040
```
4141

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
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.v1beta.model;
18+
19+
/**
20+
* A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High Availability Disk. This
21+
* is a high-availability block storage solution that offers a balance between performance and cost
22+
* for most general-purpose workloads.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
26+
* see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GceHyperdiskBalancedHighAvailability extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
37+
* workstation before converting its disk into a snapshot. This generally saves costs at the
38+
* expense of greater startup time on next workstation start, as the service will need to create a
39+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
40+
* archived.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String archiveTimeout;
45+
46+
/**
47+
* Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid
48+
* values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String reclaimPolicy;
53+
54+
/**
55+
* Optional. The GB capacity of a persistent home directory for each workstation created with this
56+
* configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`,
57+
* `200`, `500`, or `1000`. Defaults to `200`.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.Integer sizeGb;
62+
63+
/**
64+
* Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be
65+
* empty. Must be formatted as ext4 file system with no partitions.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String sourceSnapshot;
70+
71+
/**
72+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
73+
* workstation before converting its disk into a snapshot. This generally saves costs at the
74+
* expense of greater startup time on next workstation start, as the service will need to create a
75+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
76+
* archived.
77+
* @return value or {@code null} for none
78+
*/
79+
public String getArchiveTimeout() {
80+
return archiveTimeout;
81+
}
82+
83+
/**
84+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
85+
* workstation before converting its disk into a snapshot. This generally saves costs at the
86+
* expense of greater startup time on next workstation start, as the service will need to create a
87+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
88+
* archived.
89+
* @param archiveTimeout archiveTimeout or {@code null} for none
90+
*/
91+
public GceHyperdiskBalancedHighAvailability setArchiveTimeout(String archiveTimeout) {
92+
this.archiveTimeout = archiveTimeout;
93+
return this;
94+
}
95+
96+
/**
97+
* Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid
98+
* values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getReclaimPolicy() {
102+
return reclaimPolicy;
103+
}
104+
105+
/**
106+
* Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid
107+
* values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
108+
* @param reclaimPolicy reclaimPolicy or {@code null} for none
109+
*/
110+
public GceHyperdiskBalancedHighAvailability setReclaimPolicy(java.lang.String reclaimPolicy) {
111+
this.reclaimPolicy = reclaimPolicy;
112+
return this;
113+
}
114+
115+
/**
116+
* Optional. The GB capacity of a persistent home directory for each workstation created with this
117+
* configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`,
118+
* `200`, `500`, or `1000`. Defaults to `200`.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.Integer getSizeGb() {
122+
return sizeGb;
123+
}
124+
125+
/**
126+
* Optional. The GB capacity of a persistent home directory for each workstation created with this
127+
* configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`,
128+
* `200`, `500`, or `1000`. Defaults to `200`.
129+
* @param sizeGb sizeGb or {@code null} for none
130+
*/
131+
public GceHyperdiskBalancedHighAvailability setSizeGb(java.lang.Integer sizeGb) {
132+
this.sizeGb = sizeGb;
133+
return this;
134+
}
135+
136+
/**
137+
* Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be
138+
* empty. Must be formatted as ext4 file system with no partitions.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getSourceSnapshot() {
142+
return sourceSnapshot;
143+
}
144+
145+
/**
146+
* Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be
147+
* empty. Must be formatted as ext4 file system with no partitions.
148+
* @param sourceSnapshot sourceSnapshot or {@code null} for none
149+
*/
150+
public GceHyperdiskBalancedHighAvailability setSourceSnapshot(java.lang.String sourceSnapshot) {
151+
this.sourceSnapshot = sourceSnapshot;
152+
return this;
153+
}
154+
155+
@Override
156+
public GceHyperdiskBalancedHighAvailability set(String fieldName, Object value) {
157+
return (GceHyperdiskBalancedHighAvailability) super.set(fieldName, value);
158+
}
159+
160+
@Override
161+
public GceHyperdiskBalancedHighAvailability clone() {
162+
return (GceHyperdiskBalancedHighAvailability) super.clone();
163+
}
164+
165+
}

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,18 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {
186186
@com.google.api.client.util.Key
187187
private GceShieldedInstanceConfig shieldedInstanceConfig;
188188

189+
/**
190+
* Optional. Link to the startup script stored in Cloud Storage. This script will be run on the
191+
* host workstation VM when the VM is created. The uri must be of the form gs://{bucket-
192+
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
193+
* to access the bucket and script file in Cloud
194+
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
195+
* script must be publicly accessible.
196+
* The value may be {@code null}.
197+
*/
198+
@com.google.api.client.util.Key
199+
private java.lang.String startupScriptUri;
200+
189201
/**
190202
* Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option
191203
* applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs
@@ -536,6 +548,33 @@ public GceInstance setShieldedInstanceConfig(GceShieldedInstanceConfig shieldedI
536548
return this;
537549
}
538550

551+
/**
552+
* Optional. Link to the startup script stored in Cloud Storage. This script will be run on the
553+
* host workstation VM when the VM is created. The uri must be of the form gs://{bucket-
554+
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
555+
* to access the bucket and script file in Cloud
556+
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
557+
* script must be publicly accessible.
558+
* @return value or {@code null} for none
559+
*/
560+
public java.lang.String getStartupScriptUri() {
561+
return startupScriptUri;
562+
}
563+
564+
/**
565+
* Optional. Link to the startup script stored in Cloud Storage. This script will be run on the
566+
* host workstation VM when the VM is created. The uri must be of the form gs://{bucket-
567+
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
568+
* to access the bucket and script file in Cloud
569+
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
570+
* script must be publicly accessible.
571+
* @param startupScriptUri startupScriptUri or {@code null} for none
572+
*/
573+
public GceInstance setStartupScriptUri(java.lang.String startupScriptUri) {
574+
this.startupScriptUri = startupScriptUri;
575+
return this;
576+
}
577+
539578
/**
540579
* Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option
541580
* applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs

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

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

34+
/**
35+
* A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GceHyperdiskBalancedHighAvailability gceHd;
40+
3441
/**
3542
* A PersistentDirectory backed by a Compute Engine persistent disk.
3643
* The value may be {@code null}.
@@ -45,6 +52,23 @@ public final class PersistentDirectory extends com.google.api.client.json.Generi
4552
@com.google.api.client.util.Key
4653
private java.lang.String mountPath;
4754

55+
/**
56+
* A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk.
57+
* @return value or {@code null} for none
58+
*/
59+
public GceHyperdiskBalancedHighAvailability getGceHd() {
60+
return gceHd;
61+
}
62+
63+
/**
64+
* A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk.
65+
* @param gceHd gceHd or {@code null} for none
66+
*/
67+
public PersistentDirectory setGceHd(GceHyperdiskBalancedHighAvailability gceHd) {
68+
this.gceHd = gceHd;
69+
return this;
70+
}
71+
4872
/**
4973
* A PersistentDirectory backed by a Compute Engine persistent disk.
5074
* @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-rev20250929-2.0.0</version>
12-
<name>Cloud Workstations API v1beta-rev20250929-2.0.0</name>
11+
<version>v1beta-rev20251022-2.0.0</version>
12+
<name>Cloud Workstations API v1beta-rev20251022-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-rev20250929-2.0.0</version>
25+
<version>v1beta-rev20251022-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-rev20250929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20251022-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)