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 intent and its direct or indirect followup intents.
See: Dialogflow API Reference for dialogflow.projects.agent.intents.delete
.
Synopsis
- 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)))))))
- projectsAgentIntentsDelete :: Text -> ProjectsAgentIntentsDelete
- data ProjectsAgentIntentsDelete
- paidXgafv :: Lens' ProjectsAgentIntentsDelete (Maybe Xgafv)
- paidUploadProtocol :: Lens' ProjectsAgentIntentsDelete (Maybe Text)
- paidAccessToken :: Lens' ProjectsAgentIntentsDelete (Maybe Text)
- paidUploadType :: Lens' ProjectsAgentIntentsDelete (Maybe Text)
- paidName :: Lens' ProjectsAgentIntentsDelete Text
- paidCallback :: Lens' ProjectsAgentIntentsDelete (Maybe Text)
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
Request Lenses
paidUploadProtocol :: Lens' ProjectsAgentIntentsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paidAccessToken :: Lens' ProjectsAgentIntentsDelete (Maybe Text) Source #
OAuth access token.
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/`.
paidCallback :: Lens' ProjectsAgentIntentsDelete (Maybe Text) Source #
JSONP