Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class DvrSession.
DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.
Generated from protobuf message google.cloud.video.livestream.v1.DvrSession
Namespace
Google \ Cloud \ Video \ LiveStream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
↳ update_time
↳ labels
↳ state
int
Output only. The state of the clip.
↳ error
Google\Rpc\Status
Output only. An error object that describes the reason for the failure. This property only presents when state
is FAILED
.
↳ dvr_manifests
array< DvrSession\DvrManifest
>
Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
↳ dvr_windows
array< DvrSession\DvrWindow
>
Required. The specified ranges of segments to generate a DVR recording.
getName
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 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string
setName
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 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The update time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update time.
$this
getLabels
Optional. User-defined key/value metadata.
setLabels
Optional. User-defined key/value metadata.
$this
getState
Output only. The state of the clip.
setState
Output only. The state of the clip.
$this
getError
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
hasError
clearError
setError
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
$this
getDvrManifests
Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
setDvrManifests
Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
$this
getDvrWindows
Required. The specified ranges of segments to generate a DVR recording.
setDvrWindows
Required. The specified ranges of segments to generate a DVR recording.
$this

