Class: Google::Apis::SqladminV1beta4::SslCertDetail

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb

Overview

SslCertDetail.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SslCertDetail

Returns a new instance of SslCertDetail



1844
1845
1846
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1844

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cert_infoGoogle::Apis::SqladminV1beta4::SslCert

SslCerts Resource Corresponds to the JSON property certInfo



1836
1837
1838
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1836

def cert_info
  @cert_info
end

#cert_private_keyString

The private key for the client cert, in pem format. Keep private in order to protect your security. Corresponds to the JSON property certPrivateKey

Returns:

  • (String)


1842
1843
1844
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1842

def cert_private_key
  @cert_private_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1849
1850
1851
1852
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1849

def update!(**args)
  @cert_info = args[:cert_info] if args.key?(:cert_info)
  @cert_private_key = args[:cert_private_key] if args.key?(:cert_private_key)
end