Video Stitcher v1 API - Class VodSession (3.3.0)

public sealed class VodSession : IMessage<VodSession>, IEquatable<VodSession>, IDeepCloneable<VodSession>, IBufferMessage, IMessage

Reference documentation and code samples for the Video Stitcher v1 API class VodSession.

Metadata for a VOD session. The session expires 4 hours after its creation.

Inheritance

object > VodSession

Namespace

Google.Cloud.Video.Stitcher.V1

Assembly

Google.Cloud.Video.Stitcher.V1.dll

Constructors

VodSession()

public VodSession()

VodSession(VodSession)

public VodSession(VodSession other)
Parameter
Name Description
other VodSession

Properties

AdTagMacroMap

public MapField<string, string> AdTagMacroMap { get; }

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"

Property Value
Type Description
MapFieldstringstring

AdTagUri

public string AdTagUri { get; set; }

Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.

Property Value
Type Description
string

AdTracking

public AdTracking AdTracking { get; set; }

Required. Determines how the ad should be tracked.

Property Value
Type Description
AdTracking

AssetId

public string AssetId { get; set; }

Output only. The generated ID of the VodSession's source media.

Property Value
Type Description
string

GamSettings

public VodSession.Types.GamSettings GamSettings { get; set; }

This field should be set with appropriate values if GAM is being used for ads.

Property Value
Type Description
VodSessionTypesGamSettings

Interstitials

public Interstitials Interstitials { get; set; }

Output only. Metadata of what was stitched into the content.

Property Value
Type Description
Interstitials

ManifestOptions

public ManifestOptions ManifestOptions { get; set; }

Additional options that affect the output of the manifest.

Property Value
Type Description
ManifestOptions

Name

public string Name { get; set; }

Output only. The name of the VOD session, in the form of projects/{project_number}/locations/{location}/vodSessions/{id}.

Property Value
Type Description
string

PlayUri

public string PlayUri { get; set; }

Output only. The playback URI of the stitched content.

Property Value
Type Description
string

SourceUri

public string SourceUri { get; set; }

URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.

Property Value
Type Description
string

VodConfig

public string VodConfig { get; set; }

The resource name of the VOD config for this session, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

Property Value
Type Description
string

VodConfigAsVodConfigName

public VodConfigName VodConfigAsVodConfigName { get; set; }

VodConfigName-typed view over the VodConfig resource name property.

Property Value
Type Description
VodConfigName

VodSessionName

public VodSessionName VodSessionName { get; set; }

VodSessionName-typed view over the Name resource name property.

Property Value
Type Description
VodSessionName