Class: Google::Apis::RedisV1::TlsCertificate
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::TlsCertificate
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
TlsCertificate Resource
Instance Attribute Summary collapse
- 
  
    
      #cert  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
PEM representation.
 - 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #expire_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #serial_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Serial number, as extracted from the certificate.
 - 
  
    
      #sha1_fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Sha1 Fingerprint of the certificate.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TlsCertificate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TlsCertificate.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TlsCertificate
Returns a new instance of TlsCertificate.
      3141 3142 3143  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3141 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#cert ⇒ String
PEM representation.
Corresponds to the JSON property cert
      3117 3118 3119  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3117 def cert @cert end  | 
  
#create_time ⇒ String
Output only. The time when the certificate was created in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.
Corresponds to the JSON property createTime
      3123 3124 3125  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3123 def create_time @create_time end  | 
  
#expire_time ⇒ String
Output only. The time when the certificate expires in RFC 3339 format, for example 2020-05-18T00:00:00.094Z.
Corresponds to the JSON property expireTime
      3129 3130 3131  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3129 def expire_time @expire_time end  | 
  
#serial_number ⇒ String
Serial number, as extracted from the certificate.
Corresponds to the JSON property serialNumber
      3134 3135 3136  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3134 def serial_number @serial_number end  | 
  
#sha1_fingerprint ⇒ String
Sha1 Fingerprint of the certificate.
Corresponds to the JSON property sha1Fingerprint
      3139 3140 3141  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3139 def sha1_fingerprint @sha1_fingerprint end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3146 3147 3148 3149 3150 3151 3152  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 3146 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  |