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 context.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.delete
.
Synopsis
- 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)))))))
- projectsAgentSessionsContextsDelete :: Text -> ProjectsAgentSessionsContextsDelete
- data ProjectsAgentSessionsContextsDelete
- pascdXgafv :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Xgafv)
- pascdUploadProtocol :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text)
- pascdAccessToken :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text)
- pascdUploadType :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text)
- pascdName :: Lens' ProjectsAgentSessionsContextsDelete Text
- pascdCallback :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text)
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
Request Lenses
pascdXgafv :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Xgafv) Source #
V1 error format.
pascdUploadProtocol :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pascdAccessToken :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text) Source #
OAuth access token.
pascdUploadType :: Lens' ProjectsAgentSessionsContextsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").