VodSession(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Metadata for a VOD session. The session expires 4 hours after its creation.
Attributes |
|
---|---|
Name | Description |
name |
str
Output only. The name of the VOD session, in the form of projects/{project_number}/locations/{location}/vodSessions/{id} .
|
interstitials |
google.cloud.video.stitcher_v1.types.Interstitials
Output only. Metadata of what was stitched into the content. |
play_uri |
str
Output only. The playback URI of the stitched content. |
source_uri |
str
URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly. |
ad_tag_uri |
str
Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly. |
ad_tag_macro_map |
MutableMapping[str, str]
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macro map: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
|
manifest_options |
google.cloud.video.stitcher_v1.types.ManifestOptions
Additional options that affect the output of the manifest. |
asset_id |
str
Output only. The generated ID of the VodSession's source media. |
ad_tracking |
google.cloud.video.stitcher_v1.types.AdTracking
Required. Determines how the ad should be tracked. |
gam_settings |
google.cloud.video.stitcher_v1.types.VodSession.GamSettings
This field should be set with appropriate values if GAM is being used for ads. |
vod_config |
str
The resource name of the VOD config for this session, in the form of projects/{project}/locations/{location}/vodConfigs/{id} .
|
Classes
AdTagMacroMapEntry
AdTagMacroMapEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
GamSettings
GamSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines fields related to Google Ad Manager (GAM). This should be set if GAM is being used for ads.