[[["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 webpage provides documentation for the \u003ccode\u003eLabelSegment\u003c/code\u003e class within the Google Cloud Video Intelligence v1 API, detailing its role in video segment label detection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabelSegment\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.VideoIntelligence.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.VideoIntelligence.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<LabelSegment>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<LabelSegment>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, defining its functionality and data handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabelSegment\u003c/code\u003e class has two constructors, one default and another that accepts a \u003ccode\u003eLabelSegment\u003c/code\u003e object to clone, and features two key properties: \u003ccode\u003eConfidence\u003c/code\u003e which represents the label's accuracy, and \u003ccode\u003eSegment\u003c/code\u003e which defines the video segment where the label was detected.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented for the LabelSegment class is version 3.4.0, although several previous versions are also documented.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class LabelSegment (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.LabelSegment)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.LabelSegment)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.LabelSegment)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.LabelSegment)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.LabelSegment)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.LabelSegment)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.LabelSegment) \n\n public sealed class LabelSegment : IMessage\u003cLabelSegment\u003e, IEquatable\u003cLabelSegment\u003e, IDeepCloneable\u003cLabelSegment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class LabelSegment.\n\nVideo segment level annotation results for label detection. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LabelSegment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LabelSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelSegment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LabelSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelSegment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LabelSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelSegment), [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### LabelSegment()\n\n public LabelSegment()\n\n### LabelSegment(LabelSegment)\n\n public LabelSegment(LabelSegment other)\n\nProperties\n----------\n\n### Confidence\n\n public float Confidence { get; set; }\n\nConfidence that the label is accurate. Range: \\[0, 1\\].\n\n### Segment\n\n public VideoSegment Segment { get; set; }\n\nVideo segment where a label was detected."]]