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

Contents

Description

Deletes all active contexts in the specified session.

See: Dialogflow API Reference for dialogflow.projects.agent.sessions.deleteContexts.

Synopsis

REST Resource

type ProjectsAgentSessionsDeleteContextsResource = "v2" :> (Capture "parent" Text :> ("contexts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty)))))))) Source #

A resource alias for dialogflow.projects.agent.sessions.deleteContexts method which the ProjectsAgentSessionsDeleteContexts request conforms to.

Creating a Request

projectsAgentSessionsDeleteContexts Source #

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

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

data ProjectsAgentSessionsDeleteContexts Source #

Deletes all active contexts in the specified session.

See: projectsAgentSessionsDeleteContexts smart constructor.

Instances
Eq ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

Data ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

Methods

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

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

toConstr :: ProjectsAgentSessionsDeleteContexts -> Constr #

dataTypeOf :: ProjectsAgentSessionsDeleteContexts -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

Generic ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

GoogleRequest ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

type Rep ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

type Rep ProjectsAgentSessionsDeleteContexts = D1 (MetaData "ProjectsAgentSessionsDeleteContexts" "Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentSessionsDeleteContexts'" PrefixI True) ((S1 (MetaSel (Just "_pasdcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pasdcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pasdcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pasdcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pasdcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pasdcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentSessionsDeleteContexts Source # 
Instance details

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

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

Defined in Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.DeleteContexts

Request Lenses

pasdcParent :: Lens' ProjectsAgentSessionsDeleteContexts Text Source #

Required. The name of the session to delete all contexts from. Format: `projects//agent/sessions/`.

pasdcUploadProtocol :: Lens' ProjectsAgentSessionsDeleteContexts (Maybe Text) Source #

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

pasdcUploadType :: Lens' ProjectsAgentSessionsDeleteContexts (Maybe Text) Source #

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