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

**Returns**

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

### #dns_settings=

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

**Parameter**

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

- ([::Google::Cloud::Domains::V1::DnsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-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-v1/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-v1/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-v1/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.