UserListDateRuleItemInfo

  • Rule items can be created using a date operation.

  • The operator field, a required string representing a date comparison operator, must be populated when creating a new date rule item.

  • The value field is a string in YYYY-MM-DD format representing the date value for comparison, reported in the customer's time zone.

  • The offset_in_days field is an int64 representing a relative date value offset from the current date, and if both value and offset_in_days are present, value takes precedence.

A rule item composed of a date operation.

Fields

operator

UserListDateRuleItemOperator

Date comparison operator. This field is required and must be populated when creating new date rule item.

value

string

String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.

offset_in_days

int64

The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.