Class: Google::Apis::DatastreamV1::MysqlSslConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatastreamV1::MysqlSslConfig
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
 lib/google/apis/datastream_v1/representations.rb,
 lib/google/apis/datastream_v1/representations.rb
Overview
MySQL SSL configuration information.
Instance Attribute Summary collapse
- 
  
    
      #ca_certificate  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Input only. 
- 
  
    
      #ca_certificate_set  ⇒ Boolean 
    
    
      (also: #ca_certificate_set?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #client_certificate  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Input only. 
- 
  
    
      #client_certificate_set  ⇒ Boolean 
    
    
      (also: #client_certificate_set?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #client_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Input only. 
- 
  
    
      #client_key_set  ⇒ Boolean 
    
    
      (also: #client_key_set?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MysqlSslConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MysqlSslConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ MysqlSslConfig
Returns a new instance of MysqlSslConfig.
| 1347 1348 1349 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1347 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#ca_certificate ⇒ String
Input only. PEM-encoded certificate of the CA that signed the source database
server's certificate.
Corresponds to the JSON property caCertificate
| 1313 1314 1315 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1313 def ca_certificate @ca_certificate end | 
#ca_certificate_set ⇒ Boolean Also known as: ca_certificate_set?
Output only. Indicates whether the ca_certificate field is set.
Corresponds to the JSON property caCertificateSet
| 1318 1319 1320 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1318 def ca_certificate_set @ca_certificate_set end | 
#client_certificate ⇒ String
Input only. PEM-encoded certificate that will be used by the replica to
authenticate against the source database server. If this field is used then
the 'client_key' and the 'ca_certificate' fields are mandatory.
Corresponds to the JSON property clientCertificate
| 1326 1327 1328 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1326 def client_certificate @client_certificate end | 
#client_certificate_set ⇒ Boolean Also known as: client_certificate_set?
Output only. Indicates whether the client_certificate field is set.
Corresponds to the JSON property clientCertificateSet
| 1331 1332 1333 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1331 def client_certificate_set @client_certificate_set end | 
#client_key ⇒ String
Input only. PEM-encoded private key associated with the Client Certificate. If
this field is used then the 'client_certificate' and the 'ca_certificate'
fields are mandatory.
Corresponds to the JSON property clientKey
| 1339 1340 1341 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1339 def client_key @client_key end | 
#client_key_set ⇒ Boolean Also known as: client_key_set?
Output only. Indicates whether the client_key field is set.
Corresponds to the JSON property clientKeySet
| 1344 1345 1346 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1344 def client_key_set @client_key_set end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1352 1353 1354 1355 1356 1357 1358 1359 | # File 'lib/google/apis/datastream_v1/classes.rb', line 1352 def update!(**args) @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate) @ca_certificate_set = args[:ca_certificate_set] if args.key?(:ca_certificate_set) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @client_certificate_set = args[:client_certificate_set] if args.key?(:client_certificate_set) @client_key = args[:client_key] if args.key?(:client_key) @client_key_set = args[:client_key_set] if args.key?(:client_key_set) end |