Class: Google::Apis::FirebasehostingV1::CertVerification
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1::CertVerification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1/classes.rb,
lib/google/apis/firebasehosting_v1/representations.rb,
lib/google/apis/firebasehosting_v1/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::FirebasehostingV1::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::FirebasehostingV1::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.
60 61 62 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 60 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns ⇒ Google::Apis::FirebasehostingV1::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
51 52 53 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 51 def dns @dns end |
#http ⇒ Google::Apis::FirebasehostingV1::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
58 59 60 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 58 def http @http end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 68 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 65 def update!(**args) @dns = args[:dns] if args.key?(:dns) @http = args[:http] if args.key?(:http) end |