NodeSpecResponse class
Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.
Constructors
-
NodeSpecResponse({required Input<
MultiNodeParamsResponse> multiNodeParams, required Input<NodeResponse> node, required Input<String> nodeId, required Input<String> parent}) -
Creates a new NodeSpecResponse.
multiNodeParamsOptional. Fields to specify in case of multi-node request.nodeThe node.nodeIdThe unqualified resource name. Should follow the^[A-Za-z0-9_.~+%-]+$regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.parentThe parent resource name.const -
NodeSpecResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
multiNodeParams
→ Input<
MultiNodeParamsResponse> -
Optional. Fields to specify in case of multi-node request.
final
-
node
→ Input<
NodeResponse> -
The node.
final
-
nodeId
→ Input<
String> -
The unqualified resource name. Should follow the
^[A-Za-z0-9_.~+%-]+$regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.final -
parent
→ Input<
String> -
The parent resource name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited