@@ -202,6 +202,19 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
202
202
@ com .google .api .client .util .Key
203
203
private java .util .Map <String , java .lang .String > labels ;
204
204
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
+
205
218
/**
206
219
* Identifier. Full name of this workstation configuration.
207
220
* The value may be {@code null}.
@@ -649,6 +662,35 @@ public WorkstationConfig setLabels(java.util.Map<String, java.lang.String> label
649
662
return this ;
650
663
}
651
664
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
+
652
694
/**
653
695
* Identifier. Full name of this workstation configuration.
654
696
* @return value or {@code null} for none
0 commit comments