Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified entity type.
See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.delete
.
Synopsis
- 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)))))))
- projectsAgentEntityTypesDelete :: Text -> ProjectsAgentEntityTypesDelete
- data ProjectsAgentEntityTypesDelete
- paetdXgafv :: Lens' ProjectsAgentEntityTypesDelete (Maybe Xgafv)
- paetdUploadProtocol :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text)
- paetdAccessToken :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text)
- paetdUploadType :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text)
- paetdName :: Lens' ProjectsAgentEntityTypesDelete Text
- paetdCallback :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text)
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
Request Lenses
paetdXgafv :: Lens' ProjectsAgentEntityTypesDelete (Maybe Xgafv) Source #
V1 error format.
paetdUploadProtocol :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paetdAccessToken :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text) Source #
OAuth access token.
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/`.
paetdCallback :: Lens' ProjectsAgentEntityTypesDelete (Maybe Text) Source #
JSONP