# Google Cloud Chronicle V1 Client - Class UpdateDataTableRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class UpdateDataTableRequest.

A request to update details of data table.

Generated from protobuf message `google.cloud.chronicle.v1.UpdateDataTableRequest`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_table` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataTable` Required. This field is used to identify the datatable to update. Format: projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table} |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of metadata fields to update. Currently data tables only support updating the `description`, `row_time_to_live` and `scope_info` fields. When no field mask is supplied, all non-empty fields will be updated. A field mask of "\*" will update all fields, whether empty or not. |

### getDataTable

Required. This field is used to identify the datatable to update.

Format:
projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataTable|null` |   |

### hasDataTable

### clearDataTable

### setDataTable

Required. This field is used to identify the datatable to update.

Format:
projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataTable` |

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

### getUpdateMask

Optional. The list of metadata fields to update. Currently data tables only
support updating the `description`, `row_time_to_live` and `scope_info`
fields. When no field mask is supplied, all non-empty fields will be
updated. A field mask of "\*" will update all fields, whether empty or not.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. The list of metadata fields to update. Currently data tables only
support updating the `description`, `row_time_to_live` and `scope_info`
fields. When no field mask is supplied, all non-empty fields will be
updated. A field mask of "\*" will update all fields, whether empty or not.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataTable` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataTable` Required. This field is used to identify the datatable to update. Format: projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table} |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of metadata fields to update. Currently data tables only support updating the `description`, `row_time_to_live` and `scope_info` fields. When no field mask is supplied, all non-empty fields will be updated. A field mask of "\*" will update all fields, whether empty or not. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.UpdateDataTableRequest` |   |