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 messagegoogle.cloud.video.livestream.v1.DvrSession
Namespace
Google \ Cloud \ Video \ LiveStream \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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
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
Returns
Type
Description
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class DvrSession (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.DvrSession)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.DvrSession)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.DvrSession)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.DvrSession)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.DvrSession)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.DvrSession)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.DvrSession)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.DvrSession)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.DvrSession)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.DvrSession) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class DvrSession.\n\nDvrSession is a sub-resource under channel. Each DvrSession represents a DVR\nrecording of the live stream for a specific time range.\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.DvrSession`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the DVR session, in the following format:\n`projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.\n\n`{dvrSessionId}` is a user-specified resource id that conforms to the\nfollowing criteria:\n\n1. 1 character minimum, 63 characters maximum\n2. Only contains letters, digits, underscores, and hyphens\n\n### setName\n\nIdentifier. The resource name of the DVR session, in the following format:\n`projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.\n\n`{dvrSessionId}` is a user-specified resource id that conforms to the\nfollowing criteria:\n\n1. 1 character minimum, 63 characters maximum\n2. Only contains letters, digits, underscores, and hyphens\n\n### getCreateTime\n\nOutput only. The creation time.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation time.\n\n### getUpdateTime\n\nOutput only. The update time.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The update time.\n\n### getLabels\n\nOptional. User-defined key/value metadata.\n\n### setLabels\n\nOptional. User-defined key/value metadata.\n\n### getState\n\nOutput only. The state of the clip.\n\n### setState\n\nOutput only. The state of the clip.\n\n### getError\n\nOutput only. An error object that describes the reason for the failure.\n\nThis property only presents when `state` is `FAILED`.\n\n### hasError\n\n### clearError\n\n### setError\n\nOutput only. An error object that describes the reason for the failure.\n\nThis property only presents when `state` is `FAILED`.\n\n### getDvrManifests\n\nRequired. A list of DVR manifests. Currently only one DVR manifest is\nallowed.\n\n### setDvrManifests\n\nRequired. A list of DVR manifests. Currently only one DVR manifest is\nallowed.\n\n### getDvrWindows\n\nRequired. The specified ranges of segments to generate a DVR recording.\n\n### setDvrWindows\n\nRequired. The specified ranges of segments to generate a DVR recording."]]