Class Certificate
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.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1.Data
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class Certificate : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
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.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
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.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Issues
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.
Declaration
[JsonProperty("issues")]
public virtual IList<Status> Issues { get; set; }
Property Value
Type | Description |
---|---|
IList<Status> |
State
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.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Output only. The certificate's type.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Verification
Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
Declaration
[JsonProperty("verification")]
public virtual CertVerification Verification { get; set; }
Property Value
Type | Description |
---|---|
CertVerification |