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.GetAgent

Contents

Description

Retrieves the specified agent.

See: Dialogflow API Reference for dialogflow.projects.getAgent.

Synopsis

REST Resource

type ProjectsGetAgentResource = "v2" :> (Capture "parent" Text :> ("agent" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Agent)))))))) Source #

A resource alias for dialogflow.projects.getAgent method which the ProjectsGetAgent request conforms to.

Creating a Request

projectsGetAgent Source #

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

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

data ProjectsGetAgent Source #

Retrieves the specified agent.

See: projectsGetAgent smart constructor.

Instances
Eq ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Data ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Methods

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

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

toConstr :: ProjectsGetAgent -> Constr #

dataTypeOf :: ProjectsGetAgent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Generic ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Associated Types

type Rep ProjectsGetAgent :: Type -> Type #

GoogleRequest ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Associated Types

type Rs ProjectsGetAgent :: Type #

type Scopes ProjectsGetAgent :: [Symbol] #

type Rep ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

type Rep ProjectsGetAgent = D1 (MetaData "ProjectsGetAgent" "Network.Google.Resource.DialogFlow.Projects.GetAgent" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsGetAgent'" PrefixI True) ((S1 (MetaSel (Just "_pgaParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pgaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pgaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetAgent Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

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

Defined in Network.Google.Resource.DialogFlow.Projects.GetAgent

Request Lenses

pgaParent :: Lens' ProjectsGetAgent Text Source #

Required. The project that the agent to fetch is associated with. Format: `projects/`.

pgaUploadProtocol :: Lens' ProjectsGetAgent (Maybe Text) Source #

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

pgaUploadType :: Lens' ProjectsGetAgent (Maybe Text) Source #

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