class Google::Apis::DnsV1::DnsKeyDigest

Attributes

digest[RW]

The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. Corresponds to the JSON property `digest` @return [String]

type[RW]

Specifies the algorithm used to calculate this digest. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 246
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 251
def update!(**args)
  @digest = args[:digest] if args.key?(:digest)
  @type = args[:type] if args.key?(:type)
end