Google Cloud Chronicle V1 Client - Class DetectionRecord (0.9.0)

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