Struct google_api_proto::google::cloud::notebooks::v1::instance::UpgradeHistoryEntry
source · pub struct UpgradeHistoryEntry {
pub snapshot: String,
pub vm_image: String,
pub container_image: String,
pub framework: String,
pub version: String,
pub state: i32,
pub create_time: Option<Timestamp>,
pub target_image: String,
pub action: i32,
pub target_version: String,
}
Expand description
The entry of VM image upgrade history.
Fields§
§snapshot: String
The snapshot of the boot disk of this notebook instance before upgrade.
vm_image: String
The VM image before this instance upgrade.
container_image: String
The container image before this instance upgrade.
framework: String
The framework of this notebook instance.
version: String
The version of the notebook instance before this upgrade.
state: i32
The state of this instance upgrade history entry.
create_time: Option<Timestamp>
The time that this instance upgrade history entry is created.
target_image: String
Target VM Image. Format: ainotebooks-vm/project/image-name/name
.
action: i32
Action. Rolloback or Upgrade.
target_version: String
Target VM Version, like m63.
Implementations§
source§impl UpgradeHistoryEntry
impl UpgradeHistoryEntry
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn action(&self) -> Action
pub fn action(&self) -> Action
Returns the enum value of action
, or the default if the field is set to an invalid enum value.
sourcepub fn set_action(&mut self, value: Action)
pub fn set_action(&mut self, value: Action)
Sets action
to the provided enum value.
Trait Implementations§
source§impl Clone for UpgradeHistoryEntry
impl Clone for UpgradeHistoryEntry
source§fn clone(&self) -> UpgradeHistoryEntry
fn clone(&self) -> UpgradeHistoryEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeHistoryEntry
impl Debug for UpgradeHistoryEntry
source§impl Default for UpgradeHistoryEntry
impl Default for UpgradeHistoryEntry
source§impl Message for UpgradeHistoryEntry
impl Message for UpgradeHistoryEntry
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 UpgradeHistoryEntry
impl PartialEq for UpgradeHistoryEntry
source§fn eq(&self, other: &UpgradeHistoryEntry) -> bool
fn eq(&self, other: &UpgradeHistoryEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpgradeHistoryEntry
Auto Trait Implementations§
impl Freeze for UpgradeHistoryEntry
impl RefUnwindSafe for UpgradeHistoryEntry
impl Send for UpgradeHistoryEntry
impl Sync for UpgradeHistoryEntry
impl Unpin for UpgradeHistoryEntry
impl UnwindSafe for UpgradeHistoryEntry
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