public sealed class RegionPreferences : IMessage<RegionPreferences>, IEquatable<RegionPreferences>, IDeepCloneable<RegionPreferences>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class RegionPreferences.
[[["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\u003eRegionPreferences\u003c/code\u003e class within the Google Cloud Migration Center v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRegionPreferences\u003c/code\u003e is a class that defines user preferences related to target Google Cloud regions, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces like \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\u003eThe \u003ccode\u003eRegionPreferences\u003c/code\u003e class has two constructors, one default and another which accepts an existing \u003ccode\u003eRegionPreferences\u003c/code\u003e object as a parameter, allowing for the creation of a new \u003ccode\u003eRegionPreferences\u003c/code\u003e instance based on an existing one.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003ePreferredRegions\u003c/code\u003e property, a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e that lists preferred Google Cloud regions, ordered from most to least preferred.\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions of this API available, with the latest being 1.4.0.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class RegionPreferences (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.RegionPreferences)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.RegionPreferences)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.RegionPreferences)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.RegionPreferences)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.RegionPreferences) \n\n public sealed class RegionPreferences : IMessage\u003cRegionPreferences\u003e, IEquatable\u003cRegionPreferences\u003e, IDeepCloneable\u003cRegionPreferences\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Migration Center v1 API class RegionPreferences.\n\nThe user preferences relating to target regions. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RegionPreferences \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RegionPreferences](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.RegionPreferences), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RegionPreferences](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.RegionPreferences), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RegionPreferences](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.RegionPreferences), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.MigrationCenter.V1](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.MigrationCenter.V1.dll\n\nConstructors\n------------\n\n### RegionPreferences()\n\n public RegionPreferences()\n\n### RegionPreferences(RegionPreferences)\n\n public RegionPreferences(RegionPreferences other)\n\nProperties\n----------\n\n### PreferredRegions\n\n public RepeatedField\u003cstring\u003e PreferredRegions { get; }\n\nA list of preferred regions,\nordered by the most preferred region first.\nSet only valid Google Cloud region names.\nSee \u003chttps://cloud.google.com/compute/docs/regions-zones\u003e\nfor available regions."]]