# Google Cloud Lustre V1 Client - Class GcsPath (0.4.0)

0.4.0 (latest) 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Lustre V1 Client class GcsPath.

Specifies a Cloud Storage bucket and, optionally, a path inside the bucket.

Generated from protobuf message `google.cloud.lustre.v1.GcsPath`

## Namespace

Google \\ Cloud \\ Lustre \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Required. The URI to a Cloud Storage bucket, or a path within a bucket, using the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a path inside the bucket is specified, it must end with a forward slash (`/`). |

### getUri

Required. The URI to a Cloud Storage bucket, or a path within a bucket,
using the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
path inside the bucket is specified, it must end with a forward slash
(`/`).

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

### setUri

Required. The URI to a Cloud Storage bucket, or a path within a bucket,
using the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
path inside the bucket is specified, it must end with a forward slash
(`/`).

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

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