class Google::Apis::RedisV1::TlsCertificate

TlsCertificate Resource

Attributes

cert[RW]

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

create_time[RW]

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]

expire_time[RW]

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[RW]

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

sha1_fingerprint[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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