# Cloud AutoML V1 Client - Class GcsDestination (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class GcsDestination.

The Google Cloud Storage location where the output is to be written to.

Generated from protobuf message `google.cloud.automl.v1.GcsDestination`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ output_uri_prefix` | `string` Required. Google Cloud Storage URI to output directory, up to 2000 characters long. Accepted forms: \* \* Prefix path: gs://bucket/directory The requesting user must have write permission to the bucket. The directory is created if it doesn't exist. |

### getOutputUriPrefix

Required. Google Cloud Storage URI to output directory, up to 2000
characters long.

Accepted forms:

- Prefix path: gs://bucket/directory The requesting user must have write permission to the bucket. The directory is created if it doesn't exist.

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

### setOutputUriPrefix

Required. Google Cloud Storage URI to output directory, up to 2000
characters long.

Accepted forms:

- Prefix path: gs://bucket/directory The requesting user must have write permission to the bucket. The directory is created if it doesn't exist.

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

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