gogol-speech-0.4.0: Google Cloud Speech 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.Speech.Speech.Longrunningrecognize

Contents

Description

Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message.

See: Cloud Speech API Reference for speech.speech.longrunningrecognize.

Synopsis

REST Resource

type SpeechLongrunningrecognizeResource = "v1p1beta1" :> ("speech:longrunningrecognize" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LongRunningRecognizeRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for speech.speech.longrunningrecognize method which the SpeechLongrunningrecognize request conforms to.

Creating a Request

speechLongrunningrecognize Source #

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

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

data SpeechLongrunningrecognize Source #

Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message.

See: speechLongrunningrecognize smart constructor.

Instances
Eq SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

Data SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

Methods

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

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

toConstr :: SpeechLongrunningrecognize -> Constr #

dataTypeOf :: SpeechLongrunningrecognize -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

Generic SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

Associated Types

type Rep SpeechLongrunningrecognize :: Type -> Type #

GoogleRequest SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

type Rep SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

type Rep SpeechLongrunningrecognize = D1 (MetaData "SpeechLongrunningrecognize" "Network.Google.Resource.Speech.Speech.Longrunningrecognize" "gogol-speech-0.4.0-DjEaGflTHLS8uenGffcunS" False) (C1 (MetaCons "SpeechLongrunningrecognize'" PrefixI True) ((S1 (MetaSel (Just "_slXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_slUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_slUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_slPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LongRunningRecognizeRequest) :*: S1 (MetaSel (Just "_slCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpeechLongrunningrecognize Source # 
Instance details

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

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

Defined in Network.Google.Resource.Speech.Speech.Longrunningrecognize

Request Lenses

slUploadProtocol :: Lens' SpeechLongrunningrecognize (Maybe Text) Source #

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

slUploadType :: Lens' SpeechLongrunningrecognize (Maybe Text) Source #

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