Google Cloud Domains V1beta1 Client - Class DsRecord (0.3.1)

Reference documentation and code samples for the Google Cloud Domains V1beta1 Client class DsRecord.

Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.

Generated from protobuf message google.cloud.domains.v1beta1.DnsSettings.DsRecord

Namespace

Google \ Cloud \ Domains \ V1beta1 \ DnsSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key_tag int

The key tag of the record. Must be set in range 0 -- 65535.

↳ algorithm int

The algorithm used to generate the referenced DNSKEY.

↳ digest_type int

The hash function used to generate the digest of the referenced DNSKEY.

↳ digest string

The digest generated from the referenced DNSKEY.

getKeyTag

The key tag of the record. Must be set in range 0 -- 65535.

Returns
TypeDescription
int

setKeyTag

The key tag of the record. Must be set in range 0 -- 65535.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAlgorithm

The algorithm used to generate the referenced DNSKEY.

Returns
TypeDescription
int

setAlgorithm

The algorithm used to generate the referenced DNSKEY.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDigestType

The hash function used to generate the digest of the referenced DNSKEY.

Returns
TypeDescription
int

setDigestType

The hash function used to generate the digest of the referenced DNSKEY.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDigest

The digest generated from the referenced DNSKEY.

Returns
TypeDescription
string

setDigest

The digest generated from the referenced DNSKEY.

Parameter
NameDescription
var string
Returns
TypeDescription
$this