DvrSession(mapping=None, *, ignore_unknown_fields=False, **kwargs)
DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.
Attributes |
|
---|---|
Name | Description |
name |
str
Identifier. The resource name of the DVR session, in the following format: projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId} .
{dvrSessionId} 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 time. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The update time. |
labels |
MutableMapping[str, str]
Optional. User-defined key/value metadata. |
state |
google.cloud.video.live_stream_v1.types.DvrSession.State
Output only. The state of the clip. |
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 .
|
dvr_manifests |
MutableSequence[google.cloud.video.live_stream_v1.types.DvrSession.DvrManifest]
Required. A list of DVR manifests. Currently only one DVR manifest is allowed. |
dvr_windows |
MutableSequence[google.cloud.video.live_stream_v1.types.DvrSession.DvrWindow]
Required. The specified ranges of segments to generate a DVR recording. |
Classes
DvrManifest
DvrManifest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
DvrManifest identifies a source manifest and specifies a file name for the generated DVR manifest.
DvrWindow
DvrWindow(mapping=None, *, ignore_unknown_fields=False, **kwargs)
DvrWindow represents a DVR window.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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,
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 |
State
State(value)
State of the DVR session.