Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::DvrSession.
DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The creation time.
#dvr_manifests
def dvr_manifests() -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>
- (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>) — Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
#dvr_manifests=
def dvr_manifests=(value) -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>
- value (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>) — Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
- (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>) — Required. A list of DVR manifests. Currently only one DVR manifest is allowed.
#dvr_windows
def dvr_windows() -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>
- (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>) — Required. The specified ranges of segments to generate a DVR recording.
#dvr_windows=
def dvr_windows=(value) -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>
- value (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>) — Required. The specified ranges of segments to generate a DVR recording.
- (::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>) — Required. The specified ranges of segments to generate a DVR recording.
#error
def error() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — Output only. An error object that describes the reason for the failure.
This property only presents when
state
isFAILED
.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.
#name
def name() -> ::String
-
(::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
#name=
def name=(value) -> ::String
-
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
-
(::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
#state
def state() -> ::Google::Cloud::Video::LiveStream::V1::DvrSession::State
- (::Google::Cloud::Video::LiveStream::V1::DvrSession::State) — Output only. The state of the clip.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The update time.