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 |
GamVodConfig
Optional. Google Ad Manager (GAM) metadata. |
↳ state |
int
Output only. State of the VOD config. |
↳ source_fetch_options |
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 |
GamVodConfig|null |
|
hasGamVodConfig
clearGamVodConfig
setGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
GamVodConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. State of the VOD config.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the VOD config.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceFetchOptions
Options for fetching source manifests and segments.
| Returns | |
|---|---|
| Type | Description |
FetchOptions|null |
|
hasSourceFetchOptions
clearSourceFetchOptions
setSourceFetchOptions
Options for fetching source manifests and segments.
| Parameter | |
|---|---|
| Name | Description |
var |
FetchOptions
|
| Returns | |
|---|---|
| Type | Description |
$this |
|