#[non_exhaustive]pub struct RunWorkflowCustomOperationMetadata {
pub create_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub verb: String,
pub requested_cancellation: bool,
pub api_version: String,
pub target: String,
pub pipeline_run_id: String,
/* private fields */
}Expand description
Represents the custom metadata of the RunWorkflow long-running operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.create_time: Option<Timestamp>Output only. The time the operation was created.
end_time: Option<Timestamp>Output only. The time the operation finished running.
verb: StringOutput only. Name of the verb executed by the operation.
requested_cancellation: boolOutput only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a
google.rpc.Status.code of 1, corresponding to
Code.CANCELLED.
api_version: StringOutput only. API version used to start the operation.
target: StringOutput only. Server-defined resource path for the target of the operation.
pipeline_run_id: StringOutput only. ID of the pipeline run created by RunWorkflow.
Implementations§
Source§impl RunWorkflowCustomOperationMetadata
impl RunWorkflowCustomOperationMetadata
pub fn new() -> Self
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_end_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_end_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of end_time.
Sourcepub fn set_requested_cancellation<T: Into<bool>>(self, v: T) -> Self
pub fn set_requested_cancellation<T: Into<bool>>(self, v: T) -> Self
Sets the value of requested_cancellation.
Sourcepub fn set_api_version<T: Into<String>>(self, v: T) -> Self
pub fn set_api_version<T: Into<String>>(self, v: T) -> Self
Sets the value of api_version.
Sourcepub fn set_target<T: Into<String>>(self, v: T) -> Self
pub fn set_target<T: Into<String>>(self, v: T) -> Self
Sets the value of target.
Sourcepub fn set_pipeline_run_id<T: Into<String>>(self, v: T) -> Self
pub fn set_pipeline_run_id<T: Into<String>>(self, v: T) -> Self
Sets the value of pipeline_run_id.
Trait Implementations§
Source§impl Clone for RunWorkflowCustomOperationMetadata
impl Clone for RunWorkflowCustomOperationMetadata
Source§fn clone(&self) -> RunWorkflowCustomOperationMetadata
fn clone(&self) -> RunWorkflowCustomOperationMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for RunWorkflowCustomOperationMetadata
impl Default for RunWorkflowCustomOperationMetadata
Source§fn default() -> RunWorkflowCustomOperationMetadata
fn default() -> RunWorkflowCustomOperationMetadata
Source§impl<'de> Deserialize<'de> for RunWorkflowCustomOperationMetadata
impl<'de> Deserialize<'de> for RunWorkflowCustomOperationMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for RunWorkflowCustomOperationMetadata
impl PartialEq for RunWorkflowCustomOperationMetadata
Source§fn eq(&self, other: &RunWorkflowCustomOperationMetadata) -> bool
fn eq(&self, other: &RunWorkflowCustomOperationMetadata) -> bool
self and other values to be equal, and is used by ==.