Description
Fields
Key | Type | Description |
---|---|---|
eventData
|
FieldPath |
A specific piece of event data to check. Optional To use this field, at least one of the following fields SHOULD be used: is, isNot, greaterThan, greaterThanOrEqualTo, lessThan, lessThanOrEqualTo |
is
|
Dynamic |
Checks if the event data is equal to a value. Optional To use this field, all the following fields CANNOT be used: isNot, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan To use this field, all the following fields SHOULD be used: eventData |
isNot
|
Dynamic |
Checks if the event data is not equal to a value. Optional To use this field, all the following fields CANNOT be used: is, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan To use this field, all the following fields SHOULD be used: eventData |
greaterThan
|
Dynamic |
Checks if the event data is greater than (>) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, greaterThanOrEqualTo |
greaterThanOrEqualTo
|
Dynamic |
Checks if the event data is greater than or equal to (>=) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, greaterThan |
lessThan
|
Dynamic |
Checks if the event data is less than (<) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, lessThanOrEqualTo |
lessThanOrEqualTo
|
Dynamic |
Checks if the event data is less than or equal to (<=) a value. Optional To use this field, all the following fields CANNOT be used: isNot, is, lessThan |
for
|
Duration |
Checks if the elapsed time duration since last valid event seen has exceeded this value. Only applicable for Starters, cannot be used with Conditions. Optional |
suppressFor
|
Duration |
Suppress the triggering of the starter for a certain time period. Optional |
OkGoogle Event Data
Key | Type | Description |
---|---|---|
query
|
String |
Optional |
Examples
starters:
- type: assistant.event.OkGoogle
eventData: query
is: Movie time # No need to add "Ok Google" to the query here.