Skip to main content

Services

RPC methods exposed by this API.

CalculatedChannelsService

MethodRequestResponseDescription
ListExpressionIdentifiersListExpressionIdentifiersRequestListExpressionIdentifiersResponseRetrieves a list of valid identifiers that can be used as part of a calculated channel expression.
ValidateExpressionValidateExpressionRequestValidateExpressionResponseUsed to validate whether or not an expression used for a calculated channel is valid.

Messages

Data models used across requests/responses.

ErrorValidatingExpressionResult

FieldTypeLabelDescription
error_messagestring

ExpressionChannelReference

FieldTypeLabelDescription
channel_referencestring
channel_idstring
oneof calculated_channel_reference. calculated_channelExpressionRequest

ExpressionIdentifier

FieldTypeLabelDescription
namestring
descriptionstring
typeExpressionIdentifierType
display_namestring
libraryExpressionIdentifierLibrary

ExpressionRequest

FieldTypeLabelDescription
channel_referencesExpressionRequest.ChannelReferencesEntryrepeatedDeprecated. A map from the channel reference in the expression string (e.g. $1) to the channel id (uuid). This is deprecated and should be passed in expression_channel_references instead.
expressionstring
expression_channel_referencesExpressionChannelReferencerepeated
function_dependenciessift.common.type.v1.FunctionDependencyrepeated

ExpressionRequest.ChannelReferencesEntry

FieldTypeLabelDescription
keystring
valuestring

ListExpressionIdentifiersRequest

FieldTypeLabelDescription
page_sizeuint32Defaults to 1000. Max of 10,000.
page_tokenstring
modeExpressionMode

ListExpressionIdentifiersResponse

FieldTypeLabelDescription
identifiersExpressionIdentifierrepeated
next_page_tokenstringoptional

SuccessValidatingExpressionResult

FieldTypeLabelDescription
data_typesift.common.type.v1.ChannelDataType

ValidateExpressionRequest

FieldTypeLabelDescription
expressionExpressionRequest
modeExpressionMode

ValidateExpressionResponse

FieldTypeLabelDescription
oneof result. errorErrorValidatingExpressionResult
oneof result. successSuccessValidatingExpressionResult

Enums

Allowed constant values used in message fields.

ExpressionIdentifierLibrary

NameNumberDescription
EXPRESSION_IDENTIFIER_LIBRARY_UNSPECIFIED0
EXPRESSION_IDENTIFIER_LIBRARY_MATH1
EXPRESSION_IDENTIFIER_LIBRARY_STRING2
EXPRESSION_IDENTIFIER_LIBRARY_LIST3
EXPRESSION_IDENTIFIER_LIBRARY_ITER4
EXPRESSION_IDENTIFIER_LIBRARY_STATEFUL5
EXPRESSION_IDENTIFIER_LIBRARY_SUMMARY6
EXPRESSION_IDENTIFIER_LIBRARY_USER_DEFINED_FUNCTIONS7

ExpressionIdentifierType

NameNumberDescription
EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED0
EXPRESSION_IDENTIFIER_TYPE_FUNCTION1
EXPRESSION_IDENTIFIER_TYPE_CHANNEL2

ExpressionMode

NameNumberDescription
EXPRESSION_MODE_UNSPECIFIED0
EXPRESSION_MODE_RULES1
EXPRESSION_MODE_CALCULATED_CHANNELS2
EXPRESSION_MODE_RULER3
EXPRESSION_MODE_STRUCTURED_DATA4