Class: Google::Apis::SqladminV1beta4::SslCert
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SqladminV1beta4::SslCert
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
 generated/google/apis/sqladmin_v1beta4/representations.rb,
 generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
SslCerts Resource
Instance Attribute Summary collapse
- 
  
    
      #cert  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    PEM representation. 
- 
  
    
      #cert_serial_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Serial number, as extracted from the certificate. 
- 
  
    
      #common_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User supplied name. 
- 
  
    
      #create_time  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time when the certificate was created in RFC 3339 format, for example 2012- 11-15T16:19:00.094Z Corresponds to the JSON property createTime.
- 
  
    
      #expiration_time  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time when the certificate expires in RFC 3339 format, for example 2012-11- 15T16:19:00.094Z. 
- 
  
    
      #instance  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the database instance. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always sql#sslCert. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URI of this resource. 
- 
  
    
      #sha1_fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Sha1 Fingerprint. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SslCert 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SslCert. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SslCert
Returns a new instance of SslCert
| 1978 1979 1980 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1978 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#cert ⇒ String
PEM representation.
Corresponds to the JSON property cert
| 1934 1935 1936 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1934 def cert @cert end | 
#cert_serial_number ⇒ String
Serial number, as extracted from the certificate.
Corresponds to the JSON property certSerialNumber
| 1939 1940 1941 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1939 def cert_serial_number @cert_serial_number end | 
#common_name ⇒ String
User supplied name. Constrained to [a-zA-Z.-_ ]+.
Corresponds to the JSON property commonName
| 1944 1945 1946 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1944 def common_name @common_name end | 
#create_time ⇒ DateTime
The time when the certificate was created in RFC 3339 format, for example 2012-
11-15T16:19:00.094Z
Corresponds to the JSON property createTime
| 1950 1951 1952 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1950 def create_time @create_time end | 
#expiration_time ⇒ DateTime
The time when the certificate expires in RFC 3339 format, for example 2012-11-
15T16:19:00.094Z.
Corresponds to the JSON property expirationTime
| 1956 1957 1958 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1956 def expiration_time @expiration_time end | 
#instance ⇒ String
Name of the database instance.
Corresponds to the JSON property instance
| 1961 1962 1963 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1961 def instance @instance end | 
#kind ⇒ String
This is always sql#sslCert.
Corresponds to the JSON property kind
| 1966 1967 1968 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1966 def kind @kind end | 
#self_link ⇒ String
The URI of this resource.
Corresponds to the JSON property selfLink
| 1971 1972 1973 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1971 def self_link @self_link end | 
#sha1_fingerprint ⇒ String
Sha1 Fingerprint.
Corresponds to the JSON property sha1Fingerprint
| 1976 1977 1978 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1976 def sha1_fingerprint @sha1_fingerprint end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1983 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 |