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.



945
946
947
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 945

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)


932
933
934
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 932

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)


937
938
939
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 937

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


943
944
945
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 943

def pem_certificate_chain
  @pem_certificate_chain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



950
951
952
953
954
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 950

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