class Google::Apis::SqladminV1beta4::SslCert
SslCerts Resource
Attributes
PEM representation. Corresponds to the JSON property `cert` @return [String]
Serial number, as extracted from the certificate. Corresponds to the JSON property `certSerialNumber` @return [String]
User
supplied name. Constrained to [a-zA-Z.-_ ]+. Corresponds to the JSON property `commonName` @return [String]
The time when the certificate was created in [RFC 3339](tools.ietf.org/ html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. Corresponds to the JSON property `createTime` @return [String]
The time when the certificate expires in [RFC 3339](tools.ietf.org/ html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. Corresponds to the JSON property `expirationTime` @return [String]
Name of the database instance. Corresponds to the JSON property `instance` @return [String]
This is always `sql#sslCert`. Corresponds to the JSON property `kind` @return [String]
The URI of this resource. Corresponds to the JSON property `selfLink` @return [String]
Sha1 Fingerprint. Corresponds to the JSON property `sha1Fingerprint` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3403 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3408 def update!(**args) @cert = args[:cert] if args.key?(:cert) @cert_serial_number = args[:cert_serial_number] if args.key?(:cert_serial_number) @common_name = args[:common_name] if args.key?(:common_name) @create_time = args[:create_time] if args.key?(:create_time) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @instance = args[:instance] if args.key?(:instance) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) @sha1_fingerprint = args[:sha1_fingerprint] if args.key?(:sha1_fingerprint) end