public sealed class InstanceFlexibilityPolicy.Types.InstanceSelection : IMessage<InstanceFlexibilityPolicy.Types.InstanceSelection>, IEquatable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IDeepCloneable<InstanceFlexibilityPolicy.Types.InstanceSelection>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class InstanceFlexibilityPolicy.Types.InstanceSelection.
Defines machines types and a rank to which the machines types belong.
Optional. Preference of this instance selection. Lower number means
higher preference. Dataproc will first try to create a VM based on the
machine-type with priority rank and fallback to next rank based on
availability. Machine types and instance selections with the same
priority have the same preference.
[[["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 documentation for the \u003ccode\u003eInstanceFlexibilityPolicy.Types.InstanceSelection\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its use in defining machine types and their ranking.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly, and has an inheritance derived from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 5.17.0, with links to other version release notes, and \u003ccode\u003eInstanceFlexibilityPolicy.Types.InstanceSelection\u003c/code\u003e has been maintained across all versions from 3.1.0 to the current latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceSelection\u003c/code\u003e class has properties for managing \u003ccode\u003eMachineTypes\u003c/code\u003e (a list of machine-type names) and \u003ccode\u003eRank\u003c/code\u003e (the preference level for each instance selection), allowing you to prioritize preferred machine types.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and provides constructors to create new instances.\u003c/p\u003e\n"]]],[],null,[]]