Skip to content

Commit cc1187e

Browse files
1 parent a6490a7 commit cc1187e

4 files changed

Lines changed: 81 additions & 6 deletions

File tree

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

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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,29 @@ public final class WorkstationCluster extends com.google.api.client.json.Generic
182182
@com.google.api.client.util.Key
183183
private String updateTime;
184184

185+
/**
186+
* Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
187+
* this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
188+
* containing the target workstation name and original request hostname. The endpoint is
189+
* responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
190+
* original hostname with the token.
191+
* The value may be {@code null}.
192+
*/
193+
@com.google.api.client.util.Key
194+
private java.lang.String workstationAuthorizationUrl;
195+
196+
/**
197+
* Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
198+
* workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
199+
* sent with a `workstation` and `project` query parameter containing the full workstation
200+
* resource name and project ID, respectively. The launch endpoint is responsible for starting the
201+
* workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
202+
* workstation's host URL.
203+
* The value may be {@code null}.
204+
*/
205+
@com.google.api.client.util.Key
206+
private java.lang.String workstationLaunchUrl;
207+
185208
/**
186209
* Optional. Client-specified annotations.
187210
* @return value or {@code null} for none
@@ -529,6 +552,58 @@ public WorkstationCluster setUpdateTime(String updateTime) {
529552
return this;
530553
}
531554

555+
/**
556+
* Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
557+
* this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
558+
* containing the target workstation name and original request hostname. The endpoint is
559+
* responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
560+
* original hostname with the token.
561+
* @return value or {@code null} for none
562+
*/
563+
public java.lang.String getWorkstationAuthorizationUrl() {
564+
return workstationAuthorizationUrl;
565+
}
566+
567+
/**
568+
* Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
569+
* this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
570+
* containing the target workstation name and original request hostname. The endpoint is
571+
* responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
572+
* original hostname with the token.
573+
* @param workstationAuthorizationUrl workstationAuthorizationUrl or {@code null} for none
574+
*/
575+
public WorkstationCluster setWorkstationAuthorizationUrl(java.lang.String workstationAuthorizationUrl) {
576+
this.workstationAuthorizationUrl = workstationAuthorizationUrl;
577+
return this;
578+
}
579+
580+
/**
581+
* Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
582+
* workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
583+
* sent with a `workstation` and `project` query parameter containing the full workstation
584+
* resource name and project ID, respectively. The launch endpoint is responsible for starting the
585+
* workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
586+
* workstation's host URL.
587+
* @return value or {@code null} for none
588+
*/
589+
public java.lang.String getWorkstationLaunchUrl() {
590+
return workstationLaunchUrl;
591+
}
592+
593+
/**
594+
* Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
595+
* workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
596+
* sent with a `workstation` and `project` query parameter containing the full workstation
597+
* resource name and project ID, respectively. The launch endpoint is responsible for starting the
598+
* workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
599+
* workstation's host URL.
600+
* @param workstationLaunchUrl workstationLaunchUrl or {@code null} for none
601+
*/
602+
public WorkstationCluster setWorkstationLaunchUrl(java.lang.String workstationLaunchUrl) {
603+
this.workstationLaunchUrl = workstationLaunchUrl;
604+
return this;
605+
}
606+
532607
@Override
533608
public WorkstationCluster set(String fieldName, Object value) {
534609
return (WorkstationCluster) super.set(fieldName, value);

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

0 commit comments

Comments
 (0)