GetNodeTpuV2Result class
Result data returned by getNode.
Constructors
-
GetNodeTpuV2Result({required AcceleratorConfigResponse acceleratorConfig, required String acceleratorType, required String apiVersion, required String cidrBlock, required String createTime, required List<
AttachedDiskResponse> dataDisks, required String description, required String health, required String healthDescription, required Map<String, String> labels, required Map<String, String> metadata, required bool multisliceNode, required String name, required NetworkConfigResponse networkConfig, required List<NetworkEndpointResponseTpuV2> networkEndpoints, required String queuedResource, required String runtimeVersion, required SchedulingConfigResponseTpuV2 schedulingConfig, required ServiceAccountResponse serviceAccount, required ShieldedInstanceConfigResponse shieldedInstanceConfig, required String state, required List<SymptomResponseTpuV2> symptoms, required List<String> tags}) -
Creates a new GetNodeTpuV2Result.
acceleratorConfigThe AccleratorConfig for the TPU Node.acceleratorTypeOptional. The type of hardware accelerators associated with this node.apiVersionThe API version that created this Node.cidrBlockThe CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.createTimeThe time when the node was created.dataDisksThe additional data disks for the Node.descriptionThe user-supplied description of the TPU. Maximum of 512 characters.healthThe health status of the TPU node.healthDescriptionIf this field is populated, it contains a description of why the TPU Node is unhealthy.labelsResource labels to represent user-provided metadata.metadataCustom metadata to apply to the TPU Node. Can set startup-script and shutdown-scriptmultisliceNodeWhether the Node belongs to a Multislice group.nameImmutable. The name of the TPU.networkConfigNetwork configurations for the TPU node.networkEndpointsThe 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.queuedResourceThe qualified name of the QueuedResource that requested this Node.runtimeVersionThe runtime version running in the Node.schedulingConfigThe scheduling options for this node.serviceAccountThe Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.shieldedInstanceConfigShielded Instance options.stateThe current state for the TPU Node.symptomsThe Symptoms that have occurred to the TPU Node.tagsTags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.const -
GetNodeTpuV2Result.fromMap(Map<
String, dynamic> map) -
factory
Properties
- acceleratorConfig → AcceleratorConfigResponse
-
The AccleratorConfig for the TPU Node.
final
- acceleratorType → String
-
Optional. The type of hardware accelerators associated with this node.
final
- apiVersion → String
-
The API version that created this Node.
final
- cidrBlock → String
-
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
final
- createTime → String
-
The time when the node was created.
final
-
dataDisks
→ List<
AttachedDiskResponse> -
The additional data disks for the Node.
final
- description → String
-
The user-supplied description of the TPU. Maximum of 512 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- health → String
-
The health status of the TPU node.
final
- healthDescription → String
-
If this field is populated, it contains a description of why the TPU Node is unhealthy.
final
-
labels
→ Map<
String, String> -
Resource labels to represent user-provided metadata.
final
-
metadata
→ Map<
String, String> -
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
final
- multisliceNode → bool
-
Whether the Node belongs to a Multislice group.
final
- name → String
-
Immutable. The name of the TPU.
final
- networkConfig → NetworkConfigResponse
-
Network configurations for the TPU node.
final
-
networkEndpoints
→ List<
NetworkEndpointResponseTpuV2> -
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.
final
- queuedResource → String
-
The qualified name of the QueuedResource that requested this Node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeVersion → String
-
The runtime version running in the Node.
final
- schedulingConfig → SchedulingConfigResponseTpuV2
-
The scheduling options for this node.
final
- serviceAccount → ServiceAccountResponse
-
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
final
- shieldedInstanceConfig → ShieldedInstanceConfigResponse
-
Shielded Instance options.
final
- state → String
-
The current state for the TPU Node.
final
-
symptoms
→ List<
SymptomResponseTpuV2> -
The Symptoms that have occurred to the TPU Node.
final
-
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
final
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