Reference documentation and code samples for the Google Cloud Chronicle Client class Prevalence.
The prevalence of a resource within the customer's environment.
This measures how common it is for assets to access the resource.
Generated from protobuf message google.backstory.Prevalence
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rolling_max |
int
The maximum number of assets per day accessing the resource over the trailing day_count days. |
↳ day_count |
int
The number of days over which rolling_max is calculated. |
↳ rolling_max_sub_domains |
int
The maximum number of assets per day accessing the domain along with sub-domains over the trailing day_count days. This field is only valid for domains. |
↳ day_max |
int
The max prevalence score in a day interval window. |
↳ day_max_sub_domains |
int
The max prevalence score in a day interval window across sub-domains. This field is only valid for domains. |
getRollingMax
The maximum number of assets per day accessing the resource over the trailing day_count days.
| Returns | |
|---|---|
| Type | Description |
int |
|
setRollingMax
The maximum number of assets per day accessing the resource over the trailing day_count days.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDayCount
The number of days over which rolling_max is calculated.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDayCount
The number of days over which rolling_max is calculated.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRollingMaxSubDomains
The maximum number of assets per day accessing the domain along with sub-domains over the trailing day_count days. This field is only valid for domains.
| Returns | |
|---|---|
| Type | Description |
int |
|
setRollingMaxSubDomains
The maximum number of assets per day accessing the domain along with sub-domains over the trailing day_count days. This field is only valid for domains.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDayMax
The max prevalence score in a day interval window.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDayMax
The max prevalence score in a day interval window.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDayMaxSubDomains
The max prevalence score in a day interval window across sub-domains. This field is only valid for domains.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDayMaxSubDomains
The max prevalence score in a day interval window across sub-domains. This field is only valid for domains.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|