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 \ V1Methods
__construct
Constructor.
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
getName
Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}
.
string
setName
Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}
.
var
string
$this
getSourceUri
Required. Source URI for the live stream manifest.
string
setSourceUri
Required. Source URI for the live stream manifest.
var
string
$this
getAdTagUri
The default ad tag associated with this live stream config.
string
setAdTagUri
The default ad tag associated with this live stream config.
var
string
$this
getGamLiveConfig
Additional metadata used to register a live stream with Google Ad Manager (GAM)
hasGamLiveConfig
clearGamLiveConfig
setGamLiveConfig
Additional metadata used to register a live stream with Google Ad Manager (GAM)
$this
getState
Output only. State of the live config.
int
setState
Output only. State of the live config.
var
int
$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.
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.
var
int
$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
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
var
string
$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
.
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
.
var
int
$this
getPrefetchConfig
The configuration for prefetching ads.
hasPrefetchConfig
clearPrefetchConfig
setPrefetchConfig
The configuration for prefetching ads.
$this