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\u003eThe \u003ccode\u003eMachinePreferences\u003c/code\u003e class in the Migration Center v1 API is used to specify the types of machines that should be considered when generating migration insights and recommendations for virtual machines.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMachinePreferences\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e namespace, and is located within the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: a default constructor and another that accepts an existing \u003ccode\u003eMachinePreferences\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedMachineSeries\u003c/code\u003e property is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eMachineSeries\u003c/code\u003e which allows you to set the compute engine machine series to be considered for analysis, with no restrictions if it is left empty.\u003c/p\u003e\n"]]],[],null,[]]