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
#name=
defname=(value)->::String
Parameter
value (::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 character minimum, 63 characters maximum
Only contains letters, digits, underscores, and hyphens
Returns
(::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 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,["# Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::DvrSession (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.1.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.0.1/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [1.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.3.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.2.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [1.1.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.1.1/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [1.0.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.0.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.9.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.8.2/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.7.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.6.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.5.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.5.1/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.4.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.3.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.2.0/Google-Cloud-Video-LiveStream-V1-DvrSession)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.1.0/Google-Cloud-Video-LiveStream-V1-DvrSession) \nReference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The creation time.\n\n### #dvr_manifests\n\n def dvr_manifests() -\u003e ::Array\u003c::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrManifest)\\\u003e) --- Required. A list of DVR manifests. Currently only one DVR manifest is allowed.\n\n### #dvr_manifests=\n\n def dvr_manifests=(value) -\u003e ::Array\u003c::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrManifest)\\\u003e) --- Required. A list of DVR manifests. Currently only one DVR manifest is allowed. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrManifest)\\\u003e) --- Required. A list of DVR manifests. Currently only one DVR manifest is allowed.\n\n### #dvr_windows\n\n def dvr_windows() -\u003e ::Array\u003c::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrWindow)\\\u003e) --- Required. The specified ranges of segments to generate a DVR recording.\n\n### #dvr_windows=\n\n def dvr_windows=(value) -\u003e ::Array\u003c::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrWindow)\\\u003e) --- Required. The specified ranges of segments to generate a DVR recording. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow](./Google-Cloud-Video-LiveStream-V1-DvrSession-DvrWindow)\\\u003e) --- Required. The specified ranges of segments to generate a DVR recording.\n\n### #error\n\n def error() -\u003e ::Google::Rpc::Status\n\n**Returns**\n\n- ([::Google::Rpc::Status](./Google-Rpc-Status)) --- Output only. An error object that describes the reason for the failure. This property only presents when `state` is `FAILED`.\n\n### #labels\n\n def labels() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Optional. User-defined key/value metadata.\n\n### #labels=\n\n def labels=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Optional. User-defined key/value metadata. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Optional. User-defined key/value metadata.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Identifier. The resource name of the DVR session, in the following format:\n `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.\n `{dvrSessionId}` is a user-specified resource id that conforms to the\n following criteria:\n\n 1. 1 character minimum, 63 characters maximum\n 2. Only contains letters, digits, underscores, and hyphens\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Identifier. The resource name of the DVR session, in the following format:\n `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.\n `{dvrSessionId}` is a user-specified resource id that conforms to the\n following criteria:\n 1. 1 character minimum, 63 characters maximum\n2. Only contains letters, digits, underscores, and hyphens \n**Returns**\n\n- (::String) --- Identifier. The resource name of the DVR session, in the following format:\n `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.\n `{dvrSessionId}` is a user-specified resource id that conforms to the\n following criteria:\n\n 1. 1 character minimum, 63 characters maximum\n 2. Only contains letters, digits, underscores, and hyphens\n\n### #state\n\n def state() -\u003e ::Google::Cloud::Video::LiveStream::V1::DvrSession::State\n\n**Returns**\n\n- ([::Google::Cloud::Video::LiveStream::V1::DvrSession::State](./Google-Cloud-Video-LiveStream-V1-DvrSession-State)) --- Output only. The state of the clip.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The update time."]]