public sealed class WorkflowTemplatePlacement : IMessage<WorkflowTemplatePlacement>, IEquatable<WorkflowTemplatePlacement>, IDeepCloneable<WorkflowTemplatePlacement>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class WorkflowTemplatePlacement.
Specifies workflow execution target.
Either managed_cluster or cluster_selector is required.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eWorkflowTemplatePlacement\u003c/code\u003e class within the Google Cloud Dataproc v1 API, used to specify the target for workflow executions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eWorkflowTemplatePlacement\u003c/code\u003e documentation is for version 5.17.0, with a range of previous versions also available from 3.1.0 to 5.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkflowTemplatePlacement\u003c/code\u003e class requires either a \u003ccode\u003emanaged_cluster\u003c/code\u003e or \u003ccode\u003ecluster_selector\u003c/code\u003e property to be defined to determine where the workflow should be executed.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing core functionalities for the class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eClusterSelector\u003c/code\u003e and \u003ccode\u003eManagedCluster\u003c/code\u003e, along with a \u003ccode\u003ePlacementCase\u003c/code\u003e property to represent how a target is defined, and it contains constructors that allow for creating a new \u003ccode\u003eWorkflowTemplatePlacement\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class WorkflowTemplatePlacement (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.WorkflowTemplatePlacement)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement) \n\n public sealed class WorkflowTemplatePlacement : IMessage\u003cWorkflowTemplatePlacement\u003e, IEquatable\u003cWorkflowTemplatePlacement\u003e, IDeepCloneable\u003cWorkflowTemplatePlacement\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class WorkflowTemplatePlacement.\n\nSpecifies workflow execution target.\n\nEither `managed_cluster` or `cluster_selector` is required. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkflowTemplatePlacement \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkflowTemplatePlacement](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkflowTemplatePlacement](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkflowTemplatePlacement](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowTemplatePlacement), [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### WorkflowTemplatePlacement()\n\n public WorkflowTemplatePlacement()\n\n### WorkflowTemplatePlacement(WorkflowTemplatePlacement)\n\n public WorkflowTemplatePlacement(WorkflowTemplatePlacement other)\n\nProperties\n----------\n\n### ClusterSelector\n\n public ClusterSelector ClusterSelector { get; set; }\n\nOptional. A selector that chooses target cluster for jobs based\non metadata.\n\nThe selector is evaluated at the time each job is submitted.\n\n### ManagedCluster\n\n public ManagedCluster ManagedCluster { get; set; }\n\nA cluster that is managed by the workflow.\n\n### PlacementCase\n\n public WorkflowTemplatePlacement.PlacementOneofCase PlacementCase { get; }"]]