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.
Configuration for retention of output files.
Implements
IMessageRetentionConfig, IEquatableRetentionConfig, IDeepCloneableRetentionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
RetentionConfig()
public RetentionConfig()
RetentionConfig(RetentionConfig)
public RetentionConfig(RetentionConfig other)
Parameter | |
---|---|
Name | Description |
other |
RetentionConfig |
Properties
RetentionWindowDuration
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.
Property Value | |
---|---|
Type | Description |
Duration |