class Google::Apis::RedisV1::TlsCertificate
TlsCertificate
Resource
Attributes
PEM representation. Corresponds to the JSON property `cert` @return [String]
Output only. The time when the certificate was created in [RFC 3339](https:// tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`. Corresponds to the JSON property `createTime` @return [String]
Output only. The time when the certificate expires in [RFC 3339](tools. ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`. Corresponds to the JSON property `expireTime` @return [String]
Serial number, as extracted from the certificate. Corresponds to the JSON property `serialNumber` @return [String]
Sha1 Fingerprint of the certificate. Corresponds to the JSON property `sha1Fingerprint` @return [String]
Public Class Methods
# File lib/google/apis/redis_v1/classes.rb, line 913 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/redis_v1/classes.rb, line 918 def update!(**args) @cert = args[:cert] if args.key?(:cert) @create_time = args[:create_time] if args.key?(:create_time) @expire_time = args[:expire_time] if args.key?(:expire_time) @serial_number = args[:serial_number] if args.key?(:serial_number) @sha1_fingerprint = args[:sha1_fingerprint] if args.key?(:sha1_fingerprint) end