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.Images.Annotate

Contents

Description

Run image detection and annotation for a batch of images.

See: Cloud Vision API Reference for vision.images.annotate.

Synopsis

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

imagesAnnotate Source #

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

Defined in Network.Google.Resource.Vision.Images.Annotate

Data ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

Methods

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

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

toConstr :: ImagesAnnotate -> Constr #

dataTypeOf :: ImagesAnnotate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

Generic ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

Associated Types

type Rep ImagesAnnotate :: Type -> Type #

GoogleRequest ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

Associated Types

type Rs ImagesAnnotate :: Type #

type Scopes ImagesAnnotate :: [Symbol] #

type Rep ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

type Scopes ImagesAnnotate Source # 
Instance details

Defined in Network.Google.Resource.Vision.Images.Annotate

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

Defined in Network.Google.Resource.Vision.Images.Annotate

Request Lenses

iaUploadProtocol :: Lens' ImagesAnnotate (Maybe Text) Source #

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

iaUploadType :: Lens' ImagesAnnotate (Maybe Text) Source #

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