public sealed class TransferDomainRequest : IMessage<TransferDomainRequest>, IEquatable<TransferDomainRequest>, IDeepCloneable<TransferDomainRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Domains v1 API class TransferDomainRequest.
Required. The complete Registration resource to be created.
You can leave registration.dns_settings unset to import the
domain's current DNS configuration from its current registrar. Use this
option only if you are sure that the domain's current DNS service
does not cease upon transfer, as is often the case for DNS services
provided for free by the registrar.
Required. Acknowledgement of the price to transfer or renew the domain for one year.
Call RetrieveTransferParameters to obtain the price, which you must
acknowledge.
[[["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 documentation is for the \u003ccode\u003eTransferDomainRequest\u003c/code\u003e class within the Google Cloud Domains v1 API, with version 2.4.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransferDomainRequest\u003c/code\u003e class facilitates the transfer of a domain to Google Cloud, and is an implementation of interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires several properties to be set for a successful transfer, including \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eRegistration\u003c/code\u003e, and \u003ccode\u003eYearlyPrice\u003c/code\u003e, in addition to an \u003ccode\u003eAuthorizationCode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes an option to validate the transfer request without actually executing the transfer via the \u003ccode\u003eValidateOnly\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eIt implements methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, inherited from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Cloud Domains v1 API - Class TransferDomainRequest (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.TransferDomainRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.3.0/Google.Cloud.Domains.V1.TransferDomainRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.2.0/Google.Cloud.Domains.V1.TransferDomainRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.1.0/Google.Cloud.Domains.V1.TransferDomainRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/2.0.0/Google.Cloud.Domains.V1.TransferDomainRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Domains.V1/1.0.0/Google.Cloud.Domains.V1.TransferDomainRequest) \n\n public sealed class TransferDomainRequest : IMessage\u003cTransferDomainRequest\u003e, IEquatable\u003cTransferDomainRequest\u003e, IDeepCloneable\u003cTransferDomainRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Domains v1 API class TransferDomainRequest.\n\nRequest for the `TransferDomain` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TransferDomainRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TransferDomainRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.TransferDomainRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TransferDomainRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.TransferDomainRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TransferDomainRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.TransferDomainRequest), [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.Domains.V1](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Domains.V1.dll\n\nConstructors\n------------\n\n### TransferDomainRequest()\n\n public TransferDomainRequest()\n\n### TransferDomainRequest(TransferDomainRequest)\n\n public TransferDomainRequest(TransferDomainRequest other)\n\nProperties\n----------\n\n### AuthorizationCode\n\n public AuthorizationCode AuthorizationCode { get; set; }\n\nThe domain's transfer authorization code. You can obtain this from the\ndomain's current registrar.\n\n### ContactNotices\n\n public RepeatedField\u003cContactNotice\u003e ContactNotices { get; }\n\nThe list of contact notices that you acknowledge. The notices\nneeded here depend on the values specified in\n`registration.contact_settings`.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the `Registration`. Must be in the\nformat `projects/*/locations/*`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.TransferDomainRequest#Google_Cloud_Domains_V1_TransferDomainRequest_Parent) resource name property.\n\n### Registration\n\n public Registration Registration { get; set; }\n\nRequired. The complete `Registration` resource to be created.\n\nYou can leave `registration.dns_settings` unset to import the\ndomain's current DNS configuration from its current registrar. Use this\noption only if you are sure that the domain's current DNS service\ndoes not cease upon transfer, as is often the case for DNS services\nprovided for free by the registrar.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nValidate the request without actually transferring the domain.\n\n### YearlyPrice\n\n public Money YearlyPrice { get; set; }\n\nRequired. Acknowledgement of the price to transfer or renew the domain for one year.\nCall `RetrieveTransferParameters` to obtain the price, which you must\nacknowledge."]]