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::AuthConfig::SshPublicKey.

Parameters to support Ssh public key Authentication.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cert_type

    def cert_type() -> ::String

**Returns**

- (::String) --- Format of SSH Client cert.

### #cert_type=

    def cert_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Format of SSH Client cert.
**Returns**

- (::String) --- Format of SSH Client cert.

### #ssh_client_cert

    def ssh_client_cert() -> ::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)) --- SSH Client Cert. It should contain both public and private key.

### #ssh_client_cert=

    def ssh_client_cert=(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)) --- SSH Client Cert. It should contain both public and 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)) --- SSH Client Cert. It should contain both public and private key.

### #ssh_client_cert_pass

    def ssh_client_cert_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)) --- Password (passphrase) for ssh client certificate if it has one.

### #ssh_client_cert_pass=

    def ssh_client_cert_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)) --- Password (passphrase) for ssh client certificate if it has one.
**Returns**

- ([::Google::Cloud::Connectors::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-connectors-v1/latest/Google-Cloud-Connectors-V1-Secret)) --- Password (passphrase) for ssh client certificate if it has one.

### #username

    def username() -> ::String

**Returns**

- (::String) --- The user account used to authenticate.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- The user account used to authenticate.
**Returns**

- (::String) --- The user account used to authenticate.