Reference documentation and code samples for the Google Cloud Domains V1 Client class ConfigureDnsSettingsRequest.
Request for the ConfigureDnsSettings
method.
Generated from protobuf message google.cloud.domains.v1.ConfigureDnsSettingsRequest
Namespace
Google \ Cloud \ Domains \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ registration
string
Required. The name of the Registration
whose DNS settings are being updated, in the format projects/*/locations/*/registrations/*
.
↳ dns_settings
↳ update_mask
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
bool
Validate the request without actually updating the DNS settings.
getRegistration
Required. The name of the Registration
whose DNS settings are being updated,
in the format projects/*/locations/*/registrations/*
.
string
setRegistration
Required. The name of the Registration
whose DNS settings are being updated,
in the format projects/*/locations/*/registrations/*
.
var
string
$this
getDnsSettings
Fields of the DnsSettings
to update.
hasDnsSettings
clearDnsSettings
setDnsSettings
Fields of the DnsSettings
to update.
$this
getUpdateMask
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"
. //
hasUpdateMask
clearUpdateMask
setUpdateMask
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"
. //
$this
getValidateOnly
Validate the request without actually updating the DNS settings.
bool
setValidateOnly
Validate the request without actually updating the DNS settings.
var
bool
$this
static::build
registration
string
Required. The name of the Registration
whose DNS settings are being updated,
in the format projects/*/locations/*/registrations/*
. Please see DomainsClient::registrationName()
for help formatting this field.
dnsSettings
updateMask
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"
. //