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 |
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
See: Cloud Vision API Reference for vision.files.asyncBatchAnnotate
.
Synopsis
- type FilesAsyncBatchAnnotateResource = "v1p2beta1" :> ("files:asyncBatchAnnotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest :> Post '[JSON] Operation))))))))
- filesAsyncBatchAnnotate :: GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest -> FilesAsyncBatchAnnotate
- data FilesAsyncBatchAnnotate
- fabaXgafv :: Lens' FilesAsyncBatchAnnotate (Maybe Xgafv)
- fabaUploadProtocol :: Lens' FilesAsyncBatchAnnotate (Maybe Text)
- fabaAccessToken :: Lens' FilesAsyncBatchAnnotate (Maybe Text)
- fabaUploadType :: Lens' FilesAsyncBatchAnnotate (Maybe Text)
- fabaPayload :: Lens' FilesAsyncBatchAnnotate GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest
- fabaCallback :: Lens' FilesAsyncBatchAnnotate (Maybe Text)
REST Resource
type FilesAsyncBatchAnnotateResource = "v1p2beta1" :> ("files:asyncBatchAnnotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for vision.files.asyncBatchAnnotate
method which the
FilesAsyncBatchAnnotate
request conforms to.
Creating a Request
filesAsyncBatchAnnotate Source #
Creates a value of FilesAsyncBatchAnnotate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FilesAsyncBatchAnnotate Source #
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
See: filesAsyncBatchAnnotate
smart constructor.
Instances
Request Lenses
fabaUploadProtocol :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fabaAccessToken :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #
OAuth access token.
fabaUploadType :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fabaPayload :: Lens' FilesAsyncBatchAnnotate GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest Source #
Multipart request metadata.
fabaCallback :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #
JSONP