public sealed class Clip : IMessage<Clip>, IEquatable<Clip>, IDeepCloneable<Clip>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class Clip.
Clip is a sub-resource under channel. Each clip represents a clipping operation that generates a VOD playlist from its channel given a set of timestamp ranges.
Namespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
Clip()
public Clip()
Clip(Clip)
public Clip(Clip other)
Parameter | |
---|---|
Name | Description |
other |
Clip |
Properties
ClipManifests
public RepeatedField<Clip.Types.ClipManifest> ClipManifests { get; }
Required. A list of clip manifests. Currently only one clip manifest is allowed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldClipTypesClipManifest |
ClipName
public ClipName ClipName { get; set; }
Property Value | |
---|---|
Type | Description |
ClipName |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation timestamp of the clip resource.
Property Value | |
---|---|
Type | Description |
Timestamp |
Error
public Status Error { get; set; }
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
Property Value | |
---|---|
Type | Description |
Status |
Labels
public MapField<string, string> Labels { get; }
The labels associated with this resource. Each label is a key-value pair.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
Property Value | |
---|---|
Type | Description |
string |
OutputUri
public string OutputUri { get; set; }
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
Property Value | |
---|---|
Type | Description |
string |
Slices
public RepeatedField<Clip.Types.Slice> Slices { get; }
The specified ranges of segments to generate a clip.
Property Value | |
---|---|
Type | Description |
RepeatedFieldClipTypesSlice |
StartTime
public Timestamp StartTime { get; set; }
Output only. The timestamp when the clip request starts to be processed.
Property Value | |
---|---|
Type | Description |
Timestamp |
State
public Clip.Types.State State { get; set; }
Output only. The state of the clip.
Property Value | |
---|---|
Type | Description |
ClipTypesState |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The update timestamp of the clip resource.
Property Value | |
---|---|
Type | Description |
Timestamp |