Skip to content

Commit d313c50

Browse files
yoshi-automationsofisl
authored andcommitted
feat(tpu): update the API
#### tpu:v2alpha1 The following keys were added: - schemas.Node.properties.networkConfigs.description - schemas.Node.properties.networkConfigs.items.$ref - schemas.Node.properties.networkConfigs.type
1 parent bd7926f commit d313c50

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

discovery/tpu-v2alpha1.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@
965965
}
966966
}
967967
},
968-
"revision": "20240613",
968+
"revision": "20240916",
969969
"rootUrl": "https://tpu.googleapis.com/",
970970
"schemas": {
971971
"AcceleratorConfig": {
@@ -1628,6 +1628,13 @@
16281628
"$ref": "NetworkConfig",
16291629
"description": "Network configurations for the TPU node."
16301630
},
1631+
"networkConfigs": {
1632+
"description": "Optional. Repeated network configurations for the TPU node.",
1633+
"items": {
1634+
"$ref": "NetworkConfig"
1635+
},
1636+
"type": "array"
1637+
},
16311638
"networkEndpoints": {
16321639
"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.",
16331640
"items": {

src/apis/tpu/v2alpha1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@ export namespace tpu_v2alpha1 {
590590
* Network configurations for the TPU node.
591591
*/
592592
networkConfig?: Schema$NetworkConfig;
593+
/**
594+
* Optional. Repeated network configurations for the TPU node.
595+
*/
596+
networkConfigs?: Schema$NetworkConfig[];
593597
/**
594598
* 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.
595599
*/

0 commit comments

Comments
 (0)