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

algorithm[RW]

String mnemonic specifying the DNSSEC algorithm of this key. Corresponds to the JSON property `algorithm` @return [String]

key_length[RW]

Length of the keys in bits. Corresponds to the JSON property `keyLength` @return [Fixnum]

key_type[RW]

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]

kind[RW]

Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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