Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65d15a7

Browse files
committedJun 27, 2023
feat(workstations): update the api
#### workstations:v1beta The following keys were added: - schemas.GceInstance.properties.enableNestedVirtualization.type (Total Keys: 1)
1 parent 4f633f1 commit 65d15a7

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed
 

‎docs/dyn/workstations_v1beta.projects.locations.workstationClusters.workstationConfigs.html

+15-10
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ <h3>Method Details</h3>
155155
&quot;env&quot;: { # Environment variables passed to the container&#x27;s entrypoint.
156156
&quot;a_key&quot;: &quot;A String&quot;,
157157
},
158-
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s
158+
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
159159
&quot;runAsUser&quot;: 42, # If set, overrides the USER specified in the image with the given uid.
160160
&quot;workingDir&quot;: &quot;A String&quot;, # If set, overrides the default DIR specified by the image.
161161
},
162162
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was created.
163-
&quot;degraded&quot;: True or False, # Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.
163+
&quot;degraded&quot;: True or False, # Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.
164164
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was soft-deleted.
165165
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable name for this resource.
166166
&quot;enableAuditAgent&quot;: True or False, # Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
@@ -182,6 +182,7 @@ <h3>Method Details</h3>
182182
&quot;enableConfidentialCompute&quot;: True or False, # Whether the instance has confidential compute enabled.
183183
},
184184
&quot;disablePublicIpAddresses&quot;: True or False, # When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
185+
&quot;enableNestedVirtualization&quot;: True or False, # Whether to enable nested virtualization on instances.
185186
&quot;machineType&quot;: &quot;A String&quot;, # The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
186187
&quot;poolSize&quot;: 42, # The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
187188
&quot;pooledInstances&quot;: 42, # Output only. Number of instances currently available in the pool for faster workstation startup.
@@ -333,12 +334,12 @@ <h3>Method Details</h3>
333334
&quot;env&quot;: { # Environment variables passed to the container&#x27;s entrypoint.
334335
&quot;a_key&quot;: &quot;A String&quot;,
335336
},
336-
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s
337+
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
337338
&quot;runAsUser&quot;: 42, # If set, overrides the USER specified in the image with the given uid.
338339
&quot;workingDir&quot;: &quot;A String&quot;, # If set, overrides the default DIR specified by the image.
339340
},
340341
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was created.
341-
&quot;degraded&quot;: True or False, # Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.
342+
&quot;degraded&quot;: True or False, # Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.
342343
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was soft-deleted.
343344
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable name for this resource.
344345
&quot;enableAuditAgent&quot;: True or False, # Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
@@ -360,6 +361,7 @@ <h3>Method Details</h3>
360361
&quot;enableConfidentialCompute&quot;: True or False, # Whether the instance has confidential compute enabled.
361362
},
362363
&quot;disablePublicIpAddresses&quot;: True or False, # When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
364+
&quot;enableNestedVirtualization&quot;: True or False, # Whether to enable nested virtualization on instances.
363365
&quot;machineType&quot;: &quot;A String&quot;, # The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
364366
&quot;poolSize&quot;: 42, # The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
365367
&quot;pooledInstances&quot;: 42, # Output only. Number of instances currently available in the pool for faster workstation startup.
@@ -499,12 +501,12 @@ <h3>Method Details</h3>
499501
&quot;env&quot;: { # Environment variables passed to the container&#x27;s entrypoint.
500502
&quot;a_key&quot;: &quot;A String&quot;,
501503
},
502-
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s
504+
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
503505
&quot;runAsUser&quot;: 42, # If set, overrides the USER specified in the image with the given uid.
504506
&quot;workingDir&quot;: &quot;A String&quot;, # If set, overrides the default DIR specified by the image.
505507
},
506508
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was created.
507-
&quot;degraded&quot;: True or False, # Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.
509+
&quot;degraded&quot;: True or False, # Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.
508510
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was soft-deleted.
509511
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable name for this resource.
510512
&quot;enableAuditAgent&quot;: True or False, # Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
@@ -526,6 +528,7 @@ <h3>Method Details</h3>
526528
&quot;enableConfidentialCompute&quot;: True or False, # Whether the instance has confidential compute enabled.
527529
},
528530
&quot;disablePublicIpAddresses&quot;: True or False, # When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
531+
&quot;enableNestedVirtualization&quot;: True or False, # Whether to enable nested virtualization on instances.
529532
&quot;machineType&quot;: &quot;A String&quot;, # The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
530533
&quot;poolSize&quot;: 42, # The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
531534
&quot;pooledInstances&quot;: 42, # Output only. Number of instances currently available in the pool for faster workstation startup.
@@ -619,12 +622,12 @@ <h3>Method Details</h3>
619622
&quot;env&quot;: { # Environment variables passed to the container&#x27;s entrypoint.
620623
&quot;a_key&quot;: &quot;A String&quot;,
621624
},
622-
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s
625+
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
623626
&quot;runAsUser&quot;: 42, # If set, overrides the USER specified in the image with the given uid.
624627
&quot;workingDir&quot;: &quot;A String&quot;, # If set, overrides the default DIR specified by the image.
625628
},
626629
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was created.
627-
&quot;degraded&quot;: True or False, # Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.
630+
&quot;degraded&quot;: True or False, # Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.
628631
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was soft-deleted.
629632
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable name for this resource.
630633
&quot;enableAuditAgent&quot;: True or False, # Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
@@ -646,6 +649,7 @@ <h3>Method Details</h3>
646649
&quot;enableConfidentialCompute&quot;: True or False, # Whether the instance has confidential compute enabled.
647650
},
648651
&quot;disablePublicIpAddresses&quot;: True or False, # When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
652+
&quot;enableNestedVirtualization&quot;: True or False, # Whether to enable nested virtualization on instances.
649653
&quot;machineType&quot;: &quot;A String&quot;, # The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
650654
&quot;poolSize&quot;: 42, # The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
651655
&quot;pooledInstances&quot;: 42, # Output only. Number of instances currently available in the pool for faster workstation startup.
@@ -754,12 +758,12 @@ <h3>Method Details</h3>
754758
&quot;env&quot;: { # Environment variables passed to the container&#x27;s entrypoint.
755759
&quot;a_key&quot;: &quot;A String&quot;,
756760
},
757-
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s
761+
&quot;image&quot;: &quot;A String&quot;, # A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
758762
&quot;runAsUser&quot;: 42, # If set, overrides the USER specified in the image with the given uid.
759763
&quot;workingDir&quot;: &quot;A String&quot;, # If set, overrides the default DIR specified by the image.
760764
},
761765
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was created.
762-
&quot;degraded&quot;: True or False, # Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.
766+
&quot;degraded&quot;: True or False, # Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.
763767
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this resource was soft-deleted.
764768
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable name for this resource.
765769
&quot;enableAuditAgent&quot;: True or False, # Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
@@ -781,6 +785,7 @@ <h3>Method Details</h3>
781785
&quot;enableConfidentialCompute&quot;: True or False, # Whether the instance has confidential compute enabled.
782786
},
783787
&quot;disablePublicIpAddresses&quot;: True or False, # When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
788+
&quot;enableNestedVirtualization&quot;: True or False, # Whether to enable nested virtualization on instances.
784789
&quot;machineType&quot;: &quot;A String&quot;, # The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
785790
&quot;poolSize&quot;: 42, # The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.
786791
&quot;pooledInstances&quot;: 42, # Output only. Number of instances currently available in the pool for faster workstation startup.

‎googleapiclient/discovery_cache/documents/workstations.v1beta.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
}
11281128
}
11291129
},
1130-
"revision": "20230607",
1130+
"revision": "20230619",
11311131
"rootUrl": "https://workstations.googleapis.com/",
11321132
"schemas": {
11331133
"Accelerator": {
@@ -1248,7 +1248,7 @@
12481248
"type": "object"
12491249
},
12501250
"image": {
1251-
"description": "A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.s",
1251+
"description": "A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.",
12521252
"type": "string"
12531253
},
12541254
"runAsUser": {
@@ -1336,6 +1336,10 @@
13361336
"description": "When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).",
13371337
"type": "boolean"
13381338
},
1339+
"enableNestedVirtualization": {
1340+
"description": "Whether to enable nested virtualization on instances.",
1341+
"type": "boolean"
1342+
},
13391343
"machineType": {
13401344
"description": "The type of machine to use for VM instances\u2014for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).",
13411345
"type": "string"
@@ -2102,7 +2106,7 @@
21022106
"type": "string"
21032107
},
21042108
"degraded": {
2105-
"description": "Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field.",
2109+
"description": "Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the `conditions` field.",
21062110
"readOnly": true,
21072111
"type": "boolean"
21082112
},

0 commit comments

Comments
 (0)
Please sign in to comment.