GetNodeResult class
Result data returned by getNode.
Constructors
-
GetNodeResult({required String acceleratorType, required String apiVersion, required String cidrBlock, required String createTime, required String description, required String health, required String healthDescription, required String ipAddress, required Map<
String, String> labels, required String name, required String network, required List<NetworkEndpointResponse> networkEndpoints, required String port, required SchedulingConfigResponse schedulingConfig, required String serviceAccount, required String state, required List<SymptomResponse> symptoms, required String tensorflowVersion, required bool useServiceNetworking}) -
Creates a new GetNodeResult.
acceleratorTypeThe 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.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.ipAddressDEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.labelsResource labels to represent user-provided metadata.nameImmutable. The name of the TPUnetworkThe name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.networkEndpointsThe network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.portDEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.schedulingConfigThe scheduling options for this node.serviceAccountThe service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.stateThe current state for the TPU Node.symptomsThe Symptoms that have occurred to the TPU Node.tensorflowVersionThe version of Tensorflow running in the Node.useServiceNetworkingWhether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.const -
GetNodeResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- acceleratorType → String
-
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
- 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
- ipAddress → String
-
DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
final
-
labels
→ Map<
String, String> -
Resource labels to represent user-provided metadata.
final
- name → String
-
Immutable. The name of the TPU
final
- network → String
-
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
final
-
networkEndpoints
→ List<
NetworkEndpointResponse> -
The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
final
- port → String
-
DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedulingConfig → SchedulingConfigResponse
-
The scheduling options for this node.
final
- serviceAccount → String
-
The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
final
- state → String
-
The current state for the TPU Node.
final
-
symptoms
→ List<
SymptomResponse> -
The Symptoms that have occurred to the TPU Node.
final
- tensorflowVersion → String
-
The version of Tensorflow running in the Node.
final
- useServiceNetworking → bool
-
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
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