Class: Google::Apis::SqladminV1::SslCertDetail

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

Overview

SslCertDetail.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslCertDetail

Returns a new instance of SslCertDetail.



3224
3225
3226
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3224

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

Instance Attribute Details

#cert_infoGoogle::Apis::SqladminV1::SslCert

SslCerts Resource Corresponds to the JSON property certInfo



3216
3217
3218
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3216

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)


3222
3223
3224
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3222

def cert_private_key
  @cert_private_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3229
3230
3231
3232
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3229

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