Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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).
See: Cloud Video Intelligence API Reference for videointelligence.videos.annotate
.
Synopsis
- type VideosAnnotateResource = "v1p1beta1" :> ("videos:annotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest :> Post '[JSON] GoogleLongrunning_Operation))))))))
- videosAnnotate :: GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest -> VideosAnnotate
- data VideosAnnotate
- vaXgafv :: Lens' VideosAnnotate (Maybe Xgafv)
- vaUploadProtocol :: Lens' VideosAnnotate (Maybe Text)
- vaAccessToken :: Lens' VideosAnnotate (Maybe Text)
- vaUploadType :: Lens' VideosAnnotate (Maybe Text)
- vaPayload :: Lens' VideosAnnotate GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest
- vaCallback :: Lens' VideosAnnotate (Maybe Text)
REST Resource
type VideosAnnotateResource = "v1p1beta1" :> ("videos:annotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest :> Post '[JSON] GoogleLongrunning_Operation)))))))) Source #
A resource alias for videointelligence.videos.annotate
method which the
VideosAnnotate
request conforms to.
Creating a Request
Creates a value of VideosAnnotate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VideosAnnotate Source #
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).
See: videosAnnotate
smart constructor.
Instances
Request Lenses
vaUploadProtocol :: Lens' VideosAnnotate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
vaAccessToken :: Lens' VideosAnnotate (Maybe Text) Source #
OAuth access token.
vaUploadType :: Lens' VideosAnnotate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
vaPayload :: Lens' VideosAnnotate GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest Source #
Multipart request metadata.
vaCallback :: Lens' VideosAnnotate (Maybe Text) Source #
JSONP