[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::WorkflowMetadata

pub struct WorkflowMetadata {
    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: HashMap<String, String>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub cluster_uuid: String,
}

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: HashMap<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.

Implementations

impl WorkflowMetadata[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for WorkflowMetadata[src]

impl Debug for WorkflowMetadata[src]

impl Default for WorkflowMetadata[src]

impl Message for WorkflowMetadata[src]

impl PartialEq<WorkflowMetadata> for WorkflowMetadata[src]

impl StructuralPartialEq for WorkflowMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]