Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-workstations</artifactId>
<version>v1beta-rev20260622-2.0.0</version>
<version>v1beta-rev20260705-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20260622-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20260705-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.workstations.v1beta.model;

/**
* OAuth token.
* Represents an OAuth 2.0 access token and its associated metadata.
*
* <p> 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
Expand All @@ -31,45 +31,54 @@
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
private 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.
* 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}.
*/
@com.google.api.client.util.Key
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() {
return accessToken;
}

/**
* 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) {
Expand All @@ -78,15 +87,15 @@ 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() {
return email;
}

/**
* 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) {
Expand All @@ -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() {
Expand All @@ -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) {
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ 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
private OAuthToken applicationDefaultCredentials;

/**
* 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() {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-workstations</artifactId>
<version>v1beta-rev20260622-2.0.0</version>
<name>Cloud Workstations API v1beta-rev20260622-2.0.0</name>
<version>v1beta-rev20260705-2.0.0</version>
<name>Cloud Workstations API v1beta-rev20260705-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-workstations/v1beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-workstations</artifactId>
<version>v1beta-rev20260622-2.0.0</version>
<version>v1beta-rev20260705-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20260622-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20260705-2.0.0'
}
```

Expand Down
Loading