- JSON representation
- RuleType
- Value
- BoolList
- BytesList
- DoubleList
- Int64List
- Uint64List
- StringList
- EventSampleList
- EventSample
- AlertingType
JSON representation |
---|
{ "id": string, "rule_type": enum ( |
Fields | |
---|---|
id |
|
rule_ |
|
fields[] |
|
outcomes[] |
|
time_ |
|
result_ |
An object containing a list of |
result_ |
An object containing a list of |
detection_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
commit_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
alerting_ |
|
RuleType
Enums | |
---|---|
UNKNOWN |
|
SINGLE_EVENT |
|
MULTI_EVENT |
|
WINDOWED_SINGLE_EVENT |
Value
JSON representation |
---|
{ "name": string, "field_path": string, // Union field |
Fields | |
---|---|
name |
|
field_ |
|
Union field
|
|
bool_ |
|
bytes_ |
A base64-encoded string. |
double_ |
|
int64_ |
|
uint64_ |
|
string_ |
|
null_ |
|
bool_list |
|
bytes_list |
|
double_list |
|
int64_list |
|
uint64_list |
|
string_list |
|
bool_ |
|
bytes_ |
|
double_ |
|
int64_ |
|
uint64_ |
|
string_ |
|
timestamp_ |
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
BoolList
JSON representation |
---|
{ "bool_vals": [ boolean ] } |
Fields | |
---|---|
bool_ |
|
BytesList
JSON representation |
---|
{ "bytes_vals": [ string ] } |
Fields | |
---|---|
bytes_ |
A base64-encoded string. |
DoubleList
JSON representation |
---|
{ "double_vals": [ number ] } |
Fields | |
---|---|
double_ |
|
Int64List
JSON representation |
---|
{ "int64_vals": [ string ] } |
Fields | |
---|---|
int64_ |
|
Uint64List
JSON representation |
---|
{ "uint64_vals": [ string ] } |
Fields | |
---|---|
uint64_ |
|
StringList
JSON representation |
---|
{ "string_vals": [ string ] } |
Fields | |
---|---|
string_ |
|
EventSampleList
JSON representation |
---|
{
"event_samples": [
{
object ( |
Fields | |
---|---|
event_ |
|
too_ |
|
EventSample
JSON representation |
---|
{ "raw_log_token": string, // Union field |
Fields | |
---|---|
raw_ |
|
Union field
|
|
event |
|
entity |
|
AlertingType
Enums | |
---|---|
UNSPECIFIED |
|
NOT_ALERTING |
|
ALERTING |