Class: Google::Apis::FirebasehostingV1beta1::CertDnsChallenge
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::CertDnsChallenge
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasehosting_v1beta1/classes.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb
Overview
Represents a DNS certificate challenge.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
The domain name upon which the DNS challenge must be satisfied.
-
#token ⇒ String
The value that must be present as a TXT record on the domain name to satisfy the challenge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertDnsChallenge
constructor
A new instance of CertDnsChallenge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CertDnsChallenge
Returns a new instance of CertDnsChallenge
67 68 69 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 67 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_name ⇒ String
The domain name upon which the DNS challenge must be satisfied.
Corresponds to the JSON property domainName
59 60 61 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 59 def domain_name @domain_name end |
#token ⇒ String
The value that must be present as a TXT record on the domain name to
satisfy the challenge.
Corresponds to the JSON property token
65 66 67 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 65 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 75 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 72 def update!(**args) @domain_name = args[:domain_name] if args.key?(:domain_name) @token = args[:token] if args.key?(:token) end |