# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::RegisterDomainRequest (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::RegisterDomainRequest.

Request for the `RegisterDomain` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #contact_notices

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

**Returns**

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

### #contact_notices=

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

**Parameter**

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

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

### #domain_notices

    def domain_notices() -> ::Array<::Google::Cloud::Domains::V1::DomainNotice>

**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::DomainNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DomainNotice)\>) --- The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.

### #domain_notices=

    def domain_notices=(value) -> ::Array<::Google::Cloud::Domains::V1::DomainNotice>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Domains::V1::DomainNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DomainNotice)\>) --- The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.
**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::DomainNotice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DomainNotice)\>) --- The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.

### #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::V1::Registration

**Returns**

- ([::Google::Cloud::Domains::V1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-Registration)) --- Required. The complete `Registration` resource to be created.

### #registration=

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

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-Registration)) --- Required. The complete `Registration` resource to be created.
**Returns**

- ([::Google::Cloud::Domains::V1::Registration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-Registration)) --- Required. The complete `Registration` resource to be created.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation
**Returns**

- (::Boolean) --- When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

### #yearly_price

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

**Returns**

- ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-Money)) --- Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.

### #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-v1/latest/Google-Type-Money)) --- Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
**Returns**

- ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-Money)) --- Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.