Skip to content

Commit 2ad3b4c

Browse files
Google APIscopybara-github
authored andcommitted
feat: enable QueuedResources in us-east5
feat: add multislice_node flag PiperOrigin-RevId: 550674209
1 parent a2223b1 commit 2ad3b4c

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

google/cloud/tpu/v2/cloud_tpu.proto

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ message Node {
389389
// The user-supplied description of the TPU. Maximum of 512 characters.
390390
string description = 3;
391391

392-
// Required. The type of hardware accelerators associated with this node.
393-
string accelerator_type = 5 [(google.api.field_behavior) = REQUIRED];
392+
// Optional. The type of hardware accelerators associated with this node.
393+
string accelerator_type = 5 [(google.api.field_behavior) = OPTIONAL];
394394

395395
// Output only. The current state for the TPU Node.
396396
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -463,6 +463,13 @@ message Node {
463463

464464
// The AccleratorConfig for the TPU Node.
465465
AcceleratorConfig accelerator_config = 46;
466+
467+
// Output only. The qualified name of the QueuedResource that requested this
468+
// Node.
469+
string queued_resource = 47 [(google.api.field_behavior) = OUTPUT_ONLY];
470+
471+
// Output only. Whether the Node belongs to a Multislice group.
472+
bool multislice_node = 48 [(google.api.field_behavior) = OUTPUT_ONLY];
466473
}
467474

468475
// Request for [ListNodes][google.cloud.tpu.v2.Tpu.ListNodes].
@@ -592,7 +599,7 @@ message AcceleratorType {
592599
// The resource name.
593600
string name = 1;
594601

595-
// the accelerator type.
602+
// The accelerator type.
596603
string type = 2;
597604

598605
// The accelerator config.

0 commit comments

Comments
 (0)