Class: Google::Apis::FirebasehostingV1beta1::Certificate
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::Certificate
- 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
An SSL certificate used to provide end-to-end encryption for requests against
your domain name. A Certificate
can be an actual SSL certificate or, for
newly-created custom domains, Hosting's intent to create one.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#expire_time ⇒ String
Output only.
-
#issues ⇒ Array<Google::Apis::FirebasehostingV1beta1::Status>
Output only.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#verification ⇒ Google::Apis::FirebasehostingV1beta1::CertVerification
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Certificate
constructor
A new instance of Certificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Certificate
Returns a new instance of Certificate.
186 187 188 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The certificate's creation time. For TEMPORARY
certs this is
the time Hosting first generated challenges for your domain name. For all
other cert types, it's the time the actual cert was created.
Corresponds to the JSON property createTime
149 150 151 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 149 def create_time @create_time end |
#expire_time ⇒ String
Output only. The certificate's expiration time. After this time, the cert can
no longer be used to provide secure communication between Hosting and your
site's visitors.
Corresponds to the JSON property expireTime
156 157 158 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 156 def expire_time @expire_time end |
#issues ⇒ Array<Google::Apis::FirebasehostingV1beta1::Status>
Output only. A set of errors Hosting encountered when attempting to create a
cert for your domain name. Resolve these issues to ensure Hosting is able to
provide secure communication with your site's visitors.
Corresponds to the JSON property issues
163 164 165 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 163 def issues @issues end |
#state ⇒ String
Output only. The state of the certificate. Only the CERT_ACTIVE
and
CERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the
state is PROPAGATING
and Hosting had an active cert for the domain name
before, that formerly-active cert provides SSL coverage for the domain name
until the current cert propagates.
Corresponds to the JSON property state
172 173 174 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 172 def state @state end |
#type ⇒ String
Output only. The certificate's type.
Corresponds to the JSON property type
177 178 179 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 177 def type @type end |
#verification ⇒ Google::Apis::FirebasehostingV1beta1::CertVerification
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.
Corresponds to the JSON property verification
184 185 186 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 184 def verification @verification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
191 192 193 194 195 196 197 198 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 191 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @expire_time = args[:expire_time] if args.key?(:expire_time) @issues = args[:issues] if args.key?(:issues) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @verification = args[:verification] if args.key?(:verification) end |