Struct google_api_proto::google::cloud::compute::v1::InstanceGroupManagerActionsSummary
source · pub struct InstanceGroupManagerActionsSummary {Show 13 fields
pub abandoning: Option<i32>,
pub creating: Option<i32>,
pub creating_without_retries: Option<i32>,
pub deleting: Option<i32>,
pub none: Option<i32>,
pub recreating: Option<i32>,
pub refreshing: Option<i32>,
pub restarting: Option<i32>,
pub resuming: Option<i32>,
pub starting: Option<i32>,
pub stopping: Option<i32>,
pub suspending: Option<i32>,
pub verifying: Option<i32>,
}
Expand description
Fields§
§abandoning: Option<i32>
[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
creating: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
creating_without_retries: Option<i32>
[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group’s targetSize value accordingly.
deleting: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
none: Option<i32>
[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.
recreating: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
refreshing: Option<i32>
[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
restarting: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
resuming: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
starting: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.
stopping: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
suspending: Option<i32>
[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
verifying: Option<i32>
[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
Implementations§
source§impl InstanceGroupManagerActionsSummary
impl InstanceGroupManagerActionsSummary
sourcepub fn suspending(&self) -> i32
pub fn suspending(&self) -> i32
Returns the value of suspending
, or the default value if suspending
is unset.
sourcepub fn stopping(&self) -> i32
pub fn stopping(&self) -> i32
Returns the value of stopping
, or the default value if stopping
is unset.
sourcepub fn resuming(&self) -> i32
pub fn resuming(&self) -> i32
Returns the value of resuming
, or the default value if resuming
is unset.
sourcepub fn creating(&self) -> i32
pub fn creating(&self) -> i32
Returns the value of creating
, or the default value if creating
is unset.
sourcepub fn refreshing(&self) -> i32
pub fn refreshing(&self) -> i32
Returns the value of refreshing
, or the default value if refreshing
is unset.
sourcepub fn starting(&self) -> i32
pub fn starting(&self) -> i32
Returns the value of starting
, or the default value if starting
is unset.
sourcepub fn deleting(&self) -> i32
pub fn deleting(&self) -> i32
Returns the value of deleting
, or the default value if deleting
is unset.
sourcepub fn recreating(&self) -> i32
pub fn recreating(&self) -> i32
Returns the value of recreating
, or the default value if recreating
is unset.
sourcepub fn creating_without_retries(&self) -> i32
pub fn creating_without_retries(&self) -> i32
Returns the value of creating_without_retries
, or the default value if creating_without_retries
is unset.
sourcepub fn restarting(&self) -> i32
pub fn restarting(&self) -> i32
Returns the value of restarting
, or the default value if restarting
is unset.
sourcepub fn abandoning(&self) -> i32
pub fn abandoning(&self) -> i32
Returns the value of abandoning
, or the default value if abandoning
is unset.
Trait Implementations§
source§impl Clone for InstanceGroupManagerActionsSummary
impl Clone for InstanceGroupManagerActionsSummary
source§fn clone(&self) -> InstanceGroupManagerActionsSummary
fn clone(&self) -> InstanceGroupManagerActionsSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for InstanceGroupManagerActionsSummary
impl Message for InstanceGroupManagerActionsSummary
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 InstanceGroupManagerActionsSummary
impl PartialEq for InstanceGroupManagerActionsSummary
source§fn eq(&self, other: &InstanceGroupManagerActionsSummary) -> bool
fn eq(&self, other: &InstanceGroupManagerActionsSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for InstanceGroupManagerActionsSummary
impl StructuralPartialEq for InstanceGroupManagerActionsSummary
Auto Trait Implementations§
impl Freeze for InstanceGroupManagerActionsSummary
impl RefUnwindSafe for InstanceGroupManagerActionsSummary
impl Send for InstanceGroupManagerActionsSummary
impl Sync for InstanceGroupManagerActionsSummary
impl Unpin for InstanceGroupManagerActionsSummary
impl UnwindSafe for InstanceGroupManagerActionsSummary
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