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 intents in the specified agent. Operation
See: Dialogflow API Reference for dialogflow.projects.agent.intents.batchDelete
.
Synopsis
- type ProjectsAgentIntentsBatchDeleteResource = "v2" :> (Capture "parent" Text :> ("intents:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchDeleteIntentsRequest :> Post '[JSON] GoogleLongrunningOperation)))))))))
- projectsAgentIntentsBatchDelete :: Text -> GoogleCloudDialogflowV2BatchDeleteIntentsRequest -> ProjectsAgentIntentsBatchDelete
- data ProjectsAgentIntentsBatchDelete
- paibdParent :: Lens' ProjectsAgentIntentsBatchDelete Text
- paibdXgafv :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Xgafv)
- paibdUploadProtocol :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text)
- paibdAccessToken :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text)
- paibdUploadType :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text)
- paibdPayload :: Lens' ProjectsAgentIntentsBatchDelete GoogleCloudDialogflowV2BatchDeleteIntentsRequest
- paibdCallback :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text)
REST Resource
type ProjectsAgentIntentsBatchDeleteResource = "v2" :> (Capture "parent" Text :> ("intents:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchDeleteIntentsRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #
A resource alias for dialogflow.projects.agent.intents.batchDelete
method which the
ProjectsAgentIntentsBatchDelete
request conforms to.
Creating a Request
projectsAgentIntentsBatchDelete Source #
Creates a value of ProjectsAgentIntentsBatchDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentIntentsBatchDelete Source #
Deletes intents in the specified agent. Operation
See: projectsAgentIntentsBatchDelete
smart constructor.
Instances
Request Lenses
paibdParent :: Lens' ProjectsAgentIntentsBatchDelete Text Source #
Required. The name of the agent to delete all entities types for. Format: `projects//agent`.
paibdXgafv :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Xgafv) Source #
V1 error format.
paibdUploadProtocol :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paibdAccessToken :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text) Source #
OAuth access token.
paibdUploadType :: Lens' ProjectsAgentIntentsBatchDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paibdPayload :: Lens' ProjectsAgentIntentsBatchDelete GoogleCloudDialogflowV2BatchDeleteIntentsRequest Source #
Multipart request metadata.