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.
Video annotation request.
Implements
IMessageAnnotateVideoRequest, IEquatableAnnotateVideoRequest, IDeepCloneableAnnotateVideoRequest, IBufferMessage, IMessageNamespace
Google.Cloud.VideoIntelligence.V1Assembly
Google.Cloud.VideoIntelligence.V1.dll
Constructors
AnnotateVideoRequest()
public AnnotateVideoRequest()
AnnotateVideoRequest(AnnotateVideoRequest)
public AnnotateVideoRequest(AnnotateVideoRequest other)
Parameter | |
---|---|
Name | Description |
other |
AnnotateVideoRequest |
Properties
Features
public RepeatedField<Feature> Features { get; }
Required. Requested video annotation features.
Property Value | |
---|---|
Type | Description |
RepeatedFieldFeature |
InputContent
public ByteString InputContent { get; set; }
The video data bytes.
If unset, the input video(s) should be specified via the input_uri
.
If set, input_uri
must be unset.
Property Value | |
---|---|
Type | Description |
ByteString |
InputUri
public string InputUri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
LocationId
public string LocationId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
OutputUri
public string OutputUri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
VideoContext
public VideoContext VideoContext { get; set; }
Additional video context and/or feature-specific parameters.
Property Value | |
---|---|
Type | Description |
VideoContext |