1.6.1 (latest) 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::SslConfig.

SSL Configuration of a connection

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #additional_variables

    def additional_variables() -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>

**Returns**

- (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- Additional SSL related field values

### #additional_variables=

    def additional_variables=(value) -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- Additional SSL related field values
**Returns**

- (::Array\<[::Google::Cloud::Connectors::V1::ConfigVariable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-ConfigVariable)\>) --- Additional SSL related field values

### #client_cert_type

    def client_cert_type() -> ::Google::Cloud::Connectors::V1::CertType

**Returns**

- ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Client Cert (PEM/JKS/.. etc.)

### #client_cert_type=

    def client_cert_type=(value) -> ::Google::Cloud::Connectors::V1::CertType

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Client Cert (PEM/JKS/.. etc.)
**Returns**

- ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Client Cert (PEM/JKS/.. etc.)

### #client_certificate

    def client_certificate() -> ::Google::Cloud::Connectors::V1::Secret

**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Certificate

### #client_certificate=

    def client_certificate=(value) -> ::Google::Cloud::Connectors::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Certificate
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Certificate

### #client_private_key

    def client_private_key() -> ::Google::Cloud::Connectors::V1::Secret

**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Private Key

### #client_private_key=

    def client_private_key=(value) -> ::Google::Cloud::Connectors::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Private Key
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Client Private Key

### #client_private_key_pass

    def client_private_key_pass() -> ::Google::Cloud::Connectors::V1::Secret

**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret containing the passphrase protecting the Client Private Key

### #client_private_key_pass=

    def client_private_key_pass=(value) -> ::Google::Cloud::Connectors::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret containing the passphrase protecting the Client Private Key
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Secret containing the passphrase protecting the Client Private Key

### #private_server_certificate

    def private_server_certificate() -> ::Google::Cloud::Connectors::V1::Secret

**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Private Server Certificate. Needs to be specified if trust model is `PRIVATE`.

### #private_server_certificate=

    def private_server_certificate=(value) -> ::Google::Cloud::Connectors::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Private Server Certificate. Needs to be specified if trust model is `PRIVATE`.
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Private Server Certificate. Needs to be specified if trust model is `PRIVATE`.

### #server_cert_type

    def server_cert_type() -> ::Google::Cloud::Connectors::V1::CertType

**Returns**

- ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Server Cert (PEM/JKS/.. etc.)

### #server_cert_type=

    def server_cert_type=(value) -> ::Google::Cloud::Connectors::V1::CertType

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Server Cert (PEM/JKS/.. etc.)
**Returns**

- ([::Google::Cloud::Connectors::V1::CertType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-CertType)) --- Type of Server Cert (PEM/JKS/.. etc.)

### #trust_model

    def trust_model() -> ::Google::Cloud::Connectors::V1::SslConfig::TrustModel

**Returns**

- ([::Google::Cloud::Connectors::V1::SslConfig::TrustModel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslConfig-TrustModel)) --- Trust Model of the SSL connection

### #trust_model=

    def trust_model=(value) -> ::Google::Cloud::Connectors::V1::SslConfig::TrustModel

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::SslConfig::TrustModel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslConfig-TrustModel)) --- Trust Model of the SSL connection
**Returns**

- ([::Google::Cloud::Connectors::V1::SslConfig::TrustModel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslConfig-TrustModel)) --- Trust Model of the SSL connection

### #type

    def type() -> ::Google::Cloud::Connectors::V1::SslType

**Returns**

- ([::Google::Cloud::Connectors::V1::SslType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslType)) --- Controls the ssl type for the given connector version.

### #type=

    def type=(value) -> ::Google::Cloud::Connectors::V1::SslType

**Parameter**

- **value** ([::Google::Cloud::Connectors::V1::SslType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslType)) --- Controls the ssl type for the given connector version.
**Returns**

- ([::Google::Cloud::Connectors::V1::SslType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-SslType)) --- Controls the ssl type for the given connector version.

### #use_ssl

    def use_ssl() -> ::Boolean

**Returns**

- (::Boolean) --- Bool for enabling SSL

### #use_ssl=

    def use_ssl=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Bool for enabling SSL
**Returns**

- (::Boolean) --- Bool for enabling SSL