public sealed class ClusterSelector : IMessage<ClusterSelector>, IEquatable<ClusterSelector>, IDeepCloneable<ClusterSelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class ClusterSelector.
A selector that chooses target cluster for jobs based on metadata.
[[["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 page provides documentation for the \u003ccode\u003eClusterSelector\u003c/code\u003e class within the Google Cloud Dataproc v1 API, with the latest version being 5.17.0, and 5.14.0 as the version associated with the page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClusterSelector\u003c/code\u003e is used to select target clusters for jobs based on specified metadata, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterSelector\u003c/code\u003e class includes properties such as \u003ccode\u003eClusterLabels\u003c/code\u003e, which is a required map of cluster labels for matching, and \u003ccode\u003eZone\u003c/code\u003e, which is an optional string for specifying the workflow execution zone.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the API from 3.1.0 to the latest 5.17.0, providing links to the documentation for each version of \u003ccode\u003eClusterSelector\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterSelector\u003c/code\u003e class has two constructors: a parameterless constructor and one that accepts another \u003ccode\u003eClusterSelector\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]