class Google::Apis::ComputeV1::SslCertificateSelfManagedSslCertificate

Configuration and status of a self-managed SSL certificate.

Attributes

certificate[RW]

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Corresponds to the JSON property `certificate` @return [String]

private_key[RW]

A write-only private key in PEM format. Only insert requests will include this field. Corresponds to the JSON property `privateKey` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 34158
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 34163
def update!(**args)
  @certificate = args[:certificate] if args.key?(:certificate)
  @private_key = args[:private_key] if args.key?(:private_key)
end