class Google::Apis::DomainsV1beta1::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.

Attributes

algorithm[RW]

The algorithm used to generate the referenced DNSKEY. Corresponds to the JSON property `algorithm` @return [String]

digest[RW]

The digest generated from the referenced DNSKEY. Corresponds to the JSON property `digest` @return [String]

digest_type[RW]

The hash function used to generate the digest of the referenced DNSKEY. Corresponds to the JSON property `digestType` @return [String]

key_tag[RW]

The key tag of the record. Must be set in range 0 – 65535. Corresponds to the JSON property `keyTag` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1beta1/classes.rb, line 475
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/domains_v1beta1/classes.rb, line 480
def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @digest = args[:digest] if args.key?(:digest)
  @digest_type = args[:digest_type] if args.key?(:digest_type)
  @key_tag = args[:key_tag] if args.key?(:key_tag)
end