public sealed class RetentionConfig : IMessage<RetentionConfig>, IEquatable<RetentionConfig>, IDeepCloneable<RetentionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class RetentionConfig.
public Duration RetentionWindowDuration { get; set; }
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][google.cloud.video.livestream.v1.Manifest.segment_keep_duration],
which defaults to 60s.
If both retention_window_duration and
[Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration]
are set, retention_window_duration is used and
[Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration]
is ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRetentionConfig\u003c/code\u003e class in the Google Cloud Video Live Stream v1 API manages the retention of output files.\u003c/p\u003e\n"],["\u003cp\u003eVersion 1.8.0 is the latest version of the \u003ccode\u003eRetentionConfig\u003c/code\u003e documentation, which is part of the \u003ccode\u003eGoogle.Cloud.Video.LiveStream.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetentionWindowDuration\u003c/code\u003e property determines the minimum duration that output files will be kept in the output bucket, and they will be deleted after that duration.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a default constructor and one that accepts another \u003ccode\u003eRetentionConfig\u003c/code\u003e instance to be used as reference.\u003c/p\u003e\n"]]],[],null,[]]