Struct gapi_grpc::google::container::v1beta1::UpgradeEvent[][src]

pub struct UpgradeEvent {
    pub resource_type: i32,
    pub operation: String,
    pub operation_start_time: Option<Timestamp>,
    pub current_version: String,
    pub target_version: String,
    pub resource: String,
}

UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.

Fields

resource_type: i32

Required. The resource type that is upgrading.

operation: String

Required. The operation associated with this upgrade.

operation_start_time: Option<Timestamp>

Required. The time when the operation was started.

current_version: String

Required. The current version before the upgrade.

target_version: String

Required. The target version for the upgrade.

resource: String

Optional. Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

Implementations

impl UpgradeEvent[src]

pub fn resource_type(&self) -> UpgradeResourceType[src]

Returns the enum value of resource_type, or the default if the field is set to an invalid enum value.

pub fn set_resource_type(&mut self, value: UpgradeResourceType)[src]

Sets resource_type to the provided enum value.

Trait Implementations

impl Clone for UpgradeEvent[src]

impl Debug for UpgradeEvent[src]

impl Default for UpgradeEvent[src]

impl Message for UpgradeEvent[src]

impl PartialEq<UpgradeEvent> for UpgradeEvent[src]

impl StructuralPartialEq for UpgradeEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for UpgradeEvent

impl Send for UpgradeEvent

impl Sync for UpgradeEvent

impl Unpin for UpgradeEvent

impl UnwindSafe for UpgradeEvent

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]