Class: Google::Apis::AcmednsV1::AcmeTxtRecord
- Inherits:
-
Object
- Object
- Google::Apis::AcmednsV1::AcmeTxtRecord
- 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
-
#digest ⇒ String
Holds the ACME challenge data put in the TXT record.
-
#fqdn ⇒ String
The domain/subdomain for the record.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcmeTxtRecord
constructor
A new instance of AcmeTxtRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#digest ⇒ String
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
54 55 56 |
# File 'lib/google/apis/acmedns_v1/classes.rb', line 54 def digest @digest end |
#fqdn ⇒ String
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
61 62 63 |
# File 'lib/google/apis/acmedns_v1/classes.rb', line 61 def fqdn @fqdn end |
#update_time ⇒ String
Output only. The time when this record was last updated. This will be in UTC
time.
Corresponds to the JSON property updateTime
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 |