pub struct CancelOperationRequest {
pub name: Option<String>,
pub operation_id: Option<String>,
pub project_id: Option<String>,
pub zone: Option<String>,
}Expand description
CancelOperationRequest cancels a single operation.
§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).
- locations operations cancel projects (request)
- zones operations cancel projects (request)
Fields§
§name: Option<String>The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.
operation_id: Option<String>Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.
project_id: Option<String>Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
zone: Option<String>Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.
Trait Implementations§
Source§impl Clone for CancelOperationRequest
impl Clone for CancelOperationRequest
Source§fn clone(&self) -> CancelOperationRequest
fn clone(&self) -> CancelOperationRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more