Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::DvrSession (v2.2.0)

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
Returns

#dvr_manifests

def dvr_manifests() -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>
Returns

#dvr_manifests=

def dvr_manifests=(value) -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrManifest>
Parameter
Returns

#dvr_windows

def dvr_windows() -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>
Returns

#dvr_windows=

def dvr_windows=(value) -> ::Array<::Google::Cloud::Video::LiveStream::V1::DvrSession::DvrWindow>
Parameter
Returns

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. An error object that describes the reason for the failure. This property only presents when state is FAILED.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined key/value metadata.

#name

def name() -> ::String
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. 1 character minimum, 63 characters maximum
    2. Only contains letters, digits, underscores, and hyphens

#name=

def name=(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. 1 character minimum, 63 characters maximum
    2. 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. 1 character minimum, 63 characters maximum
    2. Only contains letters, digits, underscores, and hyphens

#state

def state() -> ::Google::Cloud::Video::LiveStream::V1::DvrSession::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns