gogol-dialogflow-0.4.0: Google Dialogflow 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.DialogFlow.Projects.Agent.EntityTypes.Get

Contents

Description

Retrieves the specified entity type.

See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.get.

Synopsis

REST Resource

type ProjectsAgentEntityTypesGetResource = "v2" :> (Capture "name" Text :> (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] GoogleCloudDialogflowV2EntityType)))))))) Source #

A resource alias for dialogflow.projects.agent.entityTypes.get method which the ProjectsAgentEntityTypesGet request conforms to.

Creating a Request

projectsAgentEntityTypesGet Source #

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

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

data ProjectsAgentEntityTypesGet Source #

Retrieves the specified entity type.

See: projectsAgentEntityTypesGet smart constructor.

Instances
Eq ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

Data ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

Methods

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

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

toConstr :: ProjectsAgentEntityTypesGet -> Constr #

dataTypeOf :: ProjectsAgentEntityTypesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

Generic ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

Associated Types

type Rep ProjectsAgentEntityTypesGet :: Type -> Type #

GoogleRequest ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

type Rep ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

type Rep ProjectsAgentEntityTypesGet = D1 (MetaData "ProjectsAgentEntityTypesGet" "Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentEntityTypesGet'" PrefixI True) ((S1 (MetaSel (Just "_paetgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_paetgLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paetgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paetgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paetgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentEntityTypesGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

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

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Get

Request Lenses

paetgLanguageCode :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #

Optional. The language to retrieve entity synonyms for. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.

paetgUploadProtocol :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #

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

paetgUploadType :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #

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

paetgName :: Lens' ProjectsAgentEntityTypesGet Text Source #

Required. The name of the entity type. Format: `projects//agent/entityTypes/`.