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 DetectionRecord.

DetectionRecord stores information about a detection.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` The ID of the detection. |
| `↳ collection` | `Google\Backstory\Collection` The detection. |

### getId

The ID of the detection.

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

### setId

The ID of the detection.

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

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

### getCollection

The detection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Backstory\Collection|null` |   |

### hasCollection

### clearCollection

### setCollection

The detection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Backstory\Collection` |

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