0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    PurgeDocumentsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for
DocumentService.PurgeDocuments
method.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `gcs_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.GcsSource` Cloud Storage location for the input content. Supported `data_schema`: - `document_id`: One valid Document.id per line. This field is a member of `oneof`_ `source`. |
| `inline_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.PurgeDocumentsRequest.InlineSource` Inline source for the input content for purge. This field is a member of `oneof`_ `source`. |
| `parent` | `str` Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. |
| `filter` | `str` Required. Filter matching documents to purge. Only currently supported value is `*` (all items). |
| `error_config` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.PurgeErrorConfig` The desired location of errors incurred during the purge. |
| `force` | `bool` Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents. |

## Classes

### InlineSource

    InlineSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The inline source for the input config for
DocumentService.PurgeDocuments
method.