# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::RegisterParameters (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::RegisterParameters.

Parameters required to register a new domain.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #availability

    def availability() -> ::Google::Cloud::Domains::V1::RegisterParameters::Availability

**Returns**

- ([::Google::Cloud::Domains::V1::RegisterParameters::Availability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-RegisterParameters-Availability)) --- Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.

### #availability=

    def availability=(value) -> ::Google::Cloud::Domains::V1::RegisterParameters::Availability

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::RegisterParameters::Availability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-RegisterParameters-Availability)) --- Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.
**Returns**

- ([::Google::Cloud::Domains::V1::RegisterParameters::Availability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-RegisterParameters-Availability)) --- Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.

### #domain_name

    def domain_name() -> ::String

**Returns**

- (::String) --- The domain name. Unicode domain names are expressed in Punycode format.

### #domain_name=

    def domain_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The domain name. Unicode domain names are expressed in Punycode format.
**Returns**

- (::String) --- The domain name. Unicode domain names are expressed in Punycode format.

### #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)\>) --- Notices about special properties of the domain.

### #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)\>) --- Notices about special properties of the domain.
**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)\>) --- Notices about special properties of the domain.

### #supported_privacy

    def supported_privacy() -> ::Array<::Google::Cloud::Domains::V1::ContactPrivacy>

**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)\>) --- Contact privacy options that the domain supports.

### #supported_privacy=

    def supported_privacy=(value) -> ::Array<::Google::Cloud::Domains::V1::ContactPrivacy>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)\>) --- Contact privacy options that the domain supports.
**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)\>) --- Contact privacy options that the domain supports.

### #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)) --- Price to register or renew the domain for one year.

### #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)) --- Price to register or renew the domain for one year.
**Returns**

- ([::Google::Type::Money](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-Money)) --- Price to register or renew the domain for one year.