# Google Cloud Redis V1 Client - Class GcsSource (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 GcsSource.

The Cloud Storage location for the input content

Generated from protobuf message `google.cloud.redis.v1.GcsSource`

## Namespace

Google \\ Cloud \\ Redis \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). |

### getUri

Required. Source data URI. (e.g. 'gs://my_bucket/my_object').

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUri

Required. Source data URI. (e.g. 'gs://my_bucket/my_object').

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |