Represents a VideoIntelligenceService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServicePackage
@google-cloud/video-intelligence!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new VideoIntelligenceService service.
Name | Description |
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.v1p1beta1.IAnnotateVideoRequest, callback: google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService.AnnotateVideoCallback): void;
Calls AnnotateVideo.
Name | Description |
request |
google.cloud.videointelligence.v1p1beta1.IAnnotateVideoRequest
AnnotateVideoRequest message or plain object |
callback |
google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService.AnnotateVideoCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
annotateVideo(request)
public annotateVideo(request: google.cloud.videointelligence.v1p1beta1.IAnnotateVideoRequest): Promise<google.longrunning.Operation>;
Calls AnnotateVideo.
Name | Description |
request |
google.cloud.videointelligence.v1p1beta1.IAnnotateVideoRequest
AnnotateVideoRequest message or plain object |
Type | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
VideoIntelligenceService | RPC service. Useful where requests and/or responses are streamed. |