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 page provides documentation for the \u003ccode\u003eInstanceFlexibilityPolicy.Types.InstanceSelection\u003c/code\u003e class within the Google Cloud Dataproc v1 API, with the most recent version being 5.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceFlexibilityPolicy.Types.InstanceSelection\u003c/code\u003e class is used to define machine types and assign them a rank, determining the preference order for machine selection during VM creation.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the class, starting from 3.1.0 up to the latest release, 5.17.0, allowing users to access documentation for specific versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eMachineTypes\u003c/code\u003e, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of strings representing full machine-type names, and \u003ccode\u003eRank\u003c/code\u003e, which is an integer representing the preference level of this instance selection.\u003c/p\u003e\n"]]],[],null,[]]