Class Clip (1.8.1)

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

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.

Attributes

Name Description
name str
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. 1 character minimum, 63 characters maximum 2. Only contains letters, digits, underscores, and hyphens
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The creation timestamp of the clip resource.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the clip request starts to be processed.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The update timestamp of the clip resource.
labels MutableMapping[str, str]
The labels associated with this resource. Each label is a key-value pair.
state google.cloud.video.live_stream_v1.types.Clip.State
Output only. The state of the clip.
output_uri str
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".
error google.rpc.status_pb2.Status
Output only. An error object that describes the reason for the failure. This property only presents when state is FAILED.
slices MutableSequence[google.cloud.video.live_stream_v1.types.Clip.Slice]
The specified ranges of segments to generate a clip.
clip_manifests MutableSequence[google.cloud.video.live_stream_v1.types.Clip.ClipManifest]
Required. A list of clip manifests. Currently only one clip manifest is allowed.

Classes

ClipManifest

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

ClipManifest identifies a source manifest for the generated clip manifest.

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Slice

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

State

State(value)

State of clipping operation.

TimeSlice

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

TimeSlice represents a tuple of Unix epoch timestamps that specifies a time range.