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 image detection and annotation for a batch of images.
See: Cloud Vision API Reference for vision.images.annotate
.
Synopsis
- type ImagesAnnotateResource = "v1p2beta1" :> ("images:annotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest :> Post '[JSON] GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse))))))))
- imagesAnnotate :: GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest -> ImagesAnnotate
- data ImagesAnnotate
- iaXgafv :: Lens' ImagesAnnotate (Maybe Xgafv)
- iaUploadProtocol :: Lens' ImagesAnnotate (Maybe Text)
- iaAccessToken :: Lens' ImagesAnnotate (Maybe Text)
- iaUploadType :: Lens' ImagesAnnotate (Maybe Text)
- iaPayload :: Lens' ImagesAnnotate GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest
- iaCallback :: Lens' ImagesAnnotate (Maybe Text)
REST Resource
type ImagesAnnotateResource = "v1p2beta1" :> ("images:annotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest :> Post '[JSON] GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse)))))))) Source #
A resource alias for vision.images.annotate
method which the
ImagesAnnotate
request conforms to.
Creating a Request
Creates a value of ImagesAnnotate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ImagesAnnotate Source #
Run image detection and annotation for a batch of images.
See: imagesAnnotate
smart constructor.
Instances
Request Lenses
iaUploadProtocol :: Lens' ImagesAnnotate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
iaAccessToken :: Lens' ImagesAnnotate (Maybe Text) Source #
OAuth access token.
iaUploadType :: Lens' ImagesAnnotate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
iaPayload :: Lens' ImagesAnnotate GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest Source #
Multipart request metadata.
iaCallback :: Lens' ImagesAnnotate (Maybe Text) Source #
JSONP