public sealed class AnnotateVideoRequest : IMessage<AnnotateVideoRequest>, IEquatable<AnnotateVideoRequest>, IDeepCloneable<AnnotateVideoRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class AnnotateVideoRequest.
Input video location. Currently, only
Cloud Storage URIs are
supported. URIs must be specified in the following format:
gs://bucket-id/object-id (other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
more information, see Request
URIs. To identify
multiple videos, a video URI may include wildcards in the object-id.
Supported wildcards: '*' to match 0 or more characters;
'?' to match 1 character. If unset, the input video should be embedded
in the request as input_content. If set, input_content must be unset.
Optional. Cloud region where annotation should take place. Supported cloud
regions are: us-east1, us-west1, europe-west1, asia-east1. If no
region is specified, the region will be determined based on video file
location.
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud Storage
URIs are supported. These must be specified in the following format:
gs://bucket-id/object-id (other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
more information, see Request
URIs.
[[["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 latest version of the \u003ccode\u003eAnnotateVideoRequest\u003c/code\u003e class is 3.4.0, with several previous versions available for reference, such as 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.3.0, and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnnotateVideoRequest\u003c/code\u003e is a class used within the Google Cloud Video Intelligence v1 API to define a request for video annotation, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing interfaces like \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 provides properties for specifying video annotation features (\u003ccode\u003eFeatures\u003c/code\u003e), the input video source, either as data bytes (\u003ccode\u003eInputContent\u003c/code\u003e) or as a Cloud Storage URI (\u003ccode\u003eInputUri\u003c/code\u003e), and the location for output storage (\u003ccode\u003eOutputUri\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eUsers can also specify an optional cloud region (\u003ccode\u003eLocationId\u003c/code\u003e) for the annotation process and provide additional context through the \u003ccode\u003eVideoContext\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe request class also has inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class AnnotateVideoRequest (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.AnnotateVideoRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest) \n\n public sealed class AnnotateVideoRequest : IMessage\u003cAnnotateVideoRequest\u003e, IEquatable\u003cAnnotateVideoRequest\u003e, IDeepCloneable\u003cAnnotateVideoRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class AnnotateVideoRequest.\n\nVideo annotation request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AnnotateVideoRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnnotateVideoRequest](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnnotateVideoRequest](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnnotateVideoRequest](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.AnnotateVideoRequest), [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### AnnotateVideoRequest()\n\n public AnnotateVideoRequest()\n\n### AnnotateVideoRequest(AnnotateVideoRequest)\n\n public AnnotateVideoRequest(AnnotateVideoRequest other)\n\nProperties\n----------\n\n### Features\n\n public RepeatedField\u003cFeature\u003e Features { get; }\n\nRequired. Requested video annotation features.\n\n### InputContent\n\n public ByteString InputContent { get; set; }\n\nThe video data bytes.\nIf unset, the input video(s) should be specified via the `input_uri`.\nIf set, `input_uri` must be unset.\n\n### InputUri\n\n public string InputUri { get; set; }\n\nInput video location. Currently, only\n[Cloud Storage](https://cloud.google.com/storage/) URIs are\nsupported. URIs must be specified in the following format:\n`gs://bucket-id/object-id` (other URI formats return\n\\[google.rpc.Code.INVALID_ARGUMENT\\]\\[google.rpc.Code.INVALID_ARGUMENT\\]). For\nmore information, see [Request\nURIs](https://cloud.google.com/storage/docs/request-endpoints). To identify\nmultiple videos, a video URI may include wildcards in the `object-id`.\nSupported wildcards: '\\*' to match 0 or more characters;\n'?' to match 1 character. If unset, the input video should be embedded\nin the request as `input_content`. If set, `input_content` must be unset.\n\n### LocationId\n\n public string LocationId { get; set; }\n\nOptional. Cloud region where annotation should take place. Supported cloud\nregions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no\nregion is specified, the region will be determined based on video file\nlocation.\n\n### OutputUri\n\n public string OutputUri { get; set; }\n\nOptional. Location where the output (in JSON format) should be stored.\nCurrently, only [Cloud Storage](https://cloud.google.com/storage/)\nURIs are supported. These must be specified in the following format:\n`gs://bucket-id/object-id` (other URI formats return\n\\[google.rpc.Code.INVALID_ARGUMENT\\]\\[google.rpc.Code.INVALID_ARGUMENT\\]). For\nmore information, see [Request\nURIs](https://cloud.google.com/storage/docs/request-endpoints).\n\n### VideoContext\n\n public VideoContext VideoContext { get; set; }\n\nAdditional video context and/or feature-specific parameters."]]