Method
Sets the streaming retention policy.
REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
datasetId |
str |
Unique string identifier for the streaming dataset.
|
No |
retentionHours |
int |
Number of hours to retain streamed data in memory.
|
No |
retentionRowCount |
int |
Number of rows to retain streamed data in memory.
|
No |
ignoreRecordsBeforeTimestamp |
int |
The Unix timestamp (in seconds) to use as a cutoff to ignore all entries sent before it
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
TYPE |
WHEN |
DataNotFoundError |
datasetId is not found.
|