# Google Cloud Private Catalog V1beta1 Client - Class GcsSource (0.6.3)

0.6.3 (latest) 0.6.2 0.5.3 0.4.6 0.3.3 0.2.13

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class GcsSource.

Defines how to access Cloud Storage source.

Generated from protobuf message `google.cloud.privatecatalog.v1beta1.GcsSource`

## Namespace

Google \\ Cloud \\ PrivateCatalog \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_path` | `string` Output only. the cloud storage object path. |
| `↳ generation` | `int|string` Output only. Generation of the object, which is set when the content of an object starts being written. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time when the object metadata was last changed. |

### getGcsPath

Output only. the cloud storage object path.

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

### setGcsPath

Output only. the cloud storage object path.

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

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

### getGeneration

Output only. Generation of the object, which is set when the content of an object starts
being written.

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

### setGeneration

Output only. Generation of the object, which is set when the content of an object starts
being written.

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

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

### getUpdateTime

Output only. The time when the object metadata was last changed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The time when the object metadata was last changed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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