# Cloud Domains v1beta1 API - Class TransferDomainRequest (2.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/2.0.0-beta05/Google.Cloud.Domains.V1Beta1.TransferDomainRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/1.0.0-beta04/Google.Cloud.Domains.V1Beta1.TransferDomainRequest)

    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.

Request for the `TransferDomain` method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TransferDomainRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TransferDomainRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TransferDomainRequest](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Domains.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1)

## Assembly

Google.Cloud.Domains.V1Beta1.dll

## Constructors

### TransferDomainRequest()

    public TransferDomainRequest()

### TransferDomainRequest(TransferDomainRequest)

    public TransferDomainRequest(TransferDomainRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest` |

## Properties

### AuthorizationCode

    public AuthorizationCode AuthorizationCode { get; set; }

The domain's transfer authorization code. You can obtain this from the
domain's current registrar.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.AuthorizationCode` |   |

### ContactNotices

    public RepeatedField<ContactNotice> ContactNotices { get; }

The list of contact notices that you acknowledge. The notices
needed here depend on the values specified in
`registration.contact_settings`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.ContactNotice` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource of the `Registration`. Must be in the
format `projects/*/locations/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.TransferDomainRequest#Google_Cloud_Domains_V1Beta1_TransferDomainRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### Registration

    public Registration Registration { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1Beta1/latest/Google.Cloud.Domains.V1Beta1.Registration` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

Validate the request without actually transferring the domain.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### YearlyPrice

    public Money YearlyPrice { get; set; }

Required. Acknowledgement of the price to transfer or renew the domain for one year.
Call `RetrieveTransferParameters` to obtain the price, which you must
acknowledge.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.Money.html` |   |