Reference documentation and code samples for the Google Cloud Chronicle Client class LatencyMetrics.
LatencyMetrics contains relevant timestamps for measuring latency per event variable. These metrics are calculated from ALL of the events that contribute to the detection, not just the sampled ones.
Generated from protobuf message google.backstory.LatencyMetrics
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ oldest_ingestion_time |
Google\Protobuf\Timestamp
The oldest ingestion timestamp from the events used to create the detection. |
↳ newest_ingestion_time |
Google\Protobuf\Timestamp
The newest (most recent) ingestion timestamp from the events used to create the detection. |
↳ oldest_event_time |
Google\Protobuf\Timestamp
The oldest event timestamp from the events used to create the detection. |
↳ newest_event_time |
Google\Protobuf\Timestamp
The newest (most recent) event timestamp from the events used to create the detection. |
↳ ingestion_latency |
Google\Protobuf\Duration
The difference between newest ingestion timestamp and newest event timestamp. |
getOldestIngestionTime
The oldest ingestion timestamp from the events used to create the detection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasOldestIngestionTime
clearOldestIngestionTime
setOldestIngestionTime
The oldest ingestion timestamp from the events used to create the detection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNewestIngestionTime
The newest (most recent) ingestion timestamp from the events used to create the detection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasNewestIngestionTime
clearNewestIngestionTime
setNewestIngestionTime
The newest (most recent) ingestion timestamp from the events used to create the detection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOldestEventTime
The oldest event timestamp from the events used to create the detection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasOldestEventTime
clearOldestEventTime
setOldestEventTime
The oldest event timestamp from the events used to create the detection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNewestEventTime
The newest (most recent) event timestamp from the events used to create the detection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasNewestEventTime
clearNewestEventTime
setNewestEventTime
The newest (most recent) event timestamp from the events used to create the detection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIngestionLatency
The difference between newest ingestion timestamp and newest event timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasIngestionLatency
clearIngestionLatency
setIngestionLatency
The difference between newest ingestion timestamp and newest event timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|