Class: Google::Apis::DnsV1beta2::DnsKeyDigest
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::DnsKeyDigest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#digest ⇒ String
The base-16 encoded bytes of this digest.
-
#type ⇒ String
Specifies the algorithm used to calculate this digest.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsKeyDigest
constructor
A new instance of DnsKeyDigest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsKeyDigest
Returns a new instance of DnsKeyDigest.
246 247 248 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ String
The base-16 encoded bytes of this digest. Suitable for use in a DS resource
record.
Corresponds to the JSON property digest
239 240 241 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 239 def digest @digest end |
#type ⇒ String
Specifies the algorithm used to calculate this digest.
Corresponds to the JSON property type
244 245 246 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 244 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
251 252 253 254 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 251 def update!(**args) @digest = args[:digest] if args.key?(:digest) @type = args[:type] if args.key?(:type) end |