Class: Google::Apis::FirebasehostingV1beta1::CertDnsChallenge

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_nameString

The domain name upon which the DNS challenge must be satisfied. Corresponds to the JSON property domainName

Returns:

  • (String)


59
60
61
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 59

def domain_name
  @domain_name
end

#tokenString

The value that must be present as a TXT record on the domain name to satisfy the challenge. Corresponds to the JSON property token

Returns:

  • (String)


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