Skip to main content

Services

RPC methods exposed by this API.

FilterGrammarService

FilterGrammarService describes the CEL filter capabilities shared by every resource: the operators and member functions available for each built-in field type, plus the functions usable anywhere in an expression. It does not vary by resource, org, or user, so a client fetches it once and caches it, then uses it to render and label the per-field tokens returned in FilterField.
MethodRequestResponseDescription
GetFilterGrammarGetFilterGrammarRequestGetFilterGrammarResponse

Messages

Data models used across requests/responses.

FilterFunction

A CEL function, with display copy for a UI.
FieldTypeLabelDescription
namestringThe CEL function name, e.g. “contains”, “getFullYear”, “now”.
display_namestringShort label for a UI control, e.g. “Contains”, “Year”.
descriptionstringOptional longer explanation of what the function does.

FilterOperator

A CEL infix operator, with display copy for a UI.
FieldTypeLabelDescription
tokenstringThe literal CEL token, e.g. ”==”, ”!=”, ”<”, “in”.
display_namestringShort label for a UI control, e.g. “Equals”, “In”.
descriptionstringOptional longer explanation of what the operator matches.

FilterTypeGrammar

FilterTypeGrammar lists the operators and member functions valid for one built-in field type.
FieldTypeLabelDescription
typesift.common.v1.FilterFieldType
operatorsFilterOperatorrepeated
functionsFilterFunctionrepeated

GetFilterGrammarRequest

The request for a call to FilterGrammarService_GetFilterGrammar. This message has no fields.

GetFilterGrammarResponse

The response of a call to FilterGrammarService_GetFilterGrammar.
FieldTypeLabelDescription
typesFilterTypeGrammarrepeatedOperators and member functions available for each built-in field type.
global_functionsFilterFunctionrepeatedFunctions usable anywhere in an expression rather than bound to a field, e.g. now(), duration(…), timestamp(…).

Enums

Allowed constant values used in message fields.