Struct gapi_grpc::google::container::v1alpha1::Operation[][src]

pub struct Operation {
    pub name: String,
    pub zone: String,
    pub operation_type: i32,
    pub status: i32,
    pub detail: String,
    pub status_message: String,
    pub self_link: String,
    pub target_link: String,
    pub location: String,
    pub start_time: String,
    pub end_time: String,
}

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

Fields

name: String

The server-assigned ID for the operation.

zone: String

The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.

operation_type: i32

The operation type.

status: i32

The current status of the operation.

detail: String

Detailed operation progress, if available.

status_message: String

If an error has occurred, a textual description of the error.

self_link: String

Server-defined URL for the resource.

target_link: String

Server-defined URL for the target of the operation.

location: String

[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

start_time: String

[Output only] The time the operation started, in RFC3339 text format.

end_time: String

[Output only] The time the operation completed, in RFC3339 text format.

Implementations

impl Operation[src]

pub fn operation_type(&self) -> Type[src]

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

pub fn set_operation_type(&mut self, value: Type)[src]

Sets operation_type to the provided enum value.

pub fn status(&self) -> Status[src]

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

pub fn set_status(&mut self, value: Status)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for Operation[src]

impl Debug for Operation[src]

impl Default for Operation[src]

impl Message for Operation[src]

impl PartialEq<Operation> for Operation[src]

impl StructuralPartialEq for Operation[src]

Auto Trait Implementations

impl RefUnwindSafe for Operation

impl Send for Operation

impl Sync for Operation

impl Unpin for Operation

impl UnwindSafe for Operation

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]