A flag to indicate whether to skip OS adaptation during the replication
sync. OS adaptation is a process where the VM's operating system undergoes
changes and adaptations to fully function on Compute Engine.
[[["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 latest version of the \u003ccode\u003eSchedulePolicy\u003c/code\u003e class in the VM Migration v1 API is 2.6.0, with previous versions available from 2.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSchedulePolicy\u003c/code\u003e is a class used to define the timing and settings for VM replications and it inherits from the object class while implementing multiple interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003eIdleDuration\u003c/code\u003e, which specifies the duration between replication stages, and \u003ccode\u003eSkipOsAdaptation\u003c/code\u003e, a boolean flag indicating whether to skip operating system adaptations during replication.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one being the empty \u003ccode\u003eSchedulePolicy()\u003c/code\u003e, and the other accepting another \u003ccode\u003eSchedulePolicy\u003c/code\u003e instance as an argument, allowing for the copying of an existing policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchedulePolicy\u003c/code\u003e class is found within the Google.Cloud.VMMigration.V1 namespace and is contained within the Google.Cloud.VMMigration.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class SchedulePolicy (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.SchedulePolicy)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.SchedulePolicy) \n\n public sealed class SchedulePolicy : IMessage\u003cSchedulePolicy\u003e, IEquatable\u003cSchedulePolicy\u003e, IDeepCloneable\u003cSchedulePolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the VM Migration v1 API class SchedulePolicy.\n\nA policy for scheduling replications. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SchedulePolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SchedulePolicy](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SchedulePolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SchedulePolicy](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SchedulePolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SchedulePolicy](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SchedulePolicy), [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.VMMigration.V1](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VMMigration.V1.dll\n\nConstructors\n------------\n\n### SchedulePolicy()\n\n public SchedulePolicy()\n\n### SchedulePolicy(SchedulePolicy)\n\n public SchedulePolicy(SchedulePolicy other)\n\nProperties\n----------\n\n### IdleDuration\n\n public Duration IdleDuration { get; set; }\n\nThe idle duration between replication stages.\n\n### SkipOsAdaptation\n\n public bool SkipOsAdaptation { get; set; }\n\nA flag to indicate whether to skip OS adaptation during the replication\nsync. OS adaptation is a process where the VM's operating system undergoes\nchanges and adaptations to fully function on Compute Engine."]]