Skip to content

Commit 250a21a

Browse files
feat(workstations): update the api
#### workstations:v1beta The following keys were added: - schemas.WorkstationConfig.properties.maxUsableWorkstations (Total Keys: 2)
1 parent 910f938 commit 250a21a

5 files changed

+73
-63
lines changed

docs/dyn/workstations_v1.projects.locations.workstationClusters.workstationConfigs.html

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ <h3>Method Details</h3>
131131
The object takes the form of:
132132

133133
{ # A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
134-
&quot;allowedPorts&quot;: [ # Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.
134+
&quot;allowedPorts&quot;: [ # Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
135135
{ # A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
136-
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports.
137-
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports.
136+
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
137+
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
138138
},
139139
],
140140
&quot;annotations&quot;: { # Optional. Client-specified annotations.
@@ -217,7 +217,7 @@ <h3>Method Details</h3>
217217
&quot;tags&quot;: [ # Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
218218
&quot;A String&quot;,
219219
],
220-
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
220+
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
221221
&quot;a_key&quot;: &quot;A String&quot;,
222222
},
223223
},
@@ -338,10 +338,10 @@ <h3>Method Details</h3>
338338
An object of the form:
339339

340340
{ # A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
341-
&quot;allowedPorts&quot;: [ # Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.
341+
&quot;allowedPorts&quot;: [ # Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
342342
{ # A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
343-
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports.
344-
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports.
343+
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
344+
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
345345
},
346346
],
347347
&quot;annotations&quot;: { # Optional. Client-specified annotations.
@@ -424,7 +424,7 @@ <h3>Method Details</h3>
424424
&quot;tags&quot;: [ # Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
425425
&quot;A String&quot;,
426426
],
427-
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
427+
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
428428
&quot;a_key&quot;: &quot;A String&quot;,
429429
},
430430
},
@@ -533,10 +533,10 @@ <h3>Method Details</h3>
533533
],
534534
&quot;workstationConfigs&quot;: [ # The requested configs.
535535
{ # A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
536-
&quot;allowedPorts&quot;: [ # Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.
536+
&quot;allowedPorts&quot;: [ # Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
537537
{ # A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
538-
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports.
539-
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports.
538+
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
539+
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
540540
},
541541
],
542542
&quot;annotations&quot;: { # Optional. Client-specified annotations.
@@ -619,7 +619,7 @@ <h3>Method Details</h3>
619619
&quot;tags&quot;: [ # Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
620620
&quot;A String&quot;,
621621
],
622-
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
622+
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
623623
&quot;a_key&quot;: &quot;A String&quot;,
624624
},
625625
},
@@ -682,10 +682,10 @@ <h3>Method Details</h3>
682682
],
683683
&quot;workstationConfigs&quot;: [ # The requested configs.
684684
{ # A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
685-
&quot;allowedPorts&quot;: [ # Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.
685+
&quot;allowedPorts&quot;: [ # Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
686686
{ # A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
687-
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports.
688-
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports.
687+
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
688+
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
689689
},
690690
],
691691
&quot;annotations&quot;: { # Optional. Client-specified annotations.
@@ -768,7 +768,7 @@ <h3>Method Details</h3>
768768
&quot;tags&quot;: [ # Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
769769
&quot;A String&quot;,
770770
],
771-
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
771+
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
772772
&quot;a_key&quot;: &quot;A String&quot;,
773773
},
774774
},
@@ -846,10 +846,10 @@ <h3>Method Details</h3>
846846
The object takes the form of:
847847

848848
{ # A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.
849-
&quot;allowedPorts&quot;: [ # Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.
849+
&quot;allowedPorts&quot;: [ # Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
850850
{ # A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.
851-
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports.
852-
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports.
851+
&quot;first&quot;: 42, # Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
852+
&quot;last&quot;: 42, # Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
853853
},
854854
],
855855
&quot;annotations&quot;: { # Optional. Client-specified annotations.
@@ -932,7 +932,7 @@ <h3>Method Details</h3>
932932
&quot;tags&quot;: [ # Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
933933
&quot;A String&quot;,
934934
],
935-
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
935+
&quot;vmTags&quot;: { # Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
936936
&quot;a_key&quot;: &quot;A String&quot;,
937937
},
938938
},

0 commit comments

Comments
 (0)