|
180 | 180 | "operations": {
|
181 | 181 | "methods": {
|
182 | 182 | "cancel": {
|
183 |
| - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| 183 | + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", |
184 | 184 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
|
185 | 185 | "httpMethod": "POST",
|
186 | 186 | "id": "workstations.projects.locations.operations.cancel",
|
|
873 | 873 | ]
|
874 | 874 | },
|
875 | 875 | "generateAccessToken": {
|
876 |
| - "description": "Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.", |
| 876 | + "description": "Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.", |
877 | 877 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:generateAccessToken",
|
878 | 878 | "httpMethod": "POST",
|
879 | 879 | "id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.generateAccessToken",
|
|
1195 | 1195 | }
|
1196 | 1196 | }
|
1197 | 1197 | },
|
1198 |
| - "revision": "20240904", |
| 1198 | + "revision": "20250101", |
1199 | 1199 | "rootUrl": "https://workstations.googleapis.com/",
|
1200 | 1200 | "schemas": {
|
1201 | 1201 | "Accelerator": {
|
|
1284 | 1284 | },
|
1285 | 1285 | "type": "object"
|
1286 | 1286 | },
|
| 1287 | + "BoostConfig": { |
| 1288 | + "description": "A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.", |
| 1289 | + "id": "BoostConfig", |
| 1290 | + "properties": { |
| 1291 | + "accelerators": { |
| 1292 | + "description": "Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`.", |
| 1293 | + "items": { |
| 1294 | + "$ref": "Accelerator" |
| 1295 | + }, |
| 1296 | + "type": "array" |
| 1297 | + }, |
| 1298 | + "bootDiskSizeGb": { |
| 1299 | + "description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.", |
| 1300 | + "format": "int32", |
| 1301 | + "type": "integer" |
| 1302 | + }, |
| 1303 | + "enableNestedVirtualization": { |
| 1304 | + "description": "Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost configuration. Defaults to false. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on boost configurations that specify a machine_type in the N1 or N2 machine series.", |
| 1305 | + "type": "boolean" |
| 1306 | + }, |
| 1307 | + "id": { |
| 1308 | + "description": "Required. The ID to be used for the boost configuration.", |
| 1309 | + "type": "string" |
| 1310 | + }, |
| 1311 | + "machineType": { |
| 1312 | + "description": "Optional. The type of machine that boosted VM instances will use—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). Defaults to `e2-standard-4`.", |
| 1313 | + "type": "string" |
| 1314 | + }, |
| 1315 | + "poolSize": { |
| 1316 | + "description": "Optional. The number of boost VMs that the system should keep idle so that workstations can be boosted quickly. Defaults to `0`.", |
| 1317 | + "format": "int32", |
| 1318 | + "type": "integer" |
| 1319 | + } |
| 1320 | + }, |
| 1321 | + "type": "object" |
| 1322 | + }, |
1287 | 1323 | "CancelOperationRequest": {
|
1288 | 1324 | "description": "The request message for Operations.CancelOperation.",
|
1289 | 1325 | "id": "CancelOperationRequest",
|
|
1417 | 1453 | },
|
1418 | 1454 | "type": "array"
|
1419 | 1455 | },
|
| 1456 | + "boostConfigs": { |
| 1457 | + "description": "Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.", |
| 1458 | + "items": { |
| 1459 | + "$ref": "BoostConfig" |
| 1460 | + }, |
| 1461 | + "type": "array" |
| 1462 | + }, |
1420 | 1463 | "bootDiskSizeGb": {
|
1421 | 1464 | "description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.",
|
1422 | 1465 | "format": "int32",
|
|
1485 | 1528 | },
|
1486 | 1529 | "type": "object"
|
1487 | 1530 | },
|
| 1531 | + "GceInstanceHost": { |
| 1532 | + "description": "The Compute Engine instance host.", |
| 1533 | + "id": "GceInstanceHost", |
| 1534 | + "properties": { |
| 1535 | + "id": { |
| 1536 | + "description": "Optional. Output only. The ID of the Compute Engine instance.", |
| 1537 | + "readOnly": true, |
| 1538 | + "type": "string" |
| 1539 | + }, |
| 1540 | + "name": { |
| 1541 | + "description": "Optional. Output only. The name of the Compute Engine instance.", |
| 1542 | + "readOnly": true, |
| 1543 | + "type": "string" |
| 1544 | + }, |
| 1545 | + "zone": { |
| 1546 | + "description": "Optional. Output only. The zone of the Compute Engine instance.", |
| 1547 | + "readOnly": true, |
| 1548 | + "type": "string" |
| 1549 | + } |
| 1550 | + }, |
| 1551 | + "type": "object" |
| 1552 | + }, |
1488 | 1553 | "GcePersistentDisk": {
|
1489 | 1554 | "description": "An EphemeralDirectory is backed by a Compute Engine persistent disk.",
|
1490 | 1555 | "id": "GcePersistentDisk",
|
|
1895 | 1960 | "type": "object"
|
1896 | 1961 | },
|
1897 | 1962 | "PersistentDirectory": {
|
1898 |
| - "description": "A directory to persist across workstation sessions.", |
| 1963 | + "description": "A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.", |
1899 | 1964 | "id": "PersistentDirectory",
|
1900 | 1965 | "properties": {
|
1901 | 1966 | "gcePd": {
|
|
2001 | 2066 | },
|
2002 | 2067 | "type": "object"
|
2003 | 2068 | },
|
| 2069 | + "RuntimeHost": { |
| 2070 | + "description": "Runtime host for the workstation.", |
| 2071 | + "id": "RuntimeHost", |
| 2072 | + "properties": { |
| 2073 | + "gceInstanceHost": { |
| 2074 | + "$ref": "GceInstanceHost", |
| 2075 | + "description": "Specifies a Compute Engine instance as the host." |
| 2076 | + } |
| 2077 | + }, |
| 2078 | + "type": "object" |
| 2079 | + }, |
2004 | 2080 | "SetIamPolicyRequest": {
|
2005 | 2081 | "description": "Request message for `SetIamPolicy` method.",
|
2006 | 2082 | "id": "SetIamPolicyRequest",
|
|
2021 | 2097 | "description": "Request message for StartWorkstation.",
|
2022 | 2098 | "id": "StartWorkstationRequest",
|
2023 | 2099 | "properties": {
|
| 2100 | + "boostConfig": { |
| 2101 | + "description": "Optional. If set, the workstation starts using the boost configuration with the specified ID.", |
| 2102 | + "type": "string" |
| 2103 | + }, |
2024 | 2104 | "etag": {
|
2025 | 2105 | "description": "Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.",
|
2026 | 2106 | "type": "string"
|
|
2166 | 2246 | "readOnly": true,
|
2167 | 2247 | "type": "boolean"
|
2168 | 2248 | },
|
| 2249 | + "runtimeHost": { |
| 2250 | + "$ref": "RuntimeHost", |
| 2251 | + "description": "Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.", |
| 2252 | + "readOnly": true |
| 2253 | + }, |
| 2254 | + "sourceWorkstation": { |
| 2255 | + "description": "Optional. The source workstation from which this workstation's persistent directories were cloned on creation.", |
| 2256 | + "type": "string" |
| 2257 | + }, |
2169 | 2258 | "startTime": {
|
2170 | 2259 | "description": "Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.",
|
2171 | 2260 | "format": "google-datetime",
|
|
2286 | 2375 | "description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.",
|
2287 | 2376 | "type": "string"
|
2288 | 2377 | },
|
| 2378 | + "tags": { |
| 2379 | + "additionalProperties": { |
| 2380 | + "type": "string" |
| 2381 | + }, |
| 2382 | + "description": "Optional. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", |
| 2383 | + "type": "object" |
| 2384 | + }, |
2289 | 2385 | "uid": {
|
2290 | 2386 | "description": "Output only. A system-assigned unique identifier for this workstation cluster.",
|
2291 | 2387 | "readOnly": true,
|
|
0 commit comments