gogol-vision-0.4.0: Google Cloud Vision SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Contents

Description

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

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
Eq FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Data FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilesAsyncBatchAnnotate -> c FilesAsyncBatchAnnotate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilesAsyncBatchAnnotate #

toConstr :: FilesAsyncBatchAnnotate -> Constr #

dataTypeOf :: FilesAsyncBatchAnnotate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FilesAsyncBatchAnnotate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilesAsyncBatchAnnotate) #

gmapT :: (forall b. Data b => b -> b) -> FilesAsyncBatchAnnotate -> FilesAsyncBatchAnnotate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilesAsyncBatchAnnotate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilesAsyncBatchAnnotate -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilesAsyncBatchAnnotate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilesAsyncBatchAnnotate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilesAsyncBatchAnnotate -> m FilesAsyncBatchAnnotate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilesAsyncBatchAnnotate -> m FilesAsyncBatchAnnotate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilesAsyncBatchAnnotate -> m FilesAsyncBatchAnnotate #

Show FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Generic FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Associated Types

type Rep FilesAsyncBatchAnnotate :: Type -> Type #

GoogleRequest FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

type Rep FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

type Rep FilesAsyncBatchAnnotate = D1 (MetaData "FilesAsyncBatchAnnotate" "Network.Google.Resource.Vision.Files.AsyncBatchAnnotate" "gogol-vision-0.4.0-BBnPCnJtQa73HYsCEnTn88" False) (C1 (MetaCons "FilesAsyncBatchAnnotate'" PrefixI True) ((S1 (MetaSel (Just "_fabaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_fabaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fabaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_fabaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fabaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest) :*: S1 (MetaSel (Just "_fabaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

type Scopes FilesAsyncBatchAnnotate = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-vision" ': ([] :: [Symbol]))
type Rs FilesAsyncBatchAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Files.AsyncBatchAnnotate

Request Lenses

fabaUploadProtocol :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

fabaUploadType :: Lens' FilesAsyncBatchAnnotate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").