Class: Google::Apis::ComputeV1::SslCertificateSelfManagedSslCertificate
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SslCertificateSelfManagedSslCertificate
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
Constructor Details
#initialize(**args) ⇒ SslCertificateSelfManagedSslCertificate
Returns a new instance of SslCertificateSelfManagedSslCertificate.
40308 40309 40310 |
# File 'lib/google/apis/compute_v1/classes.rb', line 40308 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
40300 40301 40302 |
# File 'lib/google/apis/compute_v1/classes.rb', line 40300 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
40306 40307 40308 |
# File 'lib/google/apis/compute_v1/classes.rb', line 40306 def private_key @private_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40313 40314 40315 40316 |
# File 'lib/google/apis/compute_v1/classes.rb', line 40313 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @private_key = args[:private_key] if args.key?(:private_key) end |