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 | strThe resource name of the clip, in the following format: projects/{project}/locations/{location}/channels/{channelId}/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.TimestampOutput only. The creation timestamp of the clip resource. | 
| start_time | google.protobuf.timestamp_pb2.TimestampOutput only. The timestamp when the clip request starts to be processed. | 
| update_time | google.protobuf.timestamp_pb2.TimestampOutput 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.StateOutput only. The state of the clip. | 
| output_uri | strSpecify the output_urito determine where to place the
   clip segments and clip manifest files in Cloud Storage. The
   manifests specified inclip_manifestsfields will be
   placed under this URI. The exact URI of the generated
   manifests will be provided inclip_manifests.output_urifor 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.StatusOutput only. An error object that describes the reason for the failure. This property only presents when stateisFAILED. | 
| 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. | 
| output_type | google.cloud.video.live_stream_v1.types.Clip.OutputTypeOptional. OutputType of the clip. If not specified, the default value is MANIFEST. | 
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 | dictKeys and values corresponding to the fields of the message. | 
| mapping | Union[dict, 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  | 
OutputType
OutputType(value)OutputType represents the output type of the clip.
Slice
Slice(mapping=None, *, ignore_unknown_fields=False, **kwargs)Slice represents a slice of the requested clip.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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.