public sealed class MigrationStateEvent : IMessage<MigrationStateEvent>, IEquatable<MigrationStateEvent>, IDeepCloneable<MigrationStateEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Datastore v1 API class MigrationStateEvent.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eMigrationStateEvent\u003c/code\u003e class within the Google Cloud Datastore Admin V1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMigrationStateEvent\u003c/code\u003e class represents an event that signals a state change during a migration from Cloud Datastore to Cloud Firestore in Datastore mode.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.4.0, but there are multiple other versions available, ranging from 1.1.0 up to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMigrationStateEvent\u003c/code\u003e class includes properties such as \u003ccode\u003eState\u003c/code\u003e, which indicates the new state of the migration, as well as implementing several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides constructors for creating new instances of the \u003ccode\u003eMigrationStateEvent\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Cloud Datastore v1 API - Class MigrationStateEvent (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.3.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.2.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.1.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.0.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.4.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.3.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.2.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.1.0/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent) \n\n public sealed class MigrationStateEvent : IMessage\u003cMigrationStateEvent\u003e, IEquatable\u003cMigrationStateEvent\u003e, IDeepCloneable\u003cMigrationStateEvent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Datastore v1 API class MigrationStateEvent.\n\nAn event signifying a change in state of a [migration from Cloud Datastore to\nCloud Firestore in Datastore\nmode](https://cloud.google.com/datastore/docs/upgrade-to-firestore). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MigrationStateEvent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MigrationStateEvent](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MigrationStateEvent](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MigrationStateEvent](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.MigrationStateEvent), [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.Datastore.Admin.V1](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastore.Admin.V1.dll\n\nConstructors\n------------\n\n### MigrationStateEvent()\n\n public MigrationStateEvent()\n\n### MigrationStateEvent(MigrationStateEvent)\n\n public MigrationStateEvent(MigrationStateEvent other)\n\nProperties\n----------\n\n### State\n\n public MigrationState State { get; set; }\n\nThe new state of the migration."]]