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

Contents

Description

Deletes the specified entity type.

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

Synopsis

REST Resource

type ProjectsAgentEntityTypesDeleteResource = "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.entityTypes.delete method which the ProjectsAgentEntityTypesDelete request conforms to.

Creating a Request

projectsAgentEntityTypesDelete Source #

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

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

data ProjectsAgentEntityTypesDelete Source #

Deletes the specified entity type.

See: projectsAgentEntityTypesDelete smart constructor.

Instances
Eq ProjectsAgentEntityTypesDelete Source # 
Instance details

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

Data ProjectsAgentEntityTypesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAgentEntityTypesDelete -> Constr #

dataTypeOf :: ProjectsAgentEntityTypesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAgentEntityTypesDelete Source # 
Instance details

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

Generic ProjectsAgentEntityTypesDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsAgentEntityTypesDelete :: Type -> Type #

GoogleRequest ProjectsAgentEntityTypesDelete Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesDelete Source # 
Instance details

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

type Rep ProjectsAgentEntityTypesDelete = D1 (MetaData "ProjectsAgentEntityTypesDelete" "Network.Google.Resource.DialogFlow.Projects.Agent.EntityTypes.Delete" "gogol-dialogflow-0.4.0-LhfWFPNiwlPEL3P0xqpEYp" False) (C1 (MetaCons "ProjectsAgentEntityTypesDelete'" PrefixI True) ((S1 (MetaSel (Just "_paetdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_paetdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paetdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_paetdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paetdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paetdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAgentEntityTypesDelete Source # 
Instance details

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

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

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

Request Lenses

paetdUploadProtocol :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text) Source #

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

paetdUploadType :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text) Source #

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

paetdName :: Lens' ProjectsAgentEntityTypesDelete Text Source #

Required. The name of the entity type to delete. Format: `projects//agent/entityTypes/`.