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

Request to replace data table rows in bulk.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table} |
| `↳ requests` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.CreateDataTableRowRequest>` Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB. |

### getParent

Required. The resource id of the data table.

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

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

### setParent

Required. The resource id of the data table.

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

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

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

### getRequests

Required. Data table rows to replace the existing data table rows. A
maximum of 1000 rows (for sync requests) or 2000 rows (for async requests)
can be replaced in a single request. Total size of the rows should be less
than 4MB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.CreateDataTableRowRequest>` |   |

### setRequests

Required. Data table rows to replace the existing data table rows. A
maximum of 1000 rows (for sync requests) or 2000 rows (for async requests)
can be replaced in a single request. Total size of the rows should be less
than 4MB.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table} Please see DataTableServiceClient::dataTableName() for help formatting this field. |
| `requests` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.CreateDataTableRowRequest>` Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB. |

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