[][src]Struct google_tpu1::Node

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).

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.

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 Clone for Node[src]

impl Debug for Node[src]

impl Default for Node[src]

impl<'de> Deserialize<'de> for Node[src]

impl RequestValue for Node[src]

impl ResponseResult for Node[src]

impl Serialize for Node[src]

Auto Trait Implementations

impl RefUnwindSafe for Node

impl Send for Node

impl Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any