# Google Cloud Redis V1 Client - Class TransitEncryptionMode (2.2.3)

2.2.3 (latest) 2.2.2 2.1.6 2.0.0 1.9.5 1.8.4 1.7.0 1.6.12 Reference documentation and code samples for the Google Cloud Redis V1 Client class TransitEncryptionMode.

Available TLS modes.

Protobuf type `google.cloud.redis.v1.Instance.TransitEncryptionMode`

## Namespace

Google \\ Cloud \\ Redis \\ V1 \\ Instance

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TRANSIT_ENCRYPTION_MODE_UNSPECIFIED

    Value: 0

Not set.

Generated from protobuf enum `TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0;`

### SERVER_AUTHENTICATION

    Value: 1

Client to Server traffic encryption enabled with server authentication.

Generated from protobuf enum `SERVER_AUTHENTICATION = 1;`

### DISABLED

    Value: 2

TLS is disabled for the instance.

Generated from protobuf enum `DISABLED = 2;`