Struct google_api_proto::google::cloud::compute::v1::NodeGroupNode
source · pub struct NodeGroupNode {Show 14 fields
pub accelerators: Vec<AcceleratorConfig>,
pub consumed_resources: Option<InstanceConsumptionInfo>,
pub cpu_overcommit_type: Option<String>,
pub disks: Vec<LocalDisk>,
pub instance_consumption_data: Vec<InstanceConsumptionData>,
pub instances: Vec<String>,
pub name: Option<String>,
pub node_type: Option<String>,
pub satisfies_pzs: Option<bool>,
pub server_binding: Option<ServerBinding>,
pub server_id: Option<String>,
pub status: Option<String>,
pub total_resources: Option<InstanceConsumptionInfo>,
pub upcoming_maintenance: Option<UpcomingMaintenance>,
}
Expand description
Fields§
§accelerators: Vec<AcceleratorConfig>
Accelerators for this node.
consumed_resources: Option<InstanceConsumptionInfo>
Node resources that are reserved by all instances.
cpu_overcommit_type: Option<String>
CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
disks: Vec<LocalDisk>
Local disk configurations.
instance_consumption_data: Vec<InstanceConsumptionData>
Instance data that shows consumed resources on the node.
instances: Vec<String>
Instances scheduled on this node.
name: Option<String>
The name of the node.
node_type: Option<String>
The type of this node.
satisfies_pzs: Option<bool>
[Output Only] Reserved for future use.
server_binding: Option<ServerBinding>
Binding properties for the physical server.
server_id: Option<String>
Server ID associated with this node.
status: Option<String>
Check the Status enum for the list of possible values.
total_resources: Option<InstanceConsumptionInfo>
Total amount of available resources on the node.
upcoming_maintenance: Option<UpcomingMaintenance>
[Output Only] The information about an upcoming maintenance event.
Implementations§
source§impl NodeGroupNode
impl NodeGroupNode
sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
Returns the value of status
, or the default value if status
is unset.
sourcepub fn cpu_overcommit_type(&self) -> &str
pub fn cpu_overcommit_type(&self) -> &str
Returns the value of cpu_overcommit_type
, or the default value if cpu_overcommit_type
is unset.
sourcepub fn server_id(&self) -> &str
pub fn server_id(&self) -> &str
Returns the value of server_id
, or the default value if server_id
is unset.
sourcepub fn node_type(&self) -> &str
pub fn node_type(&self) -> &str
Returns the value of node_type
, or the default value if node_type
is unset.
sourcepub fn satisfies_pzs(&self) -> bool
pub fn satisfies_pzs(&self) -> bool
Returns the value of satisfies_pzs
, or the default value if satisfies_pzs
is unset.
Trait Implementations§
source§impl Clone for NodeGroupNode
impl Clone for NodeGroupNode
source§fn clone(&self) -> NodeGroupNode
fn clone(&self) -> NodeGroupNode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodeGroupNode
impl Debug for NodeGroupNode
source§impl Default for NodeGroupNode
impl Default for NodeGroupNode
source§impl Message for NodeGroupNode
impl Message for NodeGroupNode
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for NodeGroupNode
impl PartialEq for NodeGroupNode
source§fn eq(&self, other: &NodeGroupNode) -> bool
fn eq(&self, other: &NodeGroupNode) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeGroupNode
Auto Trait Implementations§
impl Freeze for NodeGroupNode
impl RefUnwindSafe for NodeGroupNode
impl Send for NodeGroupNode
impl Sync for NodeGroupNode
impl Unpin for NodeGroupNode
impl UnwindSafe for NodeGroupNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request