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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setKeyTag
The key tag of the record. Must be set in range 0 -- 65535.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAlgorithm
The algorithm used to generate the referenced DNSKEY.
Returns | |
---|---|
Type | Description |
int |
setAlgorithm
The algorithm used to generate the referenced DNSKEY.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDigestType
The hash function used to generate the digest of the referenced DNSKEY.
Returns | |
---|---|
Type | Description |
int |
setDigestType
The hash function used to generate the digest of the referenced DNSKEY.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDigest
The digest generated from the referenced DNSKEY.
Returns | |
---|---|
Type | Description |
string |
setDigest
The digest generated from the referenced DNSKEY.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |