Reference documentation and code samples for the Google Cloud Chronicle Client class RiskDelta.
Describes the difference in risk score between two points in time.
Generated from protobuf message google.backstory.RiskDelta
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ previous_range_end_time |
Google\Protobuf\Timestamp
End time of the previous time window. |
↳ risk_score_delta |
int
Difference in the normalized risk score from the previous recorded value. |
↳ previous_risk_score |
int
Risk score from previous risk window |
↳ risk_score_numeric_delta |
int
Numeric change between current and previous risk score |
getPreviousRangeEndTime
End time of the previous time window.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasPreviousRangeEndTime
clearPreviousRangeEndTime
setPreviousRangeEndTime
End time of the previous time window.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRiskScoreDelta
Difference in the normalized risk score from the previous recorded value.
| Returns | |
|---|---|
| Type | Description |
int |
|
setRiskScoreDelta
Difference in the normalized risk score from the previous recorded value.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreviousRiskScore
Risk score from previous risk window
| Returns | |
|---|---|
| Type | Description |
int |
|
setPreviousRiskScore
Risk score from previous risk window
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRiskScoreNumericDelta
Numeric change between current and previous risk score
| Returns | |
|---|---|
| Type | Description |
int |
|
setRiskScoreNumericDelta
Numeric change between current and previous risk score
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|