Class: Google::Apis::DnsV1::DnsKeyDigest
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::DnsKeyDigest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DnsKeyDigest
Returns a new instance of DnsKeyDigest
238 239 240 |
# File 'generated/google/apis/dns_v1/classes.rb', line 238 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
231 232 233 |
# File 'generated/google/apis/dns_v1/classes.rb', line 231 def digest @digest end |
#type ⇒ String
Specifies the algorithm used to calculate this digest.
Corresponds to the JSON property type
236 237 238 |
# File 'generated/google/apis/dns_v1/classes.rb', line 236 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
243 244 245 246 |
# File 'generated/google/apis/dns_v1/classes.rb', line 243 def update!(**args) @digest = args[:digest] if args.key?(:digest) @type = args[:type] if args.key?(:type) end |