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 session entity type.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.entityTypes.delete
.
Synopsis
- type ProjectsAgentSessionsEntityTypesDeleteResource = "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)))))))
- projectsAgentSessionsEntityTypesDelete :: Text -> ProjectsAgentSessionsEntityTypesDelete
- data ProjectsAgentSessionsEntityTypesDelete
- paSetdXgafv :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Xgafv)
- paSetdUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text)
- paSetdAccessToken :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text)
- paSetdUploadType :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text)
- paSetdName :: Lens' ProjectsAgentSessionsEntityTypesDelete Text
- paSetdCallback :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text)
REST Resource
type ProjectsAgentSessionsEntityTypesDeleteResource = "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.entityTypes.delete
method which the
ProjectsAgentSessionsEntityTypesDelete
request conforms to.
Creating a Request
projectsAgentSessionsEntityTypesDelete Source #
Creates a value of ProjectsAgentSessionsEntityTypesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsEntityTypesDelete Source #
Deletes the specified session entity type.
See: projectsAgentSessionsEntityTypesDelete
smart constructor.
Instances
Request Lenses
paSetdXgafv :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Xgafv) Source #
V1 error format.
paSetdUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paSetdAccessToken :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text) Source #
OAuth access token.
paSetdUploadType :: Lens' ProjectsAgentSessionsEntityTypesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paSetdName :: Lens' ProjectsAgentSessionsEntityTypesDelete Text Source #
Required. The name of the entity type to delete. Format: `projects//agent/sessions//entityTypes/`.