Class VideoIntelligenceServiceConnection (2.24.0)

This interface defines virtual methods for each of the user-facing overload sets in VideoIntelligenceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type VideoIntelligenceServiceClient.

To create a concrete instance, see MakeVideoIntelligenceServiceConnection().

For mocking, see videointelligence_v1_mocks::MockVideoIntelligenceServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual AnnotateVideo(google::cloud::videointelligence::v1::AnnotateVideoRequest const &)

Parameter
Name Description
request google::cloud::videointelligence::v1::AnnotateVideoRequest const &
Returns
Type Description
future< StatusOr< google::cloud::videointelligence::v1::AnnotateVideoResponse > >