Skip to content

Commit

Permalink
feat: Automated regeneration of Compute client (#12887)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-29 13:11:55 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Jan 29, 2025
1 parent 21fc00a commit df4e196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clients/compute/lib/google_api/compute/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Compute.V1 do
API client metadata for GoogleApi.Compute.V1.
"""

@discovery_revision "20250107"
@discovery_revision "20250119"

def discovery_revision(), do: @discovery_revision
end
3 changes: 3 additions & 0 deletions clients/compute/lib/google_api/compute/v1/model/scheduling.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do
* `automaticRestart` (*type:* `boolean()`, *default:* `nil`) - Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.
* `availabilityDomain` (*type:* `integer()`, *default:* `nil`) - Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
* `hostErrorTimeoutSeconds` (*type:* `integer()`, *default:* `nil`) - Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
* `instanceTerminationAction` (*type:* `String.t`, *default:* `nil`) - Specifies the termination action for the instance.
* `localSsdRecoveryTimeout` (*type:* `GoogleApi.Compute.V1.Model.Duration.t`, *default:* `nil`) - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
* `locationHint` (*type:* `String.t`, *default:* `nil`) - An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
Expand All @@ -41,6 +42,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do
@type t :: %__MODULE__{
:automaticRestart => boolean() | nil,
:availabilityDomain => integer() | nil,
:hostErrorTimeoutSeconds => integer() | nil,
:instanceTerminationAction => String.t() | nil,
:localSsdRecoveryTimeout => GoogleApi.Compute.V1.Model.Duration.t() | nil,
:locationHint => String.t() | nil,
Expand All @@ -57,6 +59,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do

field(:automaticRestart)
field(:availabilityDomain)
field(:hostErrorTimeoutSeconds)
field(:instanceTerminationAction)
field(:localSsdRecoveryTimeout, as: GoogleApi.Compute.V1.Model.Duration)
field(:locationHint)
Expand Down

0 comments on commit df4e196

Please sign in to comment.