SslCertificate class

Represents an SSL certificate resource.

Google Compute Engine has two SSL certificate resources:

  • [Global](/compute/docs/reference/rest/v1/sslCertificates)
  • [Regional](/compute/docs/reference/rest/v1/regionSslCertificates)

The global SSL certificates (sslCertificates) are used by:

  • Global external Application Load Balancers
  • Classic Application Load Balancers
  • Proxy Network Load Balancers (with target SSL proxies)

The regional SSL certificates (regionSslCertificates) are used by:

  • Regional external Application Load Balancers
  • Regional internal Application Load Balancers

Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates,SSL certificates quotas and limits, and Troubleshooting SSL certificates.

Constructors

SslCertificate({String? certificate, String? creationTimestamp, String? description, String? expireTime, String? id, String? kind, SslCertificateManagedSslCertificate? managed, String? name, String? privateKey, String? region, String? selfLink, SslCertificateSelfManagedSslCertificate? selfManaged, List<String>? subjectAlternativeNames, String? type})
SslCertificate.fromJson(Map json_)

Properties

certificate String?
A value read into memory from a certificate file.
getter/setter pair
creationTimestamp String?
Creation timestamp inRFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
expireTime String?
Expire time of the certificate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
kind String?
Type of the resource.
getter/setter pair
managed SslCertificateManagedSslCertificate?
Configuration and status of a managed SSL certificate.
getter/setter pair
name String?
Name of the resource.
getter/setter pair
privateKey String?
A value read into memory from a write-only private key file.
getter/setter pair
region String?
URL of the region where the regional SSL Certificate resides.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
getter/setter pair
selfManaged SslCertificateSelfManagedSslCertificate?
Configuration and status of a self-managed SSL certificate.
getter/setter pair
subjectAlternativeNames List<String>?
Domains associated with the certificate via Subject Alternative Name.
getter/setter pair
type String?
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited