public sealed class ClusterSelector : IMessage<ClusterSelector>, IEquatable<ClusterSelector>, IDeepCloneable<ClusterSelector>, IBufferMessage, IMessage
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 \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace allows for selecting target clusters for jobs based on metadata, specifically cluster labels.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eClusterSelector\u003c/code\u003e is 5.17.0, and there are various versions available, ranging from 3.1.0 to 5.17.0, with each being linked to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClusterSelector\u003c/code\u003e has properties for \u003ccode\u003eClusterLabels\u003c/code\u003e, which are required and used to match clusters, and \u003ccode\u003eZone\u003c/code\u003e, which is an optional parameter to specify the zone for workflow execution, but it does not affect cluster selection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterSelector\u003c/code\u003e class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and implements several interfaces including \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 class includes two constructors: a parameterless one for default initialization, and another that takes another \u003ccode\u003eClusterSelector\u003c/code\u003e object to allow the creation of a new instance based on existing object.\u003c/p\u003e\n"]]],[],null,[]]