public RepeatedField<VideoSegment> Segments { get; }
Video segments to annotate. The segments may overlap and are not required
to be contiguous or span the whole video. If unspecified, each video is
treated as a single segment.
[[["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\u003eVideoContext\u003c/code\u003e class within the Google Cloud Video Intelligence v1 API, with the latest version being 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVideoContext\u003c/code\u003e class, used for specifying video context and feature-specific parameters, inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes several configurable properties related to different types of video analysis, such as \u003ccode\u003eExplicitContentDetectionConfig\u003c/code\u003e, \u003ccode\u003eFaceDetectionConfig\u003c/code\u003e, \u003ccode\u003eLabelDetectionConfig\u003c/code\u003e, \u003ccode\u003eObjectTrackingConfig\u003c/code\u003e, \u003ccode\u003ePersonDetectionConfig\u003c/code\u003e, \u003ccode\u003eShotChangeDetectionConfig\u003c/code\u003e, \u003ccode\u003eSpeechTranscriptionConfig\u003c/code\u003e, and \u003ccode\u003eTextDetectionConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVideoContext\u003c/code\u003e allows for defining specific \u003ccode\u003eSegments\u003c/code\u003e of video to annotate, which may overlap and don't need to be contiguous.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two constructors, one default and another to make a copy of an existing \u003ccode\u003eVideoContext\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class VideoContext (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.VideoContext)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.VideoContext)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.VideoContext)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.VideoContext)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.VideoContext)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.VideoContext)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.VideoContext) \n\n public sealed class VideoContext : IMessage\u003cVideoContext\u003e, IEquatable\u003cVideoContext\u003e, IDeepCloneable\u003cVideoContext\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class VideoContext.\n\nVideo context and/or feature-specific parameters. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VideoContext \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VideoContext](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoContext), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VideoContext](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoContext), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VideoContext](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.VideoContext), [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### VideoContext()\n\n public VideoContext()\n\n### VideoContext(VideoContext)\n\n public VideoContext(VideoContext other)\n\nProperties\n----------\n\n### ExplicitContentDetectionConfig\n\n public ExplicitContentDetectionConfig ExplicitContentDetectionConfig { get; set; }\n\nConfig for EXPLICIT_CONTENT_DETECTION.\n\n### FaceDetectionConfig\n\n public FaceDetectionConfig FaceDetectionConfig { get; set; }\n\nConfig for FACE_DETECTION.\n\n### LabelDetectionConfig\n\n public LabelDetectionConfig LabelDetectionConfig { get; set; }\n\nConfig for LABEL_DETECTION.\n\n### ObjectTrackingConfig\n\n public ObjectTrackingConfig ObjectTrackingConfig { get; set; }\n\nConfig for OBJECT_TRACKING.\n\n### PersonDetectionConfig\n\n public PersonDetectionConfig PersonDetectionConfig { get; set; }\n\nConfig for PERSON_DETECTION.\n\n### Segments\n\n public RepeatedField\u003cVideoSegment\u003e Segments { get; }\n\nVideo segments to annotate. The segments may overlap and are not required\nto be contiguous or span the whole video. If unspecified, each video is\ntreated as a single segment.\n\n### ShotChangeDetectionConfig\n\n public ShotChangeDetectionConfig ShotChangeDetectionConfig { get; set; }\n\nConfig for SHOT_CHANGE_DETECTION.\n\n### SpeechTranscriptionConfig\n\n public SpeechTranscriptionConfig SpeechTranscriptionConfig { get; set; }\n\nConfig for SPEECH_TRANSCRIPTION.\n\n### TextDetectionConfig\n\n public TextDetectionConfig TextDetectionConfig { get; set; }\n\nConfig for TEXT_DETECTION."]]