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

Contents

Description

Deletes the specified context.

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

Synopsis

REST Resource

type ProjectsAgentSessionsContextsDeleteResource = "v2" :> (Capture "name" Text :> (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.contexts.delete method which the ProjectsAgentSessionsContextsDelete request conforms to.

Creating a Request

projectsAgentSessionsContextsDelete Source #

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

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

data ProjectsAgentSessionsContextsDelete Source #

Deletes the specified context.

See: projectsAgentSessionsContextsDelete smart constructor.

Instances
Eq ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

Data ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentSessionsContextsDelete -> Constr #

dataTypeOf :: ProjectsAgentSessionsContextsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

Generic ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

GoogleRequest ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

type Rep ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

type Rep ProjectsAgentSessionsContextsDelete = D1 (MetaData "ProjectsAgentSessionsContextsDelete" "Network.Google.Resource.DialogFlow.Projects.Agent.Sessions.Contexts.Delete" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentSessionsContextsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pascdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pascdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pascdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pascdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pascdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pascdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentSessionsContextsDelete Source # 
Instance details

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

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

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

Request Lenses

pascdUploadProtocol :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text) Source #

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

pascdUploadType :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text) Source #

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

pascdName :: Lens' ProjectsAgentSessionsContextsDelete Text Source #

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