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\u003eThe \u003ccode\u003eClusterSelector\u003c/code\u003e class in the Google Cloud Dataproc v1 API is used to select target clusters for jobs based on metadata, such as labels and zone.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference for versions ranging from 3.1.0 to the latest version, 5.17.0, of the Google Cloud Dataproc v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClusterSelector\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClusterSelector\u003c/code\u003e class has two constructors, one is parameterless and another takes a \u003ccode\u003eClusterSelector\u003c/code\u003e object as parameter, as well as properties for \u003ccode\u003eClusterLabels\u003c/code\u003e and \u003ccode\u003eZone\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterLabels\u003c/code\u003e property, which is required, specifies the labels that a cluster must have to be considered a match, while \u003ccode\u003eZone\u003c/code\u003e is optional and used for workflow process execution.\u003c/p\u003e\n"]]],[],null,[]]