Class: Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Message returned by a GenerateClientCertificate operation.
Instance Attribute Summary collapse
-
#ca_cert ⇒ String
Optional.
-
#pem_certificate ⇒ String
Output only.
-
#pem_certificate_chain ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateClientCertificateResponse
constructor
A new instance of GenerateClientCertificateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateClientCertificateResponse
Returns a new instance of GenerateClientCertificateResponse.
924 925 926 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ca_cert ⇒ String
Optional. The pem-encoded cluster ca X.509 certificate.
Corresponds to the JSON property caCert
911 912 913 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 911 def ca_cert @ca_cert end |
#pem_certificate ⇒ String
Output only. The pem-encoded, signed X.509 certificate.
Corresponds to the JSON property pemCertificate
916 917 918 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 916 def pem_certificate @pem_certificate end |
#pem_certificate_chain ⇒ Array<String>
Output only. The pem-encoded chain that may be used to verify the X.509
certificate. Expected to be in issuer-to-root order according to RFC 5246.
Corresponds to the JSON property pemCertificateChain
922 923 924 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 922 def pem_certificate_chain @pem_certificate_chain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
929 930 931 932 933 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 929 def update!(**args) @ca_cert = args[:ca_cert] if args.key?(:ca_cert) @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate) @pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain) end |