Class: Google::Apis::ComputeBeta::SslCertificateSelfManagedSslCertificate
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SslCertificateSelfManagedSslCertificate
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Configuration and status of a self-managed SSL certificate.
Instance Attribute Summary collapse
-
#certificate ⇒ String
A local certificate file.
-
#private_key ⇒ String
A write-only private key in PEM format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslCertificateSelfManagedSslCertificate
constructor
A new instance of SslCertificateSelfManagedSslCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SslCertificateSelfManagedSslCertificate
Returns a new instance of SslCertificateSelfManagedSslCertificate
22262 22263 22264 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
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
22254 22255 22256 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22254 def certificate @certificate end |
#private_key ⇒ String
A write-only private key in PEM format. Only insert requests will include this
field.
Corresponds to the JSON property privateKey
22260 22261 22262 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22260 def private_key @private_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22267 22268 22269 22270 |
# File 'generated/google/apis/compute_beta/classes.rb', line 22267 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @private_key = args[:private_key] if args.key?(:private_key) end |