Skip to content

Commit add1c05

Browse files
1 parent e9ad43e commit add1c05

File tree

8 files changed

+120
-12
lines changed

8 files changed

+120
-12
lines changed

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

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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,16 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
167167
@com.google.api.client.util.Key
168168
private java.lang.String etag;
169169

170+
/**
171+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
172+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
173+
* users to share access to either their entire workstation, or individual ports. Defaults to
174+
* false.
175+
* The value may be {@code null}.
176+
*/
177+
@com.google.api.client.util.Key
178+
private java.lang.Boolean grantWorkstationAdminRoleOnCreate;
179+
170180
/**
171181
* Optional. Runtime host for the workstation.
172182
* The value may be {@code null}.
@@ -195,6 +205,19 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
195205
@com.google.api.client.util.Key
196206
private java.util.Map<String, java.lang.String> labels;
197207

208+
/**
209+
* Optional. Maximum number of workstations under this config a user can have
210+
* `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on
211+
* the user issuing the API request. Can be overridden by: - granting a user
212+
* workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user
213+
* with that permission create a workstation and granting another user
214+
* `workstations.workstation.use` permission on that workstation. If not specified defaults to 0
215+
* which indicates unlimited.
216+
* The value may be {@code null}.
217+
*/
218+
@com.google.api.client.util.Key
219+
private java.lang.Integer maxUsableWorkstations;
220+
198221
/**
199222
* Identifier. Full name of this workstation configuration.
200223
* The value may be {@code null}.
@@ -546,6 +569,29 @@ public WorkstationConfig setEtag(java.lang.String etag) {
546569
return this;
547570
}
548571

572+
/**
573+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
574+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
575+
* users to share access to either their entire workstation, or individual ports. Defaults to
576+
* false.
577+
* @return value or {@code null} for none
578+
*/
579+
public java.lang.Boolean getGrantWorkstationAdminRoleOnCreate() {
580+
return grantWorkstationAdminRoleOnCreate;
581+
}
582+
583+
/**
584+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
585+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
586+
* users to share access to either their entire workstation, or individual ports. Defaults to
587+
* false.
588+
* @param grantWorkstationAdminRoleOnCreate grantWorkstationAdminRoleOnCreate or {@code null} for none
589+
*/
590+
public WorkstationConfig setGrantWorkstationAdminRoleOnCreate(java.lang.Boolean grantWorkstationAdminRoleOnCreate) {
591+
this.grantWorkstationAdminRoleOnCreate = grantWorkstationAdminRoleOnCreate;
592+
return this;
593+
}
594+
549595
/**
550596
* Optional. Runtime host for the workstation.
551597
* @return value or {@code null} for none
@@ -611,6 +657,35 @@ public WorkstationConfig setLabels(java.util.Map<String, java.lang.String> label
611657
return this;
612658
}
613659

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

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

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-rev20240803-2.0.0</version>
25+
<version>v1beta-rev20240820-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-rev20240803-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20240820-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: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,16 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
167167
@com.google.api.client.util.Key
168168
private java.lang.String etag;
169169

170+
/**
171+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
172+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
173+
* users to share access to either their entire workstation, or individual ports. Defaults to
174+
* false.
175+
* The value may be {@code null}.
176+
*/
177+
@com.google.api.client.util.Key
178+
private java.lang.Boolean grantWorkstationAdminRoleOnCreate;
179+
170180
/**
171181
* Optional. Runtime host for the workstation.
172182
* The value may be {@code null}.
@@ -580,6 +590,29 @@ public WorkstationConfig setEtag(java.lang.String etag) {
580590
return this;
581591
}
582592

593+
/**
594+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
595+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
596+
* users to share access to either their entire workstation, or individual ports. Defaults to
597+
* false.
598+
* @return value or {@code null} for none
599+
*/
600+
public java.lang.Boolean getGrantWorkstationAdminRoleOnCreate() {
601+
return grantWorkstationAdminRoleOnCreate;
602+
}
603+
604+
/**
605+
* Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with
606+
* `roles/workstations.user` role on the workstation created by them. This allows workstation
607+
* users to share access to either their entire workstation, or individual ports. Defaults to
608+
* false.
609+
* @param grantWorkstationAdminRoleOnCreate grantWorkstationAdminRoleOnCreate or {@code null} for none
610+
*/
611+
public WorkstationConfig setGrantWorkstationAdminRoleOnCreate(java.lang.Boolean grantWorkstationAdminRoleOnCreate) {
612+
this.grantWorkstationAdminRoleOnCreate = grantWorkstationAdminRoleOnCreate;
613+
return this;
614+
}
615+
583616
/**
584617
* Optional. Runtime host for the workstation.
585618
* @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-rev20240803-2.0.0</version>
12-
<name>Cloud Workstations API v1beta-rev20240803-2.0.0</name>
11+
<version>v1beta-rev20240820-2.0.0</version>
12+
<name>Cloud Workstations API v1beta-rev20240820-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-rev20240803-2.0.0</version>
25+
<version>v1beta-rev20240820-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-rev20240803-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workstations:v1beta-rev20240820-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)