Struct google_api_proto::google::cloud::dataproc::v1::WorkflowMetadata
source · pub struct WorkflowMetadata {Show 14 fields
pub template: String,
pub version: i32,
pub create_cluster: Option<ClusterOperation>,
pub graph: Option<WorkflowGraph>,
pub delete_cluster: Option<ClusterOperation>,
pub state: i32,
pub cluster_name: String,
pub parameters: BTreeMap<String, String>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub cluster_uuid: String,
pub dag_timeout: Option<Duration>,
pub dag_start_time: Option<Timestamp>,
pub dag_end_time: Option<Timestamp>,
}
Expand description
A Dataproc workflow template resource.
Fields§
§template: String
Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.
-
For
projects.regions.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
-
For
projects.locations.workflowTemplates
, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
version: i32
Output only. The version of template at the time of workflow instantiation.
create_cluster: Option<ClusterOperation>
Output only. The create cluster operation metadata.
graph: Option<WorkflowGraph>
Output only. The workflow graph.
delete_cluster: Option<ClusterOperation>
Output only. The delete cluster operation metadata.
state: i32
Output only. The workflow state.
cluster_name: String
Output only. The name of the target cluster.
parameters: BTreeMap<String, String>
Map from parameter names to values that were used for those parameters.
start_time: Option<Timestamp>
Output only. Workflow start time.
end_time: Option<Timestamp>
Output only. Workflow end time.
cluster_uuid: String
Output only. The UUID of target cluster.
dag_timeout: Option<Duration>
Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).
dag_start_time: Option<Timestamp>
Output only. DAG start time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG begins.
dag_end_time: Option<Timestamp>
Output only. DAG end time, only set for workflows with [dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout] when DAG ends.
Implementations§
Trait Implementations§
source§impl Clone for WorkflowMetadata
impl Clone for WorkflowMetadata
source§fn clone(&self) -> WorkflowMetadata
fn clone(&self) -> WorkflowMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkflowMetadata
impl Debug for WorkflowMetadata
source§impl Default for WorkflowMetadata
impl Default for WorkflowMetadata
source§impl Message for WorkflowMetadata
impl Message for WorkflowMetadata
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for WorkflowMetadata
impl PartialEq for WorkflowMetadata
source§fn eq(&self, other: &WorkflowMetadata) -> bool
fn eq(&self, other: &WorkflowMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkflowMetadata
Auto Trait Implementations§
impl Freeze for WorkflowMetadata
impl RefUnwindSafe for WorkflowMetadata
impl Send for WorkflowMetadata
impl Sync for WorkflowMetadata
impl Unpin for WorkflowMetadata
impl UnwindSafe for WorkflowMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request