Class: Google::Apis::AcmednsV1::AcmeTxtRecord

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/acmedns_v1/classes.rb,
lib/google/apis/acmedns_v1/representations.rb,
lib/google/apis/acmedns_v1/representations.rb

Overview

The TXT record message that represents an ACME DNS-01 challenge.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AcmeTxtRecord

Returns a new instance of AcmeTxtRecord.



69
70
71
# File 'lib/google/apis/acmedns_v1/classes.rb', line 69

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#digestString

Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry. Corresponds to the JSON property digest

Returns:

  • (String)


54
55
56
# File 'lib/google/apis/acmedns_v1/classes.rb', line 54

def digest
  @digest
end

#fqdnString

The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request. Corresponds to the JSON property fqdn

Returns:

  • (String)


61
62
63
# File 'lib/google/apis/acmedns_v1/classes.rb', line 61

def fqdn
  @fqdn
end

#update_timeString

Output only. The time when this record was last updated. This will be in UTC time. Corresponds to the JSON property updateTime

Returns:

  • (String)


67
68
69
# File 'lib/google/apis/acmedns_v1/classes.rb', line 67

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



74
75
76
77
78
# File 'lib/google/apis/acmedns_v1/classes.rb', line 74

def update!(**args)
  @digest = args[:digest] if args.key?(:digest)
  @fqdn = args[:fqdn] if args.key?(:fqdn)
  @update_time = args[:update_time] if args.key?(:update_time)
end