# Class UpdateDocumentRequest (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

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

Request message for DocumentService.UpdateDocument.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. |
| `document` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.Document` Required. The document to update. |
| `request_metadata` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.RequestMetadata` The meta information collected about the end user, used to enforce access control for the service. |
| `cloud_ai_document_option` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.CloudAIDocumentOption` Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options. |
| `update_options` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.UpdateOptions` Options for the update operation. |