gogol-texttospeech-0.4.0: Google Cloud Text-to-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.TextToSpeech.Text.Synthesize

Contents

Description

Synthesizes speech synchronously: receive results after all text input has been processed.

See: Cloud Text-to-Speech API Reference for texttospeech.text.synthesize.

Synopsis

REST Resource

type TextSynthesizeResource = "v1" :> ("text:synthesize" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SynthesizeSpeechRequest :> Post '[JSON] SynthesizeSpeechResponse)))))))) Source #

A resource alias for texttospeech.text.synthesize method which the TextSynthesize request conforms to.

Creating a Request

textSynthesize Source #

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

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

data TextSynthesize Source #

Synthesizes speech synchronously: receive results after all text input has been processed.

See: textSynthesize smart constructor.

Instances
Eq TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Data TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Methods

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

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

toConstr :: TextSynthesize -> Constr #

dataTypeOf :: TextSynthesize -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Generic TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Associated Types

type Rep TextSynthesize :: Type -> Type #

GoogleRequest TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Associated Types

type Rs TextSynthesize :: Type #

type Scopes TextSynthesize :: [Symbol] #

type Rep TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

type Rep TextSynthesize = D1 (MetaData "TextSynthesize" "Network.Google.Resource.TextToSpeech.Text.Synthesize" "gogol-texttospeech-0.4.0-1tOSifr1Iss9wmHJGn31FK" False) (C1 (MetaCons "TextSynthesize'" PrefixI True) ((S1 (MetaSel (Just "_tsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_tsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SynthesizeSpeechRequest) :*: S1 (MetaSel (Just "_tsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TextSynthesize Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

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

Defined in Network.Google.Resource.TextToSpeech.Text.Synthesize

Request Lenses

tsUploadProtocol :: Lens' TextSynthesize (Maybe Text) Source #

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

tsUploadType :: Lens' TextSynthesize (Maybe Text) Source #

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