From 4f0c8e7b08507b22b3b48eb88c9798578e1dfef9 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 9 Jul 2026 18:19:59 -0700
Subject: [PATCH] chore: regenerate workstations client
---
.../v1beta/2.0.0/README.md | 4 +-
.../workstations/v1beta/model/OAuthToken.java | 56 ++++++++++++++-----
.../v1beta/model/PushCredentialsRequest.java | 12 ++--
.../v1beta/2.0.0/pom.xml | 4 +-
.../v1beta/README.md | 4 +-
5 files changed, 55 insertions(+), 25 deletions(-)
diff --git a/clients/google-api-services-workstations/v1beta/2.0.0/README.md b/clients/google-api-services-workstations/v1beta/2.0.0/README.md
index d479dd526e9..a2cd5d42e05 100644
--- a/clients/google-api-services-workstations/v1beta/2.0.0/README.md
+++ b/clients/google-api-services-workstations/v1beta/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Workstations API. For a detailed explanation
@@ -31,14 +31,14 @@
public final class OAuthToken extends com.google.api.client.json.GenericJson {
/**
- * Required. The OAuth token.
+ * Required. The OAuth 2.0 access token value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String accessToken;
/**
- * Optional. The email address encapsulated in the OAuth token.
+ * Optional. The email address associated with the OAuth 2.0 access token.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -46,14 +46,23 @@ public final class OAuthToken extends com.google.api.client.json.GenericJson {
/**
* Optional. The time the OAuth access token will expire. This should be the time the access token
- * was generated plus the expires_in offset returned from the Access Token Response.
+ * was generated plus the expires_in offset returned from the Access Token Response. Only one of
+ * `expire_time` or `expires_in` should be specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String expireTime;
/**
- * Optional. The scopes encapsulated in the OAuth token. See
+ * Optional. The lifetime duration of the access token. Only one of `expire_time` or `expires_in`
+ * should be specified.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String expiresIn;
+
+ /**
+ * Optional. The scopes associated with the OAuth 2.0 access token. See
* https://developers.google.com/identity/protocols/oauth2/scopes for more information.
* The value may be {@code null}.
*/
@@ -61,7 +70,7 @@ public final class OAuthToken extends com.google.api.client.json.GenericJson {
private java.lang.String scopes;
/**
- * Required. The OAuth token.
+ * Required. The OAuth 2.0 access token value.
* @return value or {@code null} for none
*/
public java.lang.String getAccessToken() {
@@ -69,7 +78,7 @@ public java.lang.String getAccessToken() {
}
/**
- * Required. The OAuth token.
+ * Required. The OAuth 2.0 access token value.
* @param accessToken accessToken or {@code null} for none
*/
public OAuthToken setAccessToken(java.lang.String accessToken) {
@@ -78,7 +87,7 @@ public OAuthToken setAccessToken(java.lang.String accessToken) {
}
/**
- * Optional. The email address encapsulated in the OAuth token.
+ * Optional. The email address associated with the OAuth 2.0 access token.
* @return value or {@code null} for none
*/
public java.lang.String getEmail() {
@@ -86,7 +95,7 @@ public java.lang.String getEmail() {
}
/**
- * Optional. The email address encapsulated in the OAuth token.
+ * Optional. The email address associated with the OAuth 2.0 access token.
* @param email email or {@code null} for none
*/
public OAuthToken setEmail(java.lang.String email) {
@@ -96,7 +105,8 @@ public OAuthToken setEmail(java.lang.String email) {
/**
* Optional. The time the OAuth access token will expire. This should be the time the access token
- * was generated plus the expires_in offset returned from the Access Token Response.
+ * was generated plus the expires_in offset returned from the Access Token Response. Only one of
+ * `expire_time` or `expires_in` should be specified.
* @return value or {@code null} for none
*/
public String getExpireTime() {
@@ -105,7 +115,8 @@ public String getExpireTime() {
/**
* Optional. The time the OAuth access token will expire. This should be the time the access token
- * was generated plus the expires_in offset returned from the Access Token Response.
+ * was generated plus the expires_in offset returned from the Access Token Response. Only one of
+ * `expire_time` or `expires_in` should be specified.
* @param expireTime expireTime or {@code null} for none
*/
public OAuthToken setExpireTime(String expireTime) {
@@ -114,7 +125,26 @@ public OAuthToken setExpireTime(String expireTime) {
}
/**
- * Optional. The scopes encapsulated in the OAuth token. See
+ * Optional. The lifetime duration of the access token. Only one of `expire_time` or `expires_in`
+ * should be specified.
+ * @return value or {@code null} for none
+ */
+ public String getExpiresIn() {
+ return expiresIn;
+ }
+
+ /**
+ * Optional. The lifetime duration of the access token. Only one of `expire_time` or `expires_in`
+ * should be specified.
+ * @param expiresIn expiresIn or {@code null} for none
+ */
+ public OAuthToken setExpiresIn(String expiresIn) {
+ this.expiresIn = expiresIn;
+ return this;
+ }
+
+ /**
+ * Optional. The scopes associated with the OAuth 2.0 access token. See
* https://developers.google.com/identity/protocols/oauth2/scopes for more information.
* @return value or {@code null} for none
*/
@@ -123,7 +153,7 @@ public java.lang.String getScopes() {
}
/**
- * Optional. The scopes encapsulated in the OAuth token. See
+ * Optional. The scopes associated with the OAuth 2.0 access token. See
* https://developers.google.com/identity/protocols/oauth2/scopes for more information.
* @param scopes scopes or {@code null} for none
*/
diff --git a/clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/PushCredentialsRequest.java b/clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/PushCredentialsRequest.java
index 084e29dc8e3..1e63560bd67 100644
--- a/clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/PushCredentialsRequest.java
+++ b/clients/google-api-services-workstations/v1beta/2.0.0/com/google/api/services/workstations/v1beta/model/PushCredentialsRequest.java
@@ -32,8 +32,8 @@ public final class PushCredentialsRequest extends com.google.api.client.json.Gen
/**
* Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other
- * tooling within the user conainer: https://cloud.google.com/docs/authentication/application-
- * default-credentials
+ * tooling within the user container. For more information, see
+ * https://cloud.google.com/docs/authentication/application-default-credentials
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -41,8 +41,8 @@ public final class PushCredentialsRequest extends com.google.api.client.json.Gen
/**
* Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other
- * tooling within the user conainer: https://cloud.google.com/docs/authentication/application-
- * default-credentials
+ * tooling within the user container. For more information, see
+ * https://cloud.google.com/docs/authentication/application-default-credentials
* @return value or {@code null} for none
*/
public OAuthToken getApplicationDefaultCredentials() {
@@ -51,8 +51,8 @@ public OAuthToken getApplicationDefaultCredentials() {
/**
* Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other
- * tooling within the user conainer: https://cloud.google.com/docs/authentication/application-
- * default-credentials
+ * tooling within the user container. For more information, see
+ * https://cloud.google.com/docs/authentication/application-default-credentials
* @param applicationDefaultCredentials applicationDefaultCredentials or {@code null} for none
*/
public PushCredentialsRequest setApplicationDefaultCredentials(OAuthToken applicationDefaultCredentials) {
diff --git a/clients/google-api-services-workstations/v1beta/2.0.0/pom.xml b/clients/google-api-services-workstations/v1beta/2.0.0/pom.xml
index 995b3b6d7e5..1e8b33ab576 100644
--- a/clients/google-api-services-workstations/v1beta/2.0.0/pom.xml
+++ b/clients/google-api-services-workstations/v1beta/2.0.0/pom.xml
@@ -8,8 +8,8 @@