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.Voices.List

Contents

Description

Returns a list of Voice supported for synthesis.

See: Cloud Text-to-Speech API Reference for texttospeech.voices.list.

Synopsis

REST Resource

type VoicesListResource = "v1" :> ("voices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListVoicesResponse)))))))) Source #

A resource alias for texttospeech.voices.list method which the VoicesList request conforms to.

Creating a Request

voicesList :: VoicesList Source #

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

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

data VoicesList Source #

Returns a list of Voice supported for synthesis.

See: voicesList smart constructor.

Instances
Eq VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Data VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Methods

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

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

toConstr :: VoicesList -> Constr #

dataTypeOf :: VoicesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Generic VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Associated Types

type Rep VoicesList :: Type -> Type #

GoogleRequest VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Associated Types

type Rs VoicesList :: Type #

type Scopes VoicesList :: [Symbol] #

type Rep VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

type Rep VoicesList = D1 (MetaData "VoicesList" "Network.Google.Resource.TextToSpeech.Voices.List" "gogol-texttospeech-0.4.0-1tOSifr1Iss9wmHJGn31FK" False) (C1 (MetaCons "VoicesList'" PrefixI True) ((S1 (MetaSel (Just "_vlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_vlLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_vlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_vlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes VoicesList Source # 
Instance details

Defined in Network.Google.Resource.TextToSpeech.Voices.List

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

Defined in Network.Google.Resource.TextToSpeech.Voices.List

Request Lenses

vlXgafv :: Lens' VoicesList (Maybe Xgafv) Source #

V1 error format.

vlLanguageCode :: Lens' VoicesList (Maybe Text) Source #

Optional (but recommended) BCP-47 language tag. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. E.g. when specifying "en-NZ", you will get supported "en-*" voices; when specifying "no", you will get supported "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also get supported "cmn-*" voices; specifying "zh-hk" will also get supported "yue-*" voices.

vlUploadProtocol :: Lens' VoicesList (Maybe Text) Source #

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

vlAccessToken :: Lens' VoicesList (Maybe Text) Source #

OAuth access token.

vlUploadType :: Lens' VoicesList (Maybe Text) Source #

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