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

Request for the `ConfigureDnsSettings` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dns_settings

    def dns_settings() -> ::Google::Cloud::Domains::V1beta1::DnsSettings

**Returns**

- ([::Google::Cloud::Domains::V1beta1::DnsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-DnsSettings)) --- Fields of the `DnsSettings` to update.

### #dns_settings=

    def dns_settings=(value) -> ::Google::Cloud::Domains::V1beta1::DnsSettings

**Parameter**

- **value** ([::Google::Cloud::Domains::V1beta1::DnsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-DnsSettings)) --- Fields of the `DnsSettings` to update.
**Returns**

- ([::Google::Cloud::Domains::V1beta1::DnsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-DnsSettings)) --- Fields of the `DnsSettings` to update.

### #registration

    def registration() -> ::String

**Returns**

- (::String) --- Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.

### #registration=

    def registration=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.
**Returns**

- (::String) --- Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Protobuf-FieldMask)) --- Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `"custom_dns.name_servers"`.


  When changing the DNS provider from one type to another, pass the new
  provider's field name as part of the field mask. For example, when changing
  from a Google Domains DNS configuration to a Custom DNS configuration, the
  `update_mask` is `"custom_dns"`. //

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Protobuf-FieldMask)) --- Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `"custom_dns.name_servers"`.


  When changing the DNS provider from one type to another, pass the new
  provider's field name as part of the field mask. For example, when changing
  from a Google Domains DNS configuration to a Custom DNS configuration, the
  `update_mask` is `"custom_dns"`. //
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Protobuf-FieldMask)) --- Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `"custom_dns.name_servers"`.


  When changing the DNS provider from one type to another, pass the new
  provider's field name as part of the field mask. For example, when changing
  from a Google Domains DNS configuration to a Custom DNS configuration, the
  `update_mask` is `"custom_dns"`. //

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Validate the request without actually updating the DNS settings.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Validate the request without actually updating the DNS settings.
**Returns**

- (::Boolean) --- Validate the request without actually updating the DNS settings.