public sealed class AdBreakTask : IMessage<Event.Types.AdBreakTask>, IEquatable<Event.Types.AdBreakTask>, IDeepCloneable<Event.Types.AdBreakTask>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class Event.Types.AdBreakTask.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eAdBreakTask\u003c/code\u003e class within the Google Cloud Live Stream v1 API, specifically for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdBreakTask\u003c/code\u003e class is designed to insert a new ad opportunity into a live stream, and it is located within the \u003ccode\u003eGoogle.Cloud.Video.LiveStream.V1.Event.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdBreakTask\u003c/code\u003e class has a \u003ccode\u003eDuration\u003c/code\u003e property, which is of type \u003ccode\u003eDuration\u003c/code\u003e and is used to define the length of the ad opportunity, which must be greater than zero.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple documented versions of \u003ccode\u003eAdBreakTask\u003c/code\u003e, ranging from 1.0.0 up to the latest version, 1.8.0.\u003c/p\u003e\n"]]],[],null,[]]