Skip to content

Commit a15cdff

Browse files
1 parent f48391d commit a15cdff

File tree

4 files changed

+48
-6
lines changed

4 files changed

+48
-6
lines changed

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

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,19 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
202202
@com.google.api.client.util.Key
203203
private java.util.Map<String, java.lang.String> labels;
204204

205+
/**
206+
* Optional. Maximum number of workstations under this config a user can have
207+
* `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on
208+
* the user issuing the API request. Can be overridden by: - granting a user
209+
* workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user
210+
* with that permission create a workstation and granting another user
211+
* `workstations.workstation.use` permission on that workstation. If not specified defaults to 0
212+
* which indicates unlimited.
213+
* The value may be {@code null}.
214+
*/
215+
@com.google.api.client.util.Key
216+
private java.lang.Integer maxUsableWorkstations;
217+
205218
/**
206219
* Identifier. Full name of this workstation configuration.
207220
* The value may be {@code null}.
@@ -649,6 +662,35 @@ public WorkstationConfig setLabels(java.util.Map<String, java.lang.String> label
649662
return this;
650663
}
651664

665+
/**
666+
* Optional. Maximum number of workstations under this config a user can have
667+
* `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on
668+
* the user issuing the API request. Can be overridden by: - granting a user
669+
* workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user
670+
* with that permission create a workstation and granting another user
671+
* `workstations.workstation.use` permission on that workstation. If not specified defaults to 0
672+
* which indicates unlimited.
673+
* @return value or {@code null} for none
674+
*/
675+
public java.lang.Integer getMaxUsableWorkstations() {
676+
return maxUsableWorkstations;
677+
}
678+
679+
/**
680+
* Optional. Maximum number of workstations under this config a user can have
681+
* `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on
682+
* the user issuing the API request. Can be overridden by: - granting a user
683+
* workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user
684+
* with that permission create a workstation and granting another user
685+
* `workstations.workstation.use` permission on that workstation. If not specified defaults to 0
686+
* which indicates unlimited.
687+
* @param maxUsableWorkstations maxUsableWorkstations or {@code null} for none
688+
*/
689+
public WorkstationConfig setMaxUsableWorkstations(java.lang.Integer maxUsableWorkstations) {
690+
this.maxUsableWorkstations = maxUsableWorkstations;
691+
return this;
692+
}
693+
652694
/**
653695
* Identifier. Full name of this workstation configuration.
654696
* @return value or {@code null} for none

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

0 commit comments

Comments
 (0)