Struct gapi_grpc::google::container::v1::Operation [−][src]
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
Output only. 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
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.
progress: Option<OperationProgress>
Output only. [Output only] Progress information for an operation.
cluster_conditions: Vec<StatusCondition>
Which conditions caused the current cluster state.
nodepool_conditions: Vec<StatusCondition>
Which conditions caused the current node pool state.
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,