# Google Cloud Asset V1 Client - Class GcsDestination (2.3.3)

2.3.3 (latest) 2.3.2 2.2.3 2.1.3 2.0.1 1.16.4 1.14.1 1.13.2 1.12.2 1.11.3 1.10.2 1.9.2 Reference documentation and code samples for the Google Cloud Asset V1 Client class GcsDestination.

A Cloud Storage location.

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

## Namespace

Google \\ Cloud \\ Asset \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result. |
| `↳ uri_prefix` | `string` The URI prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object URI is in format: "gs://bucket_name/object_name_prefix/ |

### getUri

The URI of the Cloud Storage object. It's the same URI that is used by
gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
Editing Object
Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
for more information.

If the specified Cloud Storage object already exists and there is no
[hold](https://cloud.google.com/storage/docs/object-holds), it will be
overwritten with the exported result.

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

### hasUri

### setUri

The URI of the Cloud Storage object. It's the same URI that is used by
gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
Editing Object
Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
for more information.

If the specified Cloud Storage object already exists and there is no
[hold](https://cloud.google.com/storage/docs/object-holds), it will be
overwritten with the exported result.

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

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

### getUriPrefix

The URI prefix of all generated Cloud Storage objects. Example:
"gs://bucket_name/object_name_prefix". Each object URI is in format:
"gs://bucket_name/object_name_prefix/


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

### hasUriPrefix

### setUriPrefix

The URI prefix of all generated Cloud Storage objects. Example:
"gs://bucket_name/object_name_prefix". Each object URI is in format:
"gs://bucket_name/object_name_prefix/


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

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

### getObjectUri

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