Skip to content

Commit e503eb4

Browse files
feat: Automated regeneration of TPU client (#12804)
Auto-created at 2025-01-10 13:17:58 +0000 using the toys pull request generator.
1 parent ca20885 commit e503eb4

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

clients/tpu/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_tpu, "~> 0.17"}]
14+
[{:google_api_tpu, "~> 0.18"}]
1515
end
1616
```
1717

clients/tpu/lib/google_api/tpu/v2/metadata.ex

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

23-
@discovery_revision "20241126"
23+
@discovery_revision "20250103"
2424

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

clients/tpu/lib/google_api/tpu/v2/model/node.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ defmodule GoogleApi.TPU.V2.Model.Node do
3535
* `metadata` (*type:* `map()`, *default:* `nil`) - Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
3636
* `multisliceNode` (*type:* `boolean()`, *default:* `nil`) - Output only. Whether the Node belongs to a Multislice group.
3737
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Immutable. The name of the TPU.
38-
* `networkConfig` (*type:* `GoogleApi.TPU.V2.Model.NetworkConfig.t`, *default:* `nil`) - Network configurations for the TPU node.
38+
* `networkConfig` (*type:* `GoogleApi.TPU.V2.Model.NetworkConfig.t`, *default:* `nil`) - Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
39+
* `networkConfigs` (*type:* `list(GoogleApi.TPU.V2.Model.NetworkConfig.t)`, *default:* `nil`) - Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
3940
* `networkEndpoints` (*type:* `list(GoogleApi.TPU.V2.Model.NetworkEndpoint.t)`, *default:* `nil`) - Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
4041
* `queuedResource` (*type:* `String.t`, *default:* `nil`) - Output only. The qualified name of the QueuedResource that requested this Node.
4142
* `runtimeVersion` (*type:* `String.t`, *default:* `nil`) - Required. The runtime version running in the Node.
@@ -65,6 +66,7 @@ defmodule GoogleApi.TPU.V2.Model.Node do
6566
:multisliceNode => boolean() | nil,
6667
:name => String.t() | nil,
6768
:networkConfig => GoogleApi.TPU.V2.Model.NetworkConfig.t() | nil,
69+
:networkConfigs => list(GoogleApi.TPU.V2.Model.NetworkConfig.t()) | nil,
6870
:networkEndpoints => list(GoogleApi.TPU.V2.Model.NetworkEndpoint.t()) | nil,
6971
:queuedResource => String.t() | nil,
7072
:runtimeVersion => String.t() | nil,
@@ -91,6 +93,7 @@ defmodule GoogleApi.TPU.V2.Model.Node do
9193
field(:multisliceNode)
9294
field(:name)
9395
field(:networkConfig, as: GoogleApi.TPU.V2.Model.NetworkConfig)
96+
field(:networkConfigs, as: GoogleApi.TPU.V2.Model.NetworkConfig, type: :list)
9497
field(:networkEndpoints, as: GoogleApi.TPU.V2.Model.NetworkEndpoint, type: :list)
9598
field(:queuedResource)
9699
field(:runtimeVersion)

clients/tpu/mix.exs

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

21-
@version "0.17.1"
21+
@version "0.18.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)