# Cloud Vision V1 Client - Class GcsSource (2.2.1)

2.2.1 (latest) 2.2.0 2.1.3 2.0.3 1.10.3 1.9.4 1.8.0 1.7.6 1.6.8 Reference documentation and code samples for the Cloud Vision V1 Client class GcsSource.

The Google Cloud Storage location where the input will be read from.

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

## Namespace

Google \\ Cloud \\ Vision \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported. |

### getUri

Google Cloud Storage URI for the input file. This must only be a
Google Cloud Storage object. Wildcards are not currently supported.

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

### setUri

Google Cloud Storage URI for the input file. This must only be a
Google Cloud Storage object. Wildcards are not currently supported.

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

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