Skip to content

Commit 99be3bd

Browse files
feat: Automated regeneration of tpu v2 client (googleapis#21378)
Auto-created at 2025-01-12 10:38:03 +0000 using the toys pull request generator.
1 parent 00240fd commit 99be3bd

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333093,6 +333093,8 @@
333093333093
"/tpu:v2/Node/multisliceNode": multislice_node
333094333094
"/tpu:v2/Node/name": name
333095333095
"/tpu:v2/Node/networkConfig": network_config
333096+
"/tpu:v2/Node/networkConfigs": network_configs
333097+
"/tpu:v2/Node/networkConfigs/network_config": network_config
333096333098
"/tpu:v2/Node/networkEndpoints": network_endpoints
333097333099
"/tpu:v2/Node/networkEndpoints/network_endpoint": network_endpoint
333098333100
"/tpu:v2/Node/queuedResource": queued_resource

generated/google-apis-tpu_v2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-tpu_v2
22

3+
### v0.13.0 (2025-01-12)
4+
5+
* Regenerated from discovery document revision 20250103
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.12.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241126

generated/google-apis-tpu_v2/lib/google/apis/tpu_v2/classes.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,14 @@ class Node
842842
# @return [Google::Apis::TpuV2::NetworkConfig]
843843
attr_accessor :network_config
844844

845+
# Optional. Repeated network configurations for the TPU node. This field is used
846+
# to specify multiple networks configs for the TPU node. network_config and
847+
# network_configs are mutually exclusive, you can only specify one of them. If
848+
# both are specified, an error will be returned.
849+
# Corresponds to the JSON property `networkConfigs`
850+
# @return [Array<Google::Apis::TpuV2::NetworkConfig>]
851+
attr_accessor :network_configs
852+
845853
# Output only. The network endpoints where TPU workers can be accessed and sent
846854
# work. It is recommended that runtime clients of the node reach out to the 0th
847855
# entry in this map first.
@@ -911,6 +919,7 @@ def update!(**args)
911919
@multislice_node = args[:multislice_node] if args.key?(:multislice_node)
912920
@name = args[:name] if args.key?(:name)
913921
@network_config = args[:network_config] if args.key?(:network_config)
922+
@network_configs = args[:network_configs] if args.key?(:network_configs)
914923
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
915924
@queued_resource = args[:queued_resource] if args.key?(:queued_resource)
916925
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)

generated/google-apis-tpu_v2/lib/google/apis/tpu_v2/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TpuV2
1818
# Version of the google-apis-tpu_v2 gem
19-
GEM_VERSION = "0.12.0"
19+
GEM_VERSION = "0.13.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241126"
25+
REVISION = "20250103"
2626
end
2727
end
2828
end

generated/google-apis-tpu_v2/lib/google/apis/tpu_v2/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
589589
property :name, as: 'name'
590590
property :network_config, as: 'networkConfig', class: Google::Apis::TpuV2::NetworkConfig, decorator: Google::Apis::TpuV2::NetworkConfig::Representation
591591

592+
collection :network_configs, as: 'networkConfigs', class: Google::Apis::TpuV2::NetworkConfig, decorator: Google::Apis::TpuV2::NetworkConfig::Representation
593+
592594
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::TpuV2::NetworkEndpoint, decorator: Google::Apis::TpuV2::NetworkEndpoint::Representation
593595

594596
property :queued_resource, as: 'queuedResource'

0 commit comments

Comments
 (0)