# Google Cloud Chronicle V1 Client - Class DeleteDataTableRequest (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 DeleteDataTableRequest.

Request message for deleting data tables.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the data table to delete. Format projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table} |
| `↳ force` | `bool` Optional. If set to true, any rows under this data table will also be deleted. (Otherwise, the request will only work if the data table has no rows.) |

### getName

Required. The resource name of the data table to delete.

Format
projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table}

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

### setName

Required. The resource name of the data table to delete.

Format
projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table}

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

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

### getForce

Optional. If set to true, any rows under this data table will also be
deleted. (Otherwise, the request will only work if the data table has no
rows.)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setForce

Optional. If set to true, any rows under this data table will also be
deleted. (Otherwise, the request will only work if the data table has no
rows.)

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the data table to delete. Format projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table} Please see DataTableServiceClient::dataTableName() for help formatting this field. |
| `force` | `bool` Optional. If set to true, any rows under this data table will also be deleted. (Otherwise, the request will only work if the data table has no rows.) |

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