Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class VodConfig.
Metadata used to register VOD configs.
Generated from protobuf message google.cloud.video.stitcher.v1.VodConfig
Namespace
Google \ Cloud \ Video \ Stitcher \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name of the VOD config, in the form of |
↳ source_uri |
string
Required. Source URI for the VOD stream manifest. |
↳ ad_tag_uri |
string
Required. The default ad tag associated with this VOD config. |
↳ gam_vod_config |
Google\Cloud\Video\Stitcher\V1\GamVodConfig
Optional. Google Ad Manager (GAM) metadata. |
↳ state |
int
Output only. State of the VOD config. |
↳ source_fetch_options |
Google\Cloud\Video\Stitcher\V1\FetchOptions
Options for fetching source manifests and segments. |
getName
Output only. The resource name of the VOD config, in the form of
projects/{project}/locations/{location}/vodConfigs/{id}
.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The resource name of the VOD config, in the form of
projects/{project}/locations/{location}/vodConfigs/{id}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSourceUri
Required. Source URI for the VOD stream manifest.
Returns | |
---|---|
Type | Description |
string |
setSourceUri
Required. Source URI for the VOD stream manifest.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAdTagUri
Required. The default ad tag associated with this VOD config.
Returns | |
---|---|
Type | Description |
string |
setAdTagUri
Required. The default ad tag associated with this VOD config.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\Stitcher\V1\GamVodConfig|null |
hasGamVodConfig
clearGamVodConfig
setGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\Stitcher\V1\GamVodConfig
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. State of the VOD config.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. State of the VOD config.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSourceFetchOptions
Options for fetching source manifests and segments.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\Stitcher\V1\FetchOptions|null |
hasSourceFetchOptions
clearSourceFetchOptions
setSourceFetchOptions
Options for fetching source manifests and segments.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\Stitcher\V1\FetchOptions
|
Returns | |
---|---|
Type | Description |
$this |