Class: Google::Apis::AlloydbV1alpha::GenerateClientCertificateResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/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.



904
905
906
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 904

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)


891
892
893
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 891

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)


896
897
898
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 896

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>)


902
903
904
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 902

def pem_certificate_chain
  @pem_certificate_chain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



909
910
911
912
913
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 909

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