Class: Google::Apis::AppengineV1alpha::CertificateRawData
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1alpha::CertificateRawData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1alpha/classes.rb,
lib/google/apis/appengine_v1alpha/representations.rb,
lib/google/apis/appengine_v1alpha/representations.rb
Overview
An SSL certificate obtained from a certificate authority.
Instance Attribute Summary collapse
-
#private_key ⇒ String
Unencrypted PEM encoded RSA private key.
-
#public_certificate ⇒ String
PEM encoded x.509 public key certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateRawData
constructor
A new instance of CertificateRawData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateRawData
Returns a new instance of CertificateRawData.
159 160 161 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#private_key ⇒ String
Unencrypted PEM encoded RSA private key. This field is set once on certificate
creation and then encrypted. The key size must be 2048 bits or fewer. Must
include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----
END RSA PRIVATE KEY----- @InputOnly
Corresponds to the JSON property privateKey
150 151 152 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 150 def private_key @private_key end |
#public_certificate ⇒ String
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example: -----BEGIN
CERTIFICATE----- -----END CERTIFICATE-----
Corresponds to the JSON property publicCertificate
157 158 159 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 157 def public_certificate @public_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
164 165 166 167 |
# File 'lib/google/apis/appengine_v1alpha/classes.rb', line 164 def update!(**args) @private_key = args[:private_key] if args.key?(:private_key) @public_certificate = args[:public_certificate] if args.key?(:public_certificate) end |