Google Cloud Chronicle V1 Client - Class EventRecord (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class EventRecord.

EventRecord stores information about a UDM event.

Generated from protobuf message google.cloud.chronicle.v1.EventRecord

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ event Event

The UDM Event.

↳ event_log_token string

Raw log tokens mapped to the event. Can be used to locate the raw log entry that generated the event.

↳ alert_number int

If the event should be treated as an alert, the unique identifier for the alert.

↳ alert_view_id string

Alert View specific Id. Helps create a link to Alert View.

↳ annotations int[]

Annotations added to an event.

↳ detections array<Google\Backstory\Collection>

Detections associated with an event.

↳ table string

User defined table name for the event in joins query.

getEvent

The UDM Event.

Returns
Type Description
Event|null

hasEvent

clearEvent

setEvent

The UDM Event.

Parameter
Name Description
var Event
Returns
Type Description
$this

getEventLogToken

Raw log tokens mapped to the event. Can be used to locate the raw log entry that generated the event.

Returns
Type Description
string

setEventLogToken

Raw log tokens mapped to the event. Can be used to locate the raw log entry that generated the event.

Parameter
Name Description
var string
Returns
Type Description
$this

getAlertNumber

If the event should be treated as an alert, the unique identifier for the alert.

Returns
Type Description
int

setAlertNumber

If the event should be treated as an alert, the unique identifier for the alert.

Parameter
Name Description
var int
Returns
Type Description
$this

getAlertViewId

Alert View specific Id. Helps create a link to Alert View.

Returns
Type Description
string

setAlertViewId

Alert View specific Id. Helps create a link to Alert View.

Parameter
Name Description
var string
Returns
Type Description
$this

getAnnotations

Annotations added to an event.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setAnnotations

Annotations added to an event.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getDetections

Detections associated with an event.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Backstory\Collection>

setDetections

Detections associated with an event.

Parameter
Name Description
var array<Google\Backstory\Collection>
Returns
Type Description
$this

getTable

User defined table name for the event in joins query.

Returns
Type Description
string

setTable

User defined table name for the event in joins query.

Parameter
Name Description
var string
Returns
Type Description
$this