public class VideoIntelligenceService.VideoIntelligenceServiceClient : ClientBase<VideoIntelligenceService.VideoIntelligenceServiceClient>Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class VideoIntelligenceService.VideoIntelligenceServiceClient.
Client for VideoIntelligenceService
Inheritance
object > ClientBase > ClientBaseVideoIntelligenceServiceVideoIntelligenceServiceClient > VideoIntelligenceService.VideoIntelligenceServiceClientNamespace
Google.Cloud.VideoIntelligence.V1Assembly
Google.Cloud.VideoIntelligence.V1.dll
Constructors
VideoIntelligenceServiceClient()
protected VideoIntelligenceServiceClient()Protected parameterless constructor to allow creation of test doubles.
VideoIntelligenceServiceClient(CallInvoker)
public VideoIntelligenceServiceClient(CallInvoker callInvoker)Creates a new client for VideoIntelligenceService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
VideoIntelligenceServiceClient(ChannelBase)
public VideoIntelligenceServiceClient(ChannelBase channel)Creates a new client for VideoIntelligenceService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
VideoIntelligenceServiceClient(ClientBaseConfiguration)
protected VideoIntelligenceServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
AnnotateVideo(AnnotateVideoRequest, CallOptions)
public virtual Operation AnnotateVideo(AnnotateVideoRequest request, CallOptions options)Performs asynchronous video annotation. Progress and results can be
retrieved through the google.longrunning.Operations interface.
Operation.metadata contains AnnotateVideoProgress (progress).
Operation.response contains AnnotateVideoResponse (results).
| Parameters | |
|---|---|
| Name | Description |
request |
AnnotateVideoRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
AnnotateVideo(AnnotateVideoRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AnnotateVideo(AnnotateVideoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Performs asynchronous video annotation. Progress and results can be
retrieved through the google.longrunning.Operations interface.
Operation.metadata contains AnnotateVideoProgress (progress).
Operation.response contains AnnotateVideoResponse (results).
| Parameters | |
|---|---|
| Name | Description |
request |
AnnotateVideoRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
AnnotateVideoAsync(AnnotateVideoRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AnnotateVideoAsync(AnnotateVideoRequest request, CallOptions options)Performs asynchronous video annotation. Progress and results can be
retrieved through the google.longrunning.Operations interface.
Operation.metadata contains AnnotateVideoProgress (progress).
Operation.response contains AnnotateVideoResponse (results).
| Parameters | |
|---|---|
| Name | Description |
request |
AnnotateVideoRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
AnnotateVideoAsync(AnnotateVideoRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AnnotateVideoAsync(AnnotateVideoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Performs asynchronous video annotation. Progress and results can be
retrieved through the google.longrunning.Operations interface.
Operation.metadata contains AnnotateVideoProgress (progress).
Operation.response contains AnnotateVideoResponse (results).
| Parameters | |
|---|---|
| Name | Description |
request |
AnnotateVideoRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
NewInstance(ClientBaseConfiguration)
protected override VideoIntelligenceService.VideoIntelligenceServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
VideoIntelligenceServiceVideoIntelligenceServiceClient |
|