Google Cloud Chronicle V1 Client - Class Event (0.9.0)

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

Event is a resource that contains information about a telemetry event.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the event. Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.

↳ udm Google\Backstory\UDM

Event data in UDM format.

getName

The resource name of the event.

Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.

Returns
Type Description
string

setName

The resource name of the event.

Format: projects/{project}/locations/{location}/instances/{instance}/events/{event} where 'event' is URL-encoded Base64. The unencoded value of 'event' can also be found in udm.metadata.id.

Parameter
Name Description
var string
Returns
Type Description
$this

getUdm

Event data in UDM format.

Returns
Type Description
Google\Backstory\UDM|null

hasUdm

clearUdm

setUdm

Event data in UDM format.

Parameter
Name Description
var Google\Backstory\UDM
Returns
Type Description
$this