class Google::Apis::DnsV1::DnsKeySpec
Parameters for DnsKey
key generation. Used for generating initial keys for a new ManagedZone
and as default when adding a new DnsKey
.
Attributes
String mnemonic specifying the DNSSEC algorithm of this key. Corresponds to the JSON property `algorithm` @return [String]
Length of the keys in bits. Corresponds to the JSON property `keyLength` @return [Fixnum]
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. Corresponds to the JSON property `keyType` @return [String]
Corresponds to the JSON property `kind` @return [String]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 286 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 291 def update!(**args) @algorithm = args[:algorithm] if args.key?(:algorithm) @key_length = args[:key_length] if args.key?(:key_length) @key_type = args[:key_type] if args.key?(:key_type) @kind = args[:kind] if args.key?(:kind) end