AI-generated Key Takeaways
-
Rule items can be created using a date operation.
-
The
operatorfield, a required string representing a date comparison operator, must be populated when creating a new date rule item. -
The
valuefield is a string in YYYY-MM-DD format representing the date value for comparison, reported in the customer's time zone. -
The
offset_in_daysfield is an int64 representing a relative date value offset from the current date, and if bothvalueandoffset_in_daysare present,valuetakes precedence.
A rule item composed of a date operation.
| Fields | |
|---|---|
|
Date comparison operator. This field is required and must be populated when creating new date rule item. |
|
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. |
|
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. |