Class: Google::Apis::FirebasehostingV1beta1::CertVerification
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::CertVerification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1beta1/classes.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb
Overview
A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it's not necessary to provide both.
Instance Attribute Summary collapse
-
#dns ⇒ Google::Apis::FirebasehostingV1beta1::DnsUpdates
A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name.
-
#http ⇒ Google::Apis::FirebasehostingV1beta1::HttpUpdate
A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertVerification
constructor
A new instance of CertVerification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertVerification
Returns a new instance of CertVerification.
127 128 129 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns ⇒ Google::Apis::FirebasehostingV1beta1::DnsUpdates
A set of DNS record updates that you should make to allow Hosting to serve
secure content in response to requests against your domain name. These updates
present the current state of your domain name's DNS records when Hosting last
queried them, and the desired set of records that Hosting needs to see before
your custom domain can be fully active.
Corresponds to the JSON property dns
118 119 120 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 118 def dns @dns end |
#http ⇒ Google::Apis::FirebasehostingV1beta1::HttpUpdate
A file you can add to your existing, non-Hosting hosting service that confirms
your intent to allow Hosting's Certificate Authorities to create an SSL
certificate for your domain.
Corresponds to the JSON property http
125 126 127 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 125 def http @http end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 132 def update!(**args) @dns = args[:dns] if args.key?(:dns) @http = args[:http] if args.key?(:http) end |