Struct google_tpu1::Node [−][src]
pub struct Node { pub scheduling_config: Option<SchedulingConfig>, pub description: Option<String>, pub health_description: Option<String>, pub labels: Option<HashMap<String, String>>, pub network_endpoints: Option<Vec<NetworkEndpoint>>, pub accelerator_type: Option<String>, pub cidr_block: Option<String>, pub create_time: Option<String>, pub name: Option<String>, pub network: Option<String>, pub service_account: Option<String>, pub port: Option<String>, pub tensorflow_version: Option<String>, pub state: Option<String>, pub health: Option<String>, pub ip_address: Option<String>, }
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).
- locations nodes create projects (request)
- locations nodes get projects (response)
Fields
scheduling_config: Option<SchedulingConfig>
no description provided
description: Option<String>
The user-supplied description of the TPU. Maximum of 512 characters.
health_description: Option<String>
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
labels: Option<HashMap<String, String>>
Resource labels to represent user-provided metadata.
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.
accelerator_type: Option<String>
The type of hardware accelerators associated with this node. Required.
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. Required.
create_time: Option<String>
Output only. The time when the node was created.
name: Option<String>
Output only. The immutable 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.
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.
port: Option<String>
Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
tensorflow_version: Option<String>
The version of Tensorflow running in the Node. Required.
state: Option<String>
Output only. The current state for the TPU Node.
health: Option<String>
The health status of the TPU node.
ip_address: Option<String>
Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
Trait Implementations
impl Default for Node
[src]
impl Default for Node
impl Clone for Node
[src]
impl Clone for Node
fn clone(&self) -> Node
[src]
fn clone(&self) -> Node
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Node
[src]
impl Debug for Node
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Node
[src]
impl RequestValue for Node
impl ResponseResult for Node
[src]
impl ResponseResult for Node