public sealed class WorkflowMetadata : IMessage<WorkflowMetadata>, IEquatable<WorkflowMetadata>, IDeepCloneable<WorkflowMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class WorkflowMetadata.
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Dataproc v1 API class WorkflowMetadata is 5.17.0, with older versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eWorkflowMetadata is a Dataproc workflow template resource used to manage workflows and is part of the Google.Cloud.Dataproc.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties for managing cluster information, workflow timing (start, end, DAG start/end, DAG timeout), workflow graphs, and template details.\u003c/p\u003e\n"],["\u003cp\u003eThe WorkflowMetadata class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits members from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating new WorkflowMetadata instances and copying existing instances.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class WorkflowMetadata (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.WorkflowMetadata)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.WorkflowMetadata) \n\n public sealed class WorkflowMetadata : IMessage\u003cWorkflowMetadata\u003e, IEquatable\u003cWorkflowMetadata\u003e, IDeepCloneable\u003cWorkflowMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class WorkflowMetadata.\n\nA Dataproc workflow template resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkflowMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkflowMetadata](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkflowMetadata](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkflowMetadata](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### WorkflowMetadata()\n\n public WorkflowMetadata()\n\n### WorkflowMetadata(WorkflowMetadata)\n\n public WorkflowMetadata(WorkflowMetadata other)\n\nProperties\n----------\n\n### ClusterName\n\n public string ClusterName { get; set; }\n\nOutput only. The name of the target cluster.\n\n### ClusterUuid\n\n public string ClusterUuid { get; set; }\n\nOutput only. The UUID of target cluster.\n\n### CreateCluster\n\n public ClusterOperation CreateCluster { get; set; }\n\nOutput only. The create cluster operation metadata.\n\n### DagEndTime\n\n public Timestamp DagEndTime { get; set; }\n\nOutput only. DAG end time, only set for workflows with\n\\[dag_timeout\\]\\[google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\\] when\nDAG ends.\n\n### DagStartTime\n\n public Timestamp DagStartTime { get; set; }\n\nOutput only. DAG start time, only set for workflows with\n\\[dag_timeout\\]\\[google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\\] when\nDAG begins.\n\n### DagTimeout\n\n public Duration DagTimeout { get; set; }\n\nOutput only. The timeout duration for the DAG of jobs, expressed in seconds\n(see [JSON representation of\nduration](https://developers.google.com/protocol-buffers/docs/proto3#json)).\n\n### DeleteCluster\n\n public ClusterOperation DeleteCluster { get; set; }\n\nOutput only. The delete cluster operation metadata.\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nOutput only. Workflow end time.\n\n### Graph\n\n public WorkflowGraph Graph { get; set; }\n\nOutput only. The workflow graph.\n\n### Parameters\n\n public MapField\u003cstring, string\u003e Parameters { get; }\n\nMap from parameter names to values that were used for those parameters.\n\n### StartTime\n\n public Timestamp StartTime { get; set; }\n\nOutput only. Workflow start time.\n\n### State\n\n public WorkflowMetadata.Types.State State { get; set; }\n\nOutput only. The workflow state.\n\n### Template\n\n public string Template { get; set; }\n\nOutput only. The resource name of the workflow template as described\nin \u003chttps://cloud.google.com/apis/design/resource_names\u003e.\n\n- For `projects.regions.workflowTemplates`, the resource name of the\n template has the following format:\n `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n\n- For `projects.locations.workflowTemplates`, the resource name of the\n template has the following format:\n `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`\n\n### Version\n\n public int Version { get; set; }\n\nOutput only. The version of template at the time of\nworkflow instantiation."]]