public sealed class MigrateKeyRequest : IMessage<MigrateKeyRequest>, IEquatable<MigrateKeyRequest>, IDeepCloneable<MigrateKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class MigrateKeyRequest.
Optional. If true, skips the billing check.
A reCAPTCHA Enterprise key or migrated key behaves differently than a
reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
https://cloud.google.com/recaptcha/quotas#quota_limit). To avoid
any disruption of your usage, we check that a billing account is present.
If your usage of reCAPTCHA is under the free quota, you can safely skip the
billing check and proceed with the migration. See
https://cloud.google.com/recaptcha/docs/billing-information.
[[["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 available for the \u003ccode\u003eMigrateKeyRequest\u003c/code\u003e class in the Google Cloud reCAPTCHA Enterprise v1 API is 2.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eMigrateKeyRequest\u003c/code\u003e, serves as a message type for requesting the migration of a reCAPTCHA key.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMigrateKeyRequest\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with the ability to be implemented to objects.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMigrateKeyRequest\u003c/code\u003e class include \u003ccode\u003eKeyName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e (the key to be migrated), and \u003ccode\u003eSkipBillingCheck\u003c/code\u003e (for bypassing billing verification).\u003c/p\u003e\n"],["\u003cp\u003eThere is a range of versions available for this class, starting from version 1.2.0, with versions that go up to 2.17.0, and can be accessed through their corresponding links.\u003c/p\u003e\n"]]],[],null,["# Google Cloud reCAPTCHA Enterprise v1 API - Class MigrateKeyRequest (2.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.18.0 (latest)](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.17.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.16.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.15.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.14.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.13.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.12.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.11.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.10.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.9.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.8.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.7.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.6.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.5.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.4.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.3.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.2.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.1.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.0.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.6.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.5.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.4.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.3.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.2.0/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest) \n\n public sealed class MigrateKeyRequest : IMessage\u003cMigrateKeyRequest\u003e, IEquatable\u003cMigrateKeyRequest\u003e, IDeepCloneable\u003cMigrateKeyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class MigrateKeyRequest.\n\nThe migrate key request message. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MigrateKeyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MigrateKeyRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MigrateKeyRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MigrateKeyRequest](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest), [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.RecaptchaEnterprise.V1](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecaptchaEnterprise.V1.dll\n\nConstructors\n------------\n\n### MigrateKeyRequest()\n\n public MigrateKeyRequest()\n\n### MigrateKeyRequest(MigrateKeyRequest)\n\n public MigrateKeyRequest(MigrateKeyRequest other)\n\nProperties\n----------\n\n### KeyName\n\n public KeyName KeyName { get; set; }\n\n[KeyName](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.KeyName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.MigrateKeyRequest#Google_Cloud_RecaptchaEnterprise_V1_MigrateKeyRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the key to be migrated, in the format\n`projects/{project}/keys/{key}`.\n\n### SkipBillingCheck\n\n public bool SkipBillingCheck { get; set; }\n\nOptional. If true, skips the billing check.\nA reCAPTCHA Enterprise key or migrated key behaves differently than a\nreCAPTCHA (non-Enterprise version) key when you reach a quota limit (see\n\u003chttps://cloud.google.com/recaptcha/quotas#quota_limit\u003e). To avoid\nany disruption of your usage, we check that a billing account is present.\nIf your usage of reCAPTCHA is under the free quota, you can safely skip the\nbilling check and proceed with the migration. See\n\u003chttps://cloud.google.com/recaptcha/docs/billing-information\u003e."]]