pub struct Operation {
Show 15 fields pub cluster_conditions: Option<Vec<StatusCondition>>, pub detail: Option<String>, pub end_time: Option<String>, pub error: Option<Status>, pub location: Option<String>, pub name: Option<String>, pub nodepool_conditions: Option<Vec<StatusCondition>>, pub operation_type: Option<String>, pub progress: Option<OperationProgress>, pub self_link: Option<String>, pub start_time: Option<String>, pub status: Option<String>, pub status_message: Option<String>, pub target_link: Option<String>, pub zone: Option<String>,
}
Expand description

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

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§cluster_conditions: Option<Vec<StatusCondition>>

Which conditions caused the current cluster state. Deprecated. Use field error instead.

§detail: Option<String>

Detailed operation progress, if available.

§end_time: Option<String>

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

§error: Option<Status>

The error result of the operation in case of failure.

§location: Option<String>

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

§name: Option<String>

The server-assigned ID for the operation.

§nodepool_conditions: Option<Vec<StatusCondition>>

Which conditions caused the current node pool state. Deprecated. Use field error instead.

§operation_type: Option<String>

The operation type.

§progress: Option<OperationProgress>

Output only. [Output only] Progress information for an operation.

§self_link: Option<String>

Server-defined URL for the resource.

§start_time: Option<String>

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

§status: Option<String>

The current status of the operation.

§status_message: Option<String>

Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.

§target_link: Option<String>

Server-defined URL for the target of the operation.

§zone: Option<String>

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

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more