WorkflowTemplateArgs

data class WorkflowTemplateArgs(val dagTimeout: Output<String>? = null, val id: Output<String>? = null, val jobs: Output<List<OrderedJobArgs>>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val parameters: Output<List<TemplateParameterArgs>>? = null, val placement: Output<WorkflowTemplatePlacementArgs>? = null, val project: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<WorkflowTemplateArgs>

Creates new workflow template. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun WorkflowTemplateArgs(dagTimeout: Output<String>? = null, id: Output<String>? = null, jobs: Output<List<OrderedJobArgs>>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, parameters: Output<List<TemplateParameterArgs>>? = null, placement: Output<WorkflowTemplatePlacementArgs>? = null, project: Output<String>? = null, version: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): WorkflowTemplateArgs

Properties

Link copied to clipboard
val dagTimeout: Output<String>? = null

Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). The timeout duration must be from 10 minutes ("600s") to 24 hours ("86400s"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.

Link copied to clipboard
val id: Output<String>? = null
Link copied to clipboard
val jobs: Output<List<OrderedJobArgs>>? = null

The Directed Acyclic Graph of Jobs to submit.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val parameters: Output<List<TemplateParameterArgs>>? = null

Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.

Link copied to clipboard

WorkflowTemplate scheduling information.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val version: Output<Int>? = null

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.