google_api_dataproc v0.6.0 GoogleApi.Dataproc.V1.Model.WorkflowTemplate View Source

A Cloud Dataproc workflow template resource.

Attributes

  • parameters ([TemplateParameter]): Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated. Defaults to: null.
  • createTime (DateTime.t): Output only. The time template was created. Defaults to: null.
  • id (String.t): Required. The template id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters. Defaults to: null.
  • jobs ([OrderedJob]): Required. The Directed Acyclic Graph of Jobs to submit. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template. Defaults to: null.
  • name (String.t): Output only. The "resource name" of the template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id} Defaults to: null.
  • placement (WorkflowTemplatePlacement): Required. WorkflowTemplate scheduling information. Defaults to: null.
  • updateTime (DateTime.t): Output only. The time template was last updated. Defaults to: null.
  • version (integer()): Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Dataproc.V1.Model.WorkflowTemplate{
  createTime: DateTime.t(),
  id: any(),
  jobs: [GoogleApi.Dataproc.V1.Model.OrderedJob.t()],
  labels: map(),
  name: any(),
  parameters: [GoogleApi.Dataproc.V1.Model.TemplateParameter.t()],
  placement: GoogleApi.Dataproc.V1.Model.WorkflowTemplatePlacement.t(),
  updateTime: DateTime.t(),
  version: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.