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