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

The input content

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

## Namespace

Google \\ Cloud \\ Redis \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis/latest/V1.GcsSource` Google Cloud Storage location where input content is located. |

### getGcsSource

Google Cloud Storage location where input content is located.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-redis/latest/V1.GcsSource|null` |   |

### hasGcsSource

### setGcsSource

Google Cloud Storage location where input content is located.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis/latest/V1.GcsSource` |

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

### getSource

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