Class protos.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService (3.0.0)

Represents a VideoIntelligenceService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService

Package

@google-cloud/video-intelligence!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new VideoIntelligenceService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

annotateVideo(request, callback)

public annotateVideo(request: google.cloud.videointelligence.v1p3beta1.IAnnotateVideoRequest, callback: google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideoCallback): void;

Calls AnnotateVideo.

Parameters
NameDescription
request IAnnotateVideoRequest

AnnotateVideoRequest message or plain object

callback google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideoCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

annotateVideo(request)

public annotateVideo(request: google.cloud.videointelligence.v1p3beta1.IAnnotateVideoRequest): Promise<google.longrunning.Operation>;

Calls AnnotateVideo.

Parameter
NameDescription
request IAnnotateVideoRequest

AnnotateVideoRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): VideoIntelligenceService;

Creates new VideoIntelligenceService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
VideoIntelligenceService

RPC service. Useful where requests and/or responses are streamed.