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 documentation provides reference information for the \u003ccode\u003eMachinePreferences\u003c/code\u003e class within the Google Cloud Migration Center v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMachinePreferences\u003c/code\u003e is used to define the types of machines to be considered when calculating virtual machine migration insights and recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, indicating its capabilities within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedMachineSeries\u003c/code\u003e property, a \u003ccode\u003eRepeatedField\u003c/code\u003e, allows for specifying which Compute Engine machine series should be included in migration insights and recommendations, with no restrictions if left empty.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the latest version 1.4.0, and previous versions going back to 1.0.0, as well as providing both constructors available for \u003ccode\u003eMachinePreferences\u003c/code\u003e and their required parameters.\u003c/p\u003e\n"]]],[],null,[]]