Skip to content

Commit

Permalink
chore: regenerate workstations client (#24130)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Dec 8, 2024
1 parent 6aae308 commit 306e2cb
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 34 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-workstations/v1/2.0.0/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>v1-rev20241009-2.0.0</version>
<version>v1-rev20241202-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-workstations:v1-rev20241009-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1-rev20241202-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public class Operations {
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
* methods to check whether the cancellation succeeded or whether the operation completed despite
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`.
*
* Create a request for the method "operations.cancel".
Expand Down Expand Up @@ -571,7 +571,7 @@ public class Cancel extends CloudWorkstationsRequest<com.google.api.services.wor
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
* methods to check whether the cancellation succeeded or whether the operation completed despite
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`.
*
* Create a request for the method "operations.cancel".
Expand Down Expand Up @@ -3963,7 +3963,8 @@ public Delete set(String parameterName, Object value) {
}
/**
* Returns a short-lived credential that can be used to send authenticated and authorized traffic to
* a workstation.
* a workstation. Once generated this token cannot be revoked and is good for the lifetime of the
* token.
*
* Create a request for the method "workstations.generateAccessToken".
*
Expand All @@ -3989,7 +3990,8 @@ public class GenerateAccessToken extends CloudWorkstationsRequest<com.google.api

/**
* Returns a short-lived credential that can be used to send authenticated and authorized traffic
* to a workstation.
* to a workstation. Once generated this token cannot be revoked and is good for the lifetime of
* the token.
*
* Create a request for the method "workstations.generateAccessToken".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
package com.google.api.services.workstations.v1.model;

/**
* A configuration that workstations can boost to.
* A boost configuration is a set of resources that a workstation can use to increase its
* performance. If a boost configuration is specified, when starting a workstation, users can choose
* to use a VM provisioned under the boost config by passing the boost config id in the start
* request. If no boost config id is provided in the start request, the system will choose a VM from
* the pool provisioned under the default config.
*
* <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 Down Expand Up @@ -75,7 +79,7 @@ public final class BoostConfig extends com.google.api.client.json.GenericJson {
private java.lang.Boolean enableNestedVirtualization;

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -185,15 +189,15 @@ public BoostConfig setEnableNestedVirtualization(java.lang.Boolean enableNestedV
}

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* @param id id or {@code null} for none
*/
public BoostConfig setId(java.lang.String id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -208,7 +209,8 @@ public GceInstance setAccelerators(java.util.List<Accelerator> accelerators) {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* @return value or {@code null} for none
*/
public java.util.List<BoostConfig> getBoostConfigs() {
Expand All @@ -217,7 +219,8 @@ public java.util.List<BoostConfig> getBoostConfigs() {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* @param boostConfigs boostConfigs or {@code null} for none
*/
public GceInstance setBoostConfigs(java.util.List<BoostConfig> boostConfigs) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-workstations/v1/2.0.0/pom.xml
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>v1-rev20241009-2.0.0</version>
<name>Cloud Workstations API v1-rev20241009-2.0.0</name>
<version>v1-rev20241202-2.0.0</version>
<name>Cloud Workstations API v1-rev20241202-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-workstations/v1/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>v1-rev20241009-2.0.0</version>
<version>v1-rev20241202-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-workstations:v1-rev20241009-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1-rev20241202-2.0.0'
}
```

Expand Down
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-rev20241009-2.0.0</version>
<version>v1beta-rev20241202-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-rev20241009-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20241202-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public class Operations {
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
* methods to check whether the cancellation succeeded or whether the operation completed despite
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`.
*
* Create a request for the method "operations.cancel".
Expand Down Expand Up @@ -230,7 +230,7 @@ public class Cancel extends CloudWorkstationsRequest<com.google.api.services.wor
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
* methods to check whether the cancellation succeeded or whether the operation completed despite
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`.
*
* Create a request for the method "operations.cancel".
Expand Down Expand Up @@ -3622,7 +3622,8 @@ public Delete set(String parameterName, Object value) {
}
/**
* Returns a short-lived credential that can be used to send authenticated and authorized traffic to
* a workstation.
* a workstation. Once generated this token cannot be revoked and is good for the lifetime of the
* token.
*
* Create a request for the method "workstations.generateAccessToken".
*
Expand All @@ -3648,7 +3649,8 @@ public class GenerateAccessToken extends CloudWorkstationsRequest<com.google.api

/**
* Returns a short-lived credential that can be used to send authenticated and authorized traffic
* to a workstation.
* to a workstation. Once generated this token cannot be revoked and is good for the lifetime of
* the token.
*
* Create a request for the method "workstations.generateAccessToken".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
package com.google.api.services.workstations.v1beta.model;

/**
* A configuration that workstations can boost to.
* A boost configuration is a set of resources that a workstation can use to increase its
* performance. If a boost configuration is specified, when starting a workstation, users can choose
* to use a VM provisioned under the boost config by passing the boost config id in the start
* request. If no boost config id is provided in the start request, the system will choose a VM from
* the pool provisioned under the default config.
*
* <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 Down Expand Up @@ -75,7 +79,7 @@ public final class BoostConfig extends com.google.api.client.json.GenericJson {
private java.lang.Boolean enableNestedVirtualization;

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -185,15 +189,15 @@ public BoostConfig setEnableNestedVirtualization(java.lang.Boolean enableNestedV
}

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}

/**
* Optional. Required. The id to be used for the boost configuration.
* Required. The id to be used for the boost configuration.
* @param id id or {@code null} for none
*/
public BoostConfig setId(java.lang.String id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public final class GceInstance extends com.google.api.client.json.GenericJson {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -208,7 +209,8 @@ public GceInstance setAccelerators(java.util.List<Accelerator> accelerators) {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* @return value or {@code null} for none
*/
public java.util.List<BoostConfig> getBoostConfigs() {
Expand All @@ -217,7 +219,8 @@ public java.util.List<BoostConfig> getBoostConfigs() {

/**
* Optional. A list of the boost configurations that workstations created using this workstation
* configuration are allowed to use.
* configuration are allowed to use. If specified, users will have the option to choose from the
* list of boost configs when starting a workstation.
* @param boostConfigs boostConfigs or {@code null} for none
*/
public GceInstance setBoostConfigs(java.util.List<BoostConfig> boostConfigs) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-workstations/v1beta/2.0.0/pom.xml
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-rev20241009-2.0.0</version>
<name>Cloud Workstations API v1beta-rev20241009-2.0.0</name>
<version>v1beta-rev20241202-2.0.0</version>
<name>Cloud Workstations API v1beta-rev20241202-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-rev20241009-2.0.0</version>
<version>v1beta-rev20241202-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-rev20241009-2.0.0'
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20241202-2.0.0'
}
```

Expand Down

0 comments on commit 306e2cb

Please sign in to comment.