Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::LiveConfig.
Metadata for used to register live configs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ad_tag_uri
def ad_tag_uri() -> ::String
Returns
- (::String) — The default ad tag associated with this live stream config.
#ad_tag_uri=
def ad_tag_uri=(value) -> ::String
Parameter
- value (::String) — The default ad tag associated with this live stream config.
Returns
- (::String) — The default ad tag associated with this live stream config.
#ad_tracking
def ad_tracking() -> ::Google::Cloud::Video::Stitcher::V1::AdTracking
Returns
-
(::Google::Cloud::Video::Stitcher::V1::AdTracking) — Required. Determines how the ads are tracked. If
gam_live_config
is set, the value must be
CLIENT
because the IMA SDK handles ad tracking.
#ad_tracking=
def ad_tracking=(value) -> ::Google::Cloud::Video::Stitcher::V1::AdTracking
Parameter
-
value (::Google::Cloud::Video::Stitcher::V1::AdTracking) — Required. Determines how the ads are tracked. If
gam_live_config
is set, the value must be
CLIENT
because the IMA SDK handles ad tracking.
Returns
-
(::Google::Cloud::Video::Stitcher::V1::AdTracking) — Required. Determines how the ads are tracked. If
gam_live_config
is set, the value must be
CLIENT
because the IMA SDK handles ad tracking.
#default_slate
def default_slate() -> ::String
Returns
-
(::String) — This must refer to a slate in the same
project. If Google Ad Manager (GAM) is used for ads, this string sets the
value of
slateCreativeId
in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
#default_slate=
def default_slate=(value) -> ::String
Parameter
-
value (::String) — This must refer to a slate in the same
project. If Google Ad Manager (GAM) is used for ads, this string sets the
value of
slateCreativeId
in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
Returns
-
(::String) — This must refer to a slate in the same
project. If Google Ad Manager (GAM) is used for ads, this string sets the
value of
slateCreativeId
in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
#gam_live_config
def gam_live_config() -> ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig
Returns
- (::Google::Cloud::Video::Stitcher::V1::GamLiveConfig) — Additional metadata used to register a live stream with Google Ad Manager (GAM)
#gam_live_config=
def gam_live_config=(value) -> ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig
Parameter
- value (::Google::Cloud::Video::Stitcher::V1::GamLiveConfig) — Additional metadata used to register a live stream with Google Ad Manager (GAM)
Returns
- (::Google::Cloud::Video::Stitcher::V1::GamLiveConfig) — Additional metadata used to register a live stream with Google Ad Manager (GAM)
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of the live config, in the form of
projects/{project}/locations/{location}/liveConfigs/{id}
.
#prefetch_config
def prefetch_config() -> ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig
Returns
- (::Google::Cloud::Video::Stitcher::V1::PrefetchConfig) — The configuration for prefetching ads.
#prefetch_config=
def prefetch_config=(value) -> ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig
Parameter
- value (::Google::Cloud::Video::Stitcher::V1::PrefetchConfig) — The configuration for prefetching ads.
Returns
- (::Google::Cloud::Video::Stitcher::V1::PrefetchConfig) — The configuration for prefetching ads.
#source_uri
def source_uri() -> ::String
Returns
- (::String) — Required. Source URI for the live stream manifest.
#source_uri=
def source_uri=(value) -> ::String
Parameter
- value (::String) — Required. Source URI for the live stream manifest.
Returns
- (::String) — Required. Source URI for the live stream manifest.
#state
def state() -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::State
Returns
- (::Google::Cloud::Video::Stitcher::V1::LiveConfig::State) — Output only. State of the live config.
#stitching_policy
def stitching_policy() -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy
Returns
-
(::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy) — Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is
CUT_CURRENT
.
#stitching_policy=
def stitching_policy=(value) -> ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy
Parameter
-
value (::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy) — Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is
CUT_CURRENT
.
Returns
-
(::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy) — Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is
CUT_CURRENT
.