pub struct Node {
Show 19 fields pub accelerator_type: Option<String>, pub api_version: Option<String>, pub cidr_block: Option<String>, pub create_time: Option<String>, pub description: Option<String>, pub health: Option<String>, pub health_description: Option<String>, pub ip_address: Option<String>, pub labels: Option<HashMap<String, String>>, pub name: Option<String>, pub network: Option<String>, pub network_endpoints: Option<Vec<NetworkEndpoint>>, pub port: Option<String>, pub scheduling_config: Option<SchedulingConfig>, pub service_account: Option<String>, pub state: Option<String>, pub symptoms: Option<Vec<Symptom>>, pub tensorflow_version: Option<String>, pub use_service_networking: Option<bool>,
}
Expand description

A TPU instance.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

accelerator_type: Option<String>

Required. The type of hardware accelerators associated with this node.

api_version: Option<String>

Output only. The API version that created this Node.

cidr_block: Option<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.

create_time: Option<String>

Output only. The time when the node was created.

description: Option<String>

The user-supplied description of the TPU. Maximum of 512 characters.

health: Option<String>

The health status of the TPU node.

health_description: Option<String>

Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.

ip_address: Option<String>

Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.

labels: Option<HashMap<String, String>>

Resource labels to represent user-provided metadata.

name: Option<String>

Output only. Immutable. The name of the TPU

network: Option<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.

network_endpoints: Option<Vec<NetworkEndpoint>>

Output only. 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.

port: Option<String>

Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

scheduling_config: Option<SchedulingConfig>

The scheduling options for this node.

service_account: Option<String>

Output only. 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.

state: Option<String>

Output only. The current state for the TPU Node.

symptoms: Option<Vec<Symptom>>

Output only. The Symptoms that have occurred to the TPU Node.

tensorflow_version: Option<String>

Required. The version of Tensorflow running in the Node.

use_service_networking: Option<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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more