Show / Hide Table of Contents

Class WorkflowTemplate

A Dataproc workflow template resource.

Inheritance
System.Object
WorkflowTemplate
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dataproc.v1.Data
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class WorkflowTemplate : IDirectResponseSchema

Properties

CreateTime

Output only. The time template was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Jobs

Required. The Directed Acyclic Graph of Jobs to submit.

Declaration
[JsonProperty("jobs")]
public virtual IList<OrderedJob> Jobs { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderedJob>

Labels

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.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

Name

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}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Parameters

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

Declaration
[JsonProperty("parameters")]
public virtual IList<TemplateParameter> Parameters { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<TemplateParameter>

Placement

Required. WorkflowTemplate scheduling information.

Declaration
[JsonProperty("placement")]
public virtual WorkflowTemplatePlacement Placement { get; set; }
Property Value
Type Description
WorkflowTemplatePlacement

UpdateTime

Output only. The time template was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Version

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.

Declaration
[JsonProperty("version")]
public virtual int? Version { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top