# Cloud Domains V1beta1 API - Class Google::Cloud::Domains::V1beta1::TransferDomainRequest (v0.16.0)

0.16.0 (latest) 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.2 Reference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::TransferDomainRequest.

Request for the `TransferDomain` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorization_code

    def authorization_code() -> ::Google::Cloud::Domains::V1beta1::AuthorizationCode

**Returns**

- ([::Google::Cloud::Domains::V1beta1::AuthorizationCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-AuthorizationCode)) --- The domain's transfer authorization code. You can obtain this from the domain's current registrar.

### #authorization_code=

    def authorization_code=(value) -> ::Google::Cloud::Domains::V1beta1::AuthorizationCode

**Parameter**

- **value** ([::Google::Cloud::Domains::V1beta1::AuthorizationCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-AuthorizationCode)) --- The domain's transfer authorization code. You can obtain this from the domain's current registrar.
**Returns**

- ([::Google::Cloud::Domains::V1beta1::AuthorizationCode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-AuthorizationCode)) --- The domain's transfer authorization code. You can obtain this from the domain's current registrar.

### #contact_notices

    def contact_notices() -> ::Array<::Google::Cloud::Domains::V1beta1::ContactNotice>

**Returns**

- (::Array\<[::Google::Cloud::Domains::V1beta1::ContactNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-ContactNotice)\>) --- The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.

### #contact_notices=

    def contact_notices=(value) -> ::Array<::Google::Cloud::Domains::V1beta1::ContactNotice>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Domains::V1beta1::ContactNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-ContactNotice)\>) --- The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.
**Returns**

- (::Array\<[::Google::Cloud::Domains::V1beta1::ContactNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-ContactNotice)\>) --- The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.

### #registration

    def registration() -> ::Google::Cloud::Domains::V1beta1::Registration

**Returns**

- ([::Google::Cloud::Domains::V1beta1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-Registration)) --- 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.

### #registration=

    def registration=(value) -> ::Google::Cloud::Domains::V1beta1::Registration

**Parameter**

- **value** ([::Google::Cloud::Domains::V1beta1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-Registration)) --- 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.
**Returns**

- ([::Google::Cloud::Domains::V1beta1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-Registration)) --- 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.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Validate the request without actually transferring the domain.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Validate the request without actually transferring the domain.
**Returns**

- (::Boolean) --- Validate the request without actually transferring the domain.

### #yearly_price

    def yearly_price() -> ::Google::Type::Money

**Returns**

- ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Type-Money)) --- Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge.

### #yearly_price=

    def yearly_price=(value) -> ::Google::Type::Money

**Parameter**

- **value** ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Type-Money)) --- Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge.
**Returns**

- ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Type-Money)) --- Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge.