Skip to content

Commit 2fd9d62

Browse files
feat: Automated regeneration of Workstations client (googleapis#12653)
Auto-created at 2024-12-07 13:10:57 +0000 using the toys pull request generator.
1 parent 7cc5bca commit 2fd9d62

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

clients/workstations/lib/google_api/workstations/v1/api/projects.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ defmodule GoogleApi.Workstations.V1.Api.Projects do
152152
end
153153

154154
@doc """
155-
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`.
155+
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`.
156156
157157
## Parameters
158158
@@ -1638,7 +1638,7 @@ defmodule GoogleApi.Workstations.V1.Api.Projects do
16381638
end
16391639

16401640
@doc """
1641-
Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.
1641+
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.
16421642
16431643
## Parameters
16441644

clients/workstations/lib/google_api/workstations/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Workstations.V1 do
2020
API client metadata for GoogleApi.Workstations.V1.
2121
"""
2222

23-
@discovery_revision "20241009"
23+
@discovery_revision "20241202"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/workstations/lib/google_api/workstations/v1/model/boost_config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
defmodule GoogleApi.Workstations.V1.Model.BoostConfig do
1919
@moduledoc """
20-
A configuration that workstations can boost to.
20+
A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the boost config by passing the boost config id in the start request. If no boost config id is provided in the start request, the system will choose a VM from the pool provisioned under the default config.
2121
2222
## Attributes
2323
2424
* `accelerators` (*type:* `list(GoogleApi.Workstations.V1.Model.Accelerator.t)`, *default:* `nil`) - Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`.
2525
* `bootDiskSizeGb` (*type:* `integer()`, *default:* `nil`) - 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.
2626
* `enableNestedVirtualization` (*type:* `boolean()`, *default:* `nil`) - 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.
27-
* `id` (*type:* `String.t`, *default:* `nil`) - Optional. Required. The id to be used for the boost configuration.
27+
* `id` (*type:* `String.t`, *default:* `nil`) - Required. The id to be used for the boost configuration.
2828
* `machineType` (*type:* `String.t`, *default:* `nil`) - 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`.
2929
* `poolSize` (*type:* `integer()`, *default:* `nil`) - Optional. The number of boost VMs that the system should keep idle so that workstations can be boosted quickly. Defaults to `0`.
3030
"""

clients/workstations/lib/google_api/workstations/v1/model/gce_instance.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Workstations.V1.Model.GceInstance do
2222
## Attributes
2323
2424
* `accelerators` (*type:* `list(GoogleApi.Workstations.V1.Model.Accelerator.t)`, *default:* `nil`) - Optional. A list of the type and count of accelerator cards attached to the instance.
25-
* `boostConfigs` (*type:* `list(GoogleApi.Workstations.V1.Model.BoostConfig.t)`, *default:* `nil`) - Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use.
25+
* `boostConfigs` (*type:* `list(GoogleApi.Workstations.V1.Model.BoostConfig.t)`, *default:* `nil`) - 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.
2626
* `bootDiskSizeGb` (*type:* `integer()`, *default:* `nil`) - 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.
2727
* `confidentialInstanceConfig` (*type:* `GoogleApi.Workstations.V1.Model.GceConfidentialInstanceConfig.t`, *default:* `nil`) - Optional. A set of Compute Engine Confidential VM instance options.
2828
* `disablePublicIpAddresses` (*type:* `boolean()`, *default:* `nil`) - Optional. 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).

clients/workstations/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Workstations.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.6.0"
21+
@version "0.6.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)