Reference documentation and code samples for the Google Cloud Chronicle Client class UserAssist.
The UserAssist extension captures details specific to Windows User Assist events.
Generated from protobuf message google.backstory.UserAssist
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ application_focus_count |
int|string
The number of times the application associated with the entry gained focus. |
↳ application_focus_duration |
Google\Protobuf\Duration
The total duration the application associated with the entry was in focus. |
↳ executions_count |
int|string
The number of times the application associated with the entry has been executed. |
↳ entry_index |
int|string
The index or identifier of the user assist entry, unique per user. |
getApplicationFocusCount
The number of times the application associated with the entry gained focus.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setApplicationFocusCount
The number of times the application associated with the entry gained focus.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApplicationFocusDuration
The total duration the application associated with the entry was in focus.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasApplicationFocusDuration
clearApplicationFocusDuration
setApplicationFocusDuration
The total duration the application associated with the entry was in focus.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExecutionsCount
The number of times the application associated with the entry has been executed.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setExecutionsCount
The number of times the application associated with the entry has been executed.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntryIndex
The index or identifier of the user assist entry, unique per user.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setEntryIndex
The index or identifier of the user assist entry, unique per user.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|