0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SearchOperationMetadata.

Metadata for the google.longrunning.Operation returned by the Search
method.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` Output only. State of the Search operation. |
| `↳ start_time` | `Google\Protobuf\Timestamp` Output only. The start time of the search. |
| `↳ end_time` | `Google\Protobuf\Timestamp` Output only. The end time of the search, if done. |
| `↳ expire_time` | `Google\Protobuf\Timestamp` Output only. The time when the search results expire. |
| `↳ progress` | `int` Output only. Progress Percentage of the search LRO, ranges from 0 to 100. |
| `↳ datatable_export_metadata` | `DataTableExportMetadata` Output only. Metadata of the data table export operation if the search results are written to a Data Table. |

### getState

Output only. State of the Search operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.SearchOperationMetadata.State.md.txt). |

### setState

Output only. State of the Search operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.SearchOperationMetadata.State.md.txt). |

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

### getStartTime

Output only. The start time of the search.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Output only. The start time of the search.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getEndTime

Output only. The end time of the search, if done.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Output only. The end time of the search, if done.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getExpireTime

Output only. The time when the search results expire.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasExpireTime

### clearExpireTime

### setExpireTime

Output only. The time when the search results expire.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getProgress

Output only. Progress Percentage of the search LRO, ranges from 0 to 100.

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

### setProgress

Output only. Progress Percentage of the search LRO, ranges from 0 to 100.

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

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

### getDatatableExportMetadata

Output only. Metadata of the data table export operation if the search
results are written to a Data Table.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DataTableExportMetadata|null` |   |

### hasDatatableExportMetadata

### clearDatatableExportMetadata

### setDatatableExportMetadata

Output only. Metadata of the data table export operation if the search
results are written to a Data Table.

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

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