Skip to content

Commit df4e196

Browse files
feat: Automated regeneration of Compute client (googleapis#12887)
Auto-created at 2025-01-29 13:11:55 +0000 using the toys pull request generator.
1 parent 21fc00a commit df4e196

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

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

23-
@discovery_revision "20250107"
23+
@discovery_revision "20250119"
2424

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

clients/compute/lib/google_api/compute/v1/model/scheduling.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do
2323
2424
* `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.
2525
* `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.
26+
* `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.
2627
* `instanceTerminationAction` (*type:* `String.t`, *default:* `nil`) - Specifies the termination action for the instance.
2728
* `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.
2829
* `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.
@@ -41,6 +42,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do
4142
@type t :: %__MODULE__{
4243
:automaticRestart => boolean() | nil,
4344
:availabilityDomain => integer() | nil,
45+
:hostErrorTimeoutSeconds => integer() | nil,
4446
:instanceTerminationAction => String.t() | nil,
4547
:localSsdRecoveryTimeout => GoogleApi.Compute.V1.Model.Duration.t() | nil,
4648
:locationHint => String.t() | nil,
@@ -57,6 +59,7 @@ defmodule GoogleApi.Compute.V1.Model.Scheduling do
5759

5860
field(:automaticRestart)
5961
field(:availabilityDomain)
62+
field(:hostErrorTimeoutSeconds)
6063
field(:instanceTerminationAction)
6164
field(:localSsdRecoveryTimeout, as: GoogleApi.Compute.V1.Model.Duration)
6265
field(:locationHint)

0 commit comments

Comments
 (0)