Skip to content

Commit

Permalink
feat(tpu): update the API
Browse files Browse the repository at this point in the history
#### tpu:v2alpha1

The following keys were added:
- schemas.Node.properties.networkConfigs.description
- schemas.Node.properties.networkConfigs.items.$ref
- schemas.Node.properties.networkConfigs.type
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent bd7926f commit d313c50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion discovery/tpu-v2alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@
}
}
},
"revision": "20240613",
"revision": "20240916",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -1628,6 +1628,13 @@
"$ref": "NetworkConfig",
"description": "Network configurations for the TPU node."
},
"networkConfigs": {
"description": "Optional. Repeated network configurations for the TPU node.",
"items": {
"$ref": "NetworkConfig"
},
"type": "array"
},
"networkEndpoints": {
"description": "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.",
"items": {
Expand Down
4 changes: 4 additions & 0 deletions src/apis/tpu/v2alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ export namespace tpu_v2alpha1 {
* Network configurations for the TPU node.
*/
networkConfig?: Schema$NetworkConfig;
/**
* Optional. Repeated network configurations for the TPU node.
*/
networkConfigs?: Schema$NetworkConfig[];
/**
* 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.
*/
Expand Down

0 comments on commit d313c50

Please sign in to comment.