Struct google_tpu1::api::Node
source · [−]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).
- locations nodes create projects (request)
- locations nodes get projects (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
sourceimpl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Node
impl ResponseResult for Node
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more