Google Cloud Video Stitcher V1 Client - Class LiveConfig (0.6.2)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class LiveConfig.

Metadata for used to register live configs.

Generated from protobuf message google.cloud.video.stitcher.v1.LiveConfig

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

↳ source_uri string

Required. Source URI for the live stream manifest.

↳ ad_tag_uri string

The default ad tag associated with this live stream config.

↳ gam_live_config Google\Cloud\Video\Stitcher\V1\GamLiveConfig

Additional metadata used to register a live stream with Google Ad Manager (GAM)

↳ state int

Output only. State of the live config.

↳ ad_tracking int

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 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

↳ stitching_policy int

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.

↳ prefetch_config Google\Cloud\Video\Stitcher\V1\PrefetchConfig

The configuration for prefetching ads.

getName

Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

Returns
TypeDescription
string

setName

Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceUri

Required. Source URI for the live stream manifest.

Returns
TypeDescription
string

setSourceUri

Required. Source URI for the live stream manifest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAdTagUri

The default ad tag associated with this live stream config.

Returns
TypeDescription
string

setAdTagUri

The default ad tag associated with this live stream config.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGamLiveConfig

Additional metadata used to register a live stream with Google Ad Manager (GAM)

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\GamLiveConfig|null

hasGamLiveConfig

clearGamLiveConfig

setGamLiveConfig

Additional metadata used to register a live stream with Google Ad Manager (GAM)

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\GamLiveConfig
Returns
TypeDescription
$this

getState

Output only. State of the live config.

Returns
TypeDescription
int

setState

Output only. State of the live config.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAdTracking

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
TypeDescription
int

setAdTracking

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDefaultSlate

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
TypeDescription
string

setDefaultSlate

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStitchingPolicy

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
TypeDescription
int

setStitchingPolicy

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPrefetchConfig

The configuration for prefetching ads.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\PrefetchConfig|null

hasPrefetchConfig

clearPrefetchConfig

setPrefetchConfig

The configuration for prefetching ads.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\PrefetchConfig
Returns
TypeDescription
$this