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.Intents.Get

Contents

Description

Retrieves the specified intent.

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

Synopsis

REST Resource

type ProjectsAgentIntentsGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "intentView" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Intent))))))))) Source #

A resource alias for dialogflow.projects.agent.intents.get method which the ProjectsAgentIntentsGet request conforms to.

Creating a Request

projectsAgentIntentsGet Source #

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

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

data ProjectsAgentIntentsGet Source #

Retrieves the specified intent.

See: projectsAgentIntentsGet smart constructor.

Instances
Eq ProjectsAgentIntentsGet Source # 
Instance details

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

Data ProjectsAgentIntentsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentIntentsGet -> Constr #

dataTypeOf :: ProjectsAgentIntentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentIntentsGet Source # 
Instance details

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

Generic ProjectsAgentIntentsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentIntentsGet :: Type -> Type #

GoogleRequest ProjectsAgentIntentsGet Source # 
Instance details

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

type Rep ProjectsAgentIntentsGet Source # 
Instance details

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

type Rep ProjectsAgentIntentsGet = D1 (MetaData "ProjectsAgentIntentsGet" "Network.Google.Resource.DialogFlow.Projects.Agent.Intents.Get" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentIntentsGet'" PrefixI True) (((S1 (MetaSel (Just "_paigXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paigLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paigUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paigAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_paigUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paigIntentView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paigCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentIntentsGet Source # 
Instance details

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

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

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

Request Lenses

paigLanguageCode :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #

Optional. The language to retrieve training phrases, parameters and rich messages 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.

paigUploadProtocol :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #

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

paigUploadType :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #

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

paigIntentView :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #

Optional. The resource view to apply to the returned intent.

paigName :: Lens' ProjectsAgentIntentsGet Text Source #

Required. The name of the intent. Format: `projects//agent/intents/`.