LabelMatch Data Type
Models how the provided labels should match (all, any or none) when searching resources by labels.
| name | data type | description |
|---|---|---|
| |
|
|
| matchOperator | LabelMatchOperator | |
| labelCriteria | array of Label | The labels to search for. Any value provided getValue are treated as regular expression which means that providing a value of "a|b|c" will match vehicles with the label and any value of a,b or c associated with it. |
Example
{
"matchOperator" : "ALL",
"labelCriteria" : [ {
"label" : "...",
"value" : "...",
"global" : true
}, {
"label" : "...",
"value" : "...",
"global" : true
} ]
}