Skip to content

Commit 4d82b37

Browse files
chore: regenerate workstations client
1 parent 5ec85f7 commit 4d82b37

File tree

10 files changed

+98
-32
lines changed

10 files changed

+98
-32
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-rev20251202-2.0.0</version>
25+
<version>v1-rev20260126-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-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1-rev20260126-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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service.
315+
* Lists information about the supported locations for this service. This method can be called in
316+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+
* public locations as well as private or other locations specifically visible to the project.
316319
*
317320
* Create a request for the method "locations.list".
318321
*
@@ -336,7 +339,10 @@ public class List extends CloudWorkstationsRequest<com.google.api.services.works
336339
java.util.regex.Pattern.compile("^projects/[^/]+$");
337340

338341
/**
339-
* Lists information about the supported locations for this service.
342+
* Lists information about the supported locations for this service. This method can be called in
343+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+
* public locations as well as private or other locations specifically visible to the project.
340346
*
341347
* Create a request for the method "locations.list".
342348
*

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

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {
113113
@com.google.api.client.util.Key
114114
private java.lang.Boolean enableNestedVirtualization;
115115

116+
/**
117+
* Optional. Custom metadata to apply to Compute Engine instances.
118+
* The value may be {@code null}.
119+
*/
120+
@com.google.api.client.util.Key
121+
private java.util.Map<String, java.lang.String> instanceMetadata;
122+
116123
/**
117124
* Optional. The type of machine to use for VM instances—for example, `"e2-standard-4"`. For more
118125
* information about machine types that Cloud Workstations supports, see the list of [available
@@ -176,9 +183,9 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {
176183
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
177184
* to access the bucket and script file in Cloud
178185
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
179-
* script must be publicly accessible. Note that the service regularly updates the OS version
180-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
181-
* OS version.
186+
* script must be publicly accessible. Note that the service regularly updates the OS version of
187+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
188+
* with the OS version.
182189
* The value may be {@code null}.
183190
*/
184191
@com.google.api.client.util.Key
@@ -367,6 +374,23 @@ public GceInstance setEnableNestedVirtualization(java.lang.Boolean enableNestedV
367374
return this;
368375
}
369376

377+
/**
378+
* Optional. Custom metadata to apply to Compute Engine instances.
379+
* @return value or {@code null} for none
380+
*/
381+
public java.util.Map<String, java.lang.String> getInstanceMetadata() {
382+
return instanceMetadata;
383+
}
384+
385+
/**
386+
* Optional. Custom metadata to apply to Compute Engine instances.
387+
* @param instanceMetadata instanceMetadata or {@code null} for none
388+
*/
389+
public GceInstance setInstanceMetadata(java.util.Map<String, java.lang.String> instanceMetadata) {
390+
this.instanceMetadata = instanceMetadata;
391+
return this;
392+
}
393+
370394
/**
371395
* Optional. The type of machine to use for VM instances—for example, `"e2-standard-4"`. For more
372396
* information about machine types that Cloud Workstations supports, see the list of [available
@@ -505,9 +529,9 @@ public GceInstance setShieldedInstanceConfig(GceShieldedInstanceConfig shieldedI
505529
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
506530
* to access the bucket and script file in Cloud
507531
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
508-
* script must be publicly accessible. Note that the service regularly updates the OS version
509-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
510-
* OS version.
532+
* script must be publicly accessible. Note that the service regularly updates the OS version of
533+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
534+
* with the OS version.
511535
* @return value or {@code null} for none
512536
*/
513537
public java.lang.String getStartupScriptUri() {
@@ -520,9 +544,9 @@ public java.lang.String getStartupScriptUri() {
520544
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
521545
* to access the bucket and script file in Cloud
522546
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
523-
* script must be publicly accessible. Note that the service regularly updates the OS version
524-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
525-
* OS version.
547+
* script must be publicly accessible. Note that the service regularly updates the OS version of
548+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
549+
* with the OS version.
526550
* @param startupScriptUri startupScriptUri or {@code null} for none
527551
*/
528552
public GceInstance setStartupScriptUri(java.lang.String startupScriptUri) {

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

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {
199199
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
200200
* to access the bucket and script file in Cloud
201201
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
202-
* script must be publicly accessible. Note that the service regularly updates the OS version
203-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
204-
* OS version.
202+
* script must be publicly accessible. Note that the service regularly updates the OS version of
203+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
204+
* with the OS version.
205205
* The value may be {@code null}.
206206
*/
207207
@com.google.api.client.util.Key
@@ -580,9 +580,9 @@ public GceInstance setShieldedInstanceConfig(GceShieldedInstanceConfig shieldedI
580580
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
581581
* to access the bucket and script file in Cloud
582582
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
583-
* script must be publicly accessible. Note that the service regularly updates the OS version
584-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
585-
* OS version.
583+
* script must be publicly accessible. Note that the service regularly updates the OS version of
584+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
585+
* with the OS version.
586586
* @return value or {@code null} for none
587587
*/
588588
public java.lang.String getStartupScriptUri() {
@@ -595,9 +595,9 @@ public java.lang.String getStartupScriptUri() {
595595
* name}/{object-name}. If specifying a startup script, the service account must have [Permission
596596
* to access the bucket and script file in Cloud
597597
* Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
598-
* script must be publicly accessible. Note that the service regularly updates the OS version
599-
* used, and it is the responsibility of the user to ensure the script stays compatible with the
600-
* OS version.
598+
* script must be publicly accessible. Note that the service regularly updates the OS version of
599+
* the host VM, and it is the responsibility of the user to ensure the script stays compatible
600+
* with the OS version.
601601
* @param startupScriptUri startupScriptUri or {@code null} for none
602602
*/
603603
public GceInstance setStartupScriptUri(java.lang.String startupScriptUri) {

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@
3535
@SuppressWarnings("javadoc")
3636
public final class GceRegionalPersistentDisk extends com.google.api.client.json.GenericJson {
3737

38+
/**
39+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
40+
* workstation before converting its disk into a snapshot. This generally saves costs at the
41+
* expense of greater startup time on next workstation start, as the service will need to create a
42+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
43+
* archived.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private String archiveTimeout;
48+
3849
/**
3950
* Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-
4051
* types) for the home directory. Defaults to `"pd-standard"`.
@@ -78,6 +89,31 @@ public final class GceRegionalPersistentDisk extends com.google.api.client.json.
7889
@com.google.api.client.util.Key
7990
private java.lang.String sourceSnapshot;
8091

92+
/**
93+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
94+
* workstation before converting its disk into a snapshot. This generally saves costs at the
95+
* expense of greater startup time on next workstation start, as the service will need to create a
96+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
97+
* archived.
98+
* @return value or {@code null} for none
99+
*/
100+
public String getArchiveTimeout() {
101+
return archiveTimeout;
102+
}
103+
104+
/**
105+
* Optional. Number of seconds to wait after initially creating or subsequently shutting down the
106+
* workstation before converting its disk into a snapshot. This generally saves costs at the
107+
* expense of greater startup time on next workstation start, as the service will need to create a
108+
* disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be
109+
* archived.
110+
* @param archiveTimeout archiveTimeout or {@code null} for none
111+
*/
112+
public GceRegionalPersistentDisk setArchiveTimeout(String archiveTimeout) {
113+
this.archiveTimeout = archiveTimeout;
114+
return this;
115+
}
116+
81117
/**
82118
* Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-
83119
* types) for the home directory. Defaults to `"pd-standard"`.

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

0 commit comments

Comments
 (0)