Skip to content

Commit

Permalink
feat: Automated regeneration of Workstations client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 3, 2024
1 parent e6a95f9 commit 7fd322f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Workstations.V1 do
API client metadata for GoogleApi.Workstations.V1.
"""

@discovery_revision "20240301"
@discovery_revision "20240424"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ defmodule GoogleApi.Workstations.V1.Model.GceInstance do
* `machineType` (*type:* `String.t`, *default:* `nil`) - Optional. 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).
* `poolSize` (*type:* `integer()`, *default:* `nil`) - Optional. 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.
* `pooledInstances` (*type:* `integer()`, *default:* `nil`) - Output only. Number of instances currently available in the pool for faster workstation startup.
* `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.
* `serviceAccountScopes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.
* `serviceAccount` (*type:* `String.t`, *default:* `nil`) - Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.
* `serviceAccountScopes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Scopes to grant to the service_account. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.
* `shieldedInstanceConfig` (*type:* `GoogleApi.Workstations.V1.Model.GceShieldedInstanceConfig.t`, *default:* `nil`) - Optional. A set of Compute Engine Shielded instance options.
* `tags` (*type:* `list(String.t)`, *default:* `nil`) - 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).
"""
Expand Down
2 changes: 1 addition & 1 deletion clients/workstations/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Workstations.Mixfile do
use Mix.Project

@version "0.2.0"
@version "0.2.1"

def project() do
[
Expand Down

0 comments on commit 7fd322f

Please sign in to comment.