Google Cloud Video Intelligence v1 API - Class AnnotateVideoResponse (3.3.0)

public sealed class AnnotateVideoResponse : IMessage<AnnotateVideoResponse>, IEquatable<AnnotateVideoResponse>, IDeepCloneable<AnnotateVideoResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class AnnotateVideoResponse.

Video annotation response. Included in the response field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Inheritance

object > AnnotateVideoResponse

Namespace

Google.Cloud.VideoIntelligence.V1

Assembly

Google.Cloud.VideoIntelligence.V1.dll

Constructors

AnnotateVideoResponse()

public AnnotateVideoResponse()

AnnotateVideoResponse(AnnotateVideoResponse)

public AnnotateVideoResponse(AnnotateVideoResponse other)
Parameter
Name Description
other AnnotateVideoResponse

Properties

AnnotationResults

public RepeatedField<VideoAnnotationResults> AnnotationResults { get; }

Annotation results for all videos specified in AnnotateVideoRequest.

Property Value
Type Description
RepeatedFieldVideoAnnotationResults

Methods

ThrowOnAnyError()

public AnnotateVideoResponse ThrowOnAnyError()

If the Error property is non-null for any response within AnnotationResults, throws an AggregateException, containing one AnnotateVideoException for each failed response. Otherwise, returns this (so that the method can be called in a fluent manner).

Returns
Type Description
AnnotateVideoResponse

this if no responses contain errors.

Exceptions
Type Description
AggregateException

The Error property is non-null on one or more element of AnnotationResults.