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.Sessions.Contexts.Get

Contents

Description

Retrieves the specified context.

See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.get.

Synopsis

REST Resource

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

A resource alias for dialogflow.projects.agent.sessions.contexts.get method which the ProjectsAgentSessionsContextsGet request conforms to.

Creating a Request

projectsAgentSessionsContextsGet Source #

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

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

data ProjectsAgentSessionsContextsGet Source #

Retrieves the specified context.

See: projectsAgentSessionsContextsGet smart constructor.

Instances
Eq ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

Data ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

Methods

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

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

toConstr :: ProjectsAgentSessionsContextsGet -> Constr #

dataTypeOf :: ProjectsAgentSessionsContextsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

Generic ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

Associated Types

type Rep ProjectsAgentSessionsContextsGet :: Type -> Type #

GoogleRequest ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

type Rep ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

type Rep ProjectsAgentSessionsContextsGet = D1 (MetaData "ProjectsAgentSessionsContextsGet" "Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentSessionsContextsGet'" PrefixI True) ((S1 (MetaSel (Just "_pascgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pascgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pascgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pascgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pascgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pascgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentSessionsContextsGet Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

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

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Get

Request Lenses

pascgUploadProtocol :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text) Source #

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

pascgUploadType :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text) Source #

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

pascgName :: Lens' ProjectsAgentSessionsContextsGet Text Source #

Required. The name of the context. Format: `projects//agent/sessions//contexts/`.