Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset It takes the form projects/{project}/locations/{location}/processors/{processor}/dataset.
Request body
The request body contains data with the following structure:
Required. Dataset documents input. If given filter, all documents satisfying the filter will be deleted. If given documentIds, a maximum of 50 documents can be deleted in a batch. The request will be rejected if more than 50 documentIds are provided.
Response body
If successful, the response body contains an instance of Operation.
Dataset documents that the batch operation will be applied to.
JSON representation
{// Union field criteria can be only one of the following:"individualDocumentIds": {object (IndividualDocumentIds)},"filter": string// End of list of possible types for union field criteria.}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-07 UTC."],[[["This endpoint, `projects.locations.processors.dataset.batchDeleteDocuments`, allows for the deletion of a set of documents within a dataset."],["The request must specify the dataset resource name in the path parameters, formatted as `projects/{project}/locations/{location}/processors/{processor}/dataset`."],["Documents for deletion are specified in the request body, either via a `filter` to match multiple documents or by providing a list of `documentIds`, with a maximum of 50 documents allowed in a batch when using documentIds."],["Successful deletion requests will return an `Operation` object, and the request requires `documentai.datasets.deleteDocuments` IAM permission on the dataset."],["The endpoint also requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope to be authorized."]]],[]]