Class RetentionConfig (1.8.0)

RetentionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for retention of output files.

Attribute

Name Description
retention_window_duration google.protobuf.duration_pb2.Duration
The minimum duration for which the output files from the channel will remain in the output bucket. After this duration, output files are deleted asynchronously. When the channel is deleted, all output files are deleted from the output bucket asynchronously. If omitted or set to zero, output files will remain in the output bucket based on Manifest.segment_keep_duration, which defaults to 60s. If both retention_window_duration and Manifest.segment_keep_duration are set, retention_window_duration is used and Manifest.segment_keep_duration is ignored.