Google Cloud Domains V1alpha2 Client - Class ConfigureDnsSettingsRequest (0.4.2)

Reference documentation and code samples for the Google Cloud Domains V1alpha2 Client class ConfigureDnsSettingsRequest.

Request for the ConfigureDnsSettings method.

Generated from protobuf message google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest

Namespace

Google \ Cloud \ Domains \ V1alpha2

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Domains\V1alpha2\DnsSettings

Fields of the DnsSettings to update.

↳ 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/*.

Returns
TypeDescription
string

setRegistration

Required. The name of the Registration whose DNS settings are being updated, in the format projects/*/locations/*/registrations/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDnsSettings

Fields of the DnsSettings to update.

Returns
TypeDescription
Google\Cloud\Domains\V1alpha2\DnsSettings|null

hasDnsSettings

clearDnsSettings

setDnsSettings

Fields of the DnsSettings to update.

Parameter
NameDescription
var Google\Cloud\Domains\V1alpha2\DnsSettings
Returns
TypeDescription
$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". //

Returns
TypeDescription
Google\Protobuf\FieldMask|null

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". //

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getValidateOnly

Validate the request without actually updating the DNS settings.

Returns
TypeDescription
bool

setValidateOnly

Validate the request without actually updating the DNS settings.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this