calculated_channels

Protocol buffer definition for calculated_channels

sift/calculated_channels/v1/calculated_channels.proto

ErrorValidatingExpressionResult

FieldTypeLabelDescription
error_messagestring

ExpressionChannelReference

FieldTypeLabelDescription
channel_referencestring
channel_idstring

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

ExpressionRequest.ChannelReferencesEntry

FieldTypeLabelDescription
keystring
valuestring

ListExpressionIdentifiersRequest

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

ListExpressionIdentifiersResponse

FieldTypeLabelDescription
identifiersExpressionIdentifierrepeated

SuccessValidatingExpressionResult

FieldTypeLabelDescription
data_typesift.common.type.v1.ChannelDataType

ValidateExpressionRequest

FieldTypeLabelDescription
expressionExpressionRequest
modeExpressionMode

ValidateExpressionResponse

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

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

CalculatedChannelsService

Method NameRequest TypeResponse TypeDescription
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.

On this page