[][src]Struct gcp_client::google::cloud::dataproc::v1::InstantiateWorkflowTemplateRequest

pub struct InstantiateWorkflowTemplateRequest {
    pub name: String,
    pub version: i32,
    pub request_id: String,
    pub parameters: HashMap<String, String>,
}

A request to instantiate a workflow template.

Fields

name: String

Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

version: i32

Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.

This option cannot be used to instantiate a previous version of workflow template.

request_id: String

Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.

It is recommended to always set this value to a UUID.

The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

parameters: HashMap<String, String>

Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 100 characters.

Trait Implementations

impl Clone for InstantiateWorkflowTemplateRequest[src]

impl Debug for InstantiateWorkflowTemplateRequest[src]

impl Default for InstantiateWorkflowTemplateRequest[src]

impl Message for InstantiateWorkflowTemplateRequest[src]

impl PartialEq<InstantiateWorkflowTemplateRequest> for InstantiateWorkflowTemplateRequest[src]

impl StructuralPartialEq for InstantiateWorkflowTemplateRequest[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]