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

Contents

Description

Deletes the specified intent and its direct or indirect followup intents.

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

Synopsis

REST Resource

type ProjectsAgentIntentsDeleteResource = "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.intents.delete method which the ProjectsAgentIntentsDelete request conforms to.

Creating a Request

projectsAgentIntentsDelete Source #

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

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

data ProjectsAgentIntentsDelete Source #

Deletes the specified intent and its direct or indirect followup intents.

See: projectsAgentIntentsDelete smart constructor.

Instances
Eq ProjectsAgentIntentsDelete Source # 
Instance details

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

Data ProjectsAgentIntentsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentIntentsDelete -> Constr #

dataTypeOf :: ProjectsAgentIntentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentIntentsDelete Source # 
Instance details

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

Generic ProjectsAgentIntentsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentIntentsDelete :: Type -> Type #

GoogleRequest ProjectsAgentIntentsDelete Source # 
Instance details

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

type Rep ProjectsAgentIntentsDelete Source # 
Instance details

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

type Rep ProjectsAgentIntentsDelete = D1 (MetaData "ProjectsAgentIntentsDelete" "Network.Google.Resource.DialogFlow.Projects.Agent.Intents.Delete" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentIntentsDelete'" PrefixI True) ((S1 (MetaSel (Just "_paidXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_paidUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paidAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_paidUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paidName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paidCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentIntentsDelete Source # 
Instance details

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

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

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

Request Lenses

paidUploadProtocol :: Lens' ProjectsAgentIntentsDelete (Maybe Text) Source #

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

paidUploadType :: Lens' ProjectsAgentIntentsDelete (Maybe Text) Source #

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

paidName :: Lens' ProjectsAgentIntentsDelete Text Source #

Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format: `projects//agent/intents/`.