Class: Google::Apis::DomainsV1alpha2::DsRecord
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::DsRecord
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domains_v1alpha2/classes.rb,
generated/google/apis/domains_v1alpha2/representations.rb,
generated/google/apis/domains_v1alpha2/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#algorithm ⇒ String
The algorithm used to generate the referenced DNSKEY.
-
#digest ⇒ String
The digest generated from the referenced DNSKEY.
-
#digest_type ⇒ String
The hash function used to generate the digest of the referenced DNSKEY.
-
#key_tag ⇒ Fixnum
The key tag of the record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DsRecord
constructor
A new instance of DsRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DsRecord
Returns a new instance of DsRecord.
475 476 477 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#algorithm ⇒ String
The algorithm used to generate the referenced DNSKEY.
Corresponds to the JSON property algorithm
458 459 460 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 458 def algorithm @algorithm end |
#digest ⇒ String
The digest generated from the referenced DNSKEY.
Corresponds to the JSON property digest
463 464 465 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 463 def digest @digest end |
#digest_type ⇒ String
The hash function used to generate the digest of the referenced DNSKEY.
Corresponds to the JSON property digestType
468 469 470 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 468 def digest_type @digest_type end |
#key_tag ⇒ Fixnum
The key tag of the record. Must be set in range 0 -- 65535.
Corresponds to the JSON property keyTag
473 474 475 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 473 def key_tag @key_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
480 481 482 483 484 485 |
# File 'generated/google/apis/domains_v1alpha2/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 |