gogol-language-0.2.0: Google Cloud Natural Language 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.Language.Documents.AnnotateText

Contents

Description

A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.

See: Google Cloud Natural Language API Reference for language.documents.annotateText.

Synopsis

REST Resource

type DocumentsAnnotateTextResource = "v1" :> ("documents:annotateText" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AnnotateTextRequest :> Post '[JSON] AnnotateTextResponse)))))))))) Source #

A resource alias for language.documents.annotateText method which the DocumentsAnnotateText request conforms to.

Creating a Request

documentsAnnotateText Source #

Creates a value of DocumentsAnnotateText with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DocumentsAnnotateText Source #

A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.

See: documentsAnnotateText smart constructor.

Instances

Eq DocumentsAnnotateText Source # 
Data DocumentsAnnotateText Source # 

Methods

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

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

toConstr :: DocumentsAnnotateText -> Constr #

dataTypeOf :: DocumentsAnnotateText -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DocumentsAnnotateText Source # 
Generic DocumentsAnnotateText Source # 
GoogleRequest DocumentsAnnotateText Source # 
type Rep DocumentsAnnotateText Source # 
type Scopes DocumentsAnnotateText Source # 
type Scopes DocumentsAnnotateText = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs DocumentsAnnotateText Source # 

Request Lenses

datUploadProtocol :: Lens' DocumentsAnnotateText (Maybe Text) Source #

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

datPp :: Lens' DocumentsAnnotateText Bool Source #

Pretty-print response.

datUploadType :: Lens' DocumentsAnnotateText (Maybe Text) Source #

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