public sealed class TransferDomainRequest : IMessage<TransferDomainRequest>, IEquatable<TransferDomainRequest>, IDeepCloneable<TransferDomainRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Domains v1beta1 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 v1beta1 API, specifically for managing domain transfers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransferDomainRequest\u003c/code\u003e is used to initiate a domain transfer, which is a request that includes details like the authorization code, contact notices, and registration information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property of the \u003ccode\u003eTransferDomainRequest\u003c/code\u003e specifies the parent resource where the registration will reside, and must follow the format \u003ccode\u003eprojects/*/locations/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegistration\u003c/code\u003e property is required, containing the full \u003ccode\u003eRegistration\u003c/code\u003e resource details for the domain being transferred, it has the option of importing current DNS settings, if they are still active after the transfer.\u003c/p\u003e\n"],["\u003cp\u003eThere are options to \u003ccode\u003eValidateOnly\u003c/code\u003e the request without performing the actual transfer and to set the \u003ccode\u003eYearlyPrice\u003c/code\u003e to acknowledge the cost of the domain transfer or renewal.\u003c/p\u003e\n"]]],[],null,["# Cloud Domains v1beta1 API - Class TransferDomainRequest (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/2.0.0-beta04/Google.Cloud.Domains.V1Beta1.TransferDomainRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/1.0.0-beta04/Google.Cloud.Domains.V1Beta1.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 v1beta1 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.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TransferDomainRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TransferDomainRequest](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.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.V1Beta1](/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Domains.V1Beta1.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.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest#Google_Cloud_Domains_V1Beta1_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."]]