class Google::Apis::SqladminV1beta4::SslCert

SslCerts Resource

Attributes

cert[RW]

PEM representation. Corresponds to the JSON property `cert` @return [String]

cert_serial_number[RW]

Serial number, as extracted from the certificate. Corresponds to the JSON property `certSerialNumber` @return [String]

common_name[RW]

User supplied name. Constrained to [a-zA-Z.-_ ]+. Corresponds to the JSON property `commonName` @return [String]

create_time[RW]

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]

expiration_time[RW]

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]

instance[RW]

Name of the database instance. Corresponds to the JSON property `instance` @return [String]

kind[RW]

This is always `sql#sslCert`. Corresponds to the JSON property `kind` @return [String]

sha1_fingerprint[RW]

Sha1 Fingerprint. Corresponds to the JSON property `sha1Fingerprint` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3403
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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