public sealed class MachinePreferences : IMessage<MachinePreferences>, IEquatable<MachinePreferences>, IDeepCloneable<MachinePreferences>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class MachinePreferences.
The type of machines to consider when calculating virtual machine migration
insights and recommendations.
Not all machine types are available in all zones and regions.
[[["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 reference documentation for the \u003ccode\u003eMachinePreferences\u003c/code\u003e class within the Google Cloud Migration Center v1 API, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMachinePreferences\u003c/code\u003e is a class used to specify the types of machines considered when generating virtual machine migration insights and recommendations, taking into account that not all machine types are universally available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMachinePreferences\u003c/code\u003e 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, to handle various functionalities such as message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor, \u003ccode\u003eMachinePreferences()\u003c/code\u003e, and a copy constructor, \u003ccode\u003eMachinePreferences(MachinePreferences other)\u003c/code\u003e, that allows for the creation of new instances based on existing \u003ccode\u003eMachinePreferences\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedMachineSeries\u003c/code\u003e property within \u003ccode\u003eMachinePreferences\u003c/code\u003e is a \u003ccode\u003eRepeatedField\u003c/code\u003e that lets users to define which Compute Engine machine series should be taken into consideration for generating insights and recommendations.\u003c/p\u003e\n"]]],[],null,[]]