Class: Google::Apis::AlloydbV1beta::GenerateClientCertificateResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_certString

Optional. The pem-encoded cluster ca X.509 certificate. Corresponds to the JSON property caCert

Returns:

  • (String)


911
912
913
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 911

def ca_cert
  @ca_cert
end

#pem_certificateString

Output only. The pem-encoded, signed X.509 certificate. Corresponds to the JSON property pemCertificate

Returns:

  • (String)


916
917
918
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 916

def pem_certificate
  @pem_certificate
end

#pem_certificate_chainArray<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

Returns:

  • (Array<String>)


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