[[["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\u003eThe \u003ccode\u003eVideoSegment\u003c/code\u003e class is part of the Google Cloud Video Intelligence v1 API and is used to represent a segment within a video.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVideoSegment\u003c/code\u003e class offers properties \u003ccode\u003eEndTimeOffset\u003c/code\u003e and \u003ccode\u003eStartTimeOffset\u003c/code\u003e which both take the type of Duration, allowing one to define the beginning and end points of a segment in a video.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides various versions of the \u003ccode\u003eVideoSegment\u003c/code\u003e class, with the latest being version 3.4.0, along with older versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe VideoSegment class has two constructors, a default one with no arguments, and another which takes in another VideoSegment object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class VideoSegment (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.VideoSegment)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.VideoSegment) \n\n public sealed class VideoSegment : IMessage\u003cVideoSegment\u003e, IEquatable\u003cVideoSegment\u003e, IDeepCloneable\u003cVideoSegment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class VideoSegment.\n\nVideo segment. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VideoSegment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VideoSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoSegment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VideoSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoSegment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VideoSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoSegment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VideoIntelligence.V1](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VideoIntelligence.V1.dll\n\nConstructors\n------------\n\n### VideoSegment()\n\n public VideoSegment()\n\n### VideoSegment(VideoSegment)\n\n public VideoSegment(VideoSegment other)\n\nProperties\n----------\n\n### EndTimeOffset\n\n public Duration EndTimeOffset { get; set; }\n\nTime-offset, relative to the beginning of the video,\ncorresponding to the end of the segment (inclusive).\n\n### StartTimeOffset\n\n public Duration StartTimeOffset { get; set; }\n\nTime-offset, relative to the beginning of the video,\ncorresponding to the start of the segment (inclusive)."]]