Google Cloud Video Live Stream V1 Client - Class RetentionConfig (1.1.1)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class RetentionConfig.

Configuration for retention of output files.

Generated from protobuf message google.cloud.video.livestream.v1.RetentionConfig

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ retention_window_duration Google\Protobuf\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.

getRetentionWindowDuration

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.

Returns
Type Description
Google\Protobuf\Duration|null

hasRetentionWindowDuration

clearRetentionWindowDuration

setRetentionWindowDuration

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.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this