Default document policy during creation. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. Conditions defined in the policy will be ignored.
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.
[[["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 2025-05-08 UTC."],[[["\u003cp\u003eThis endpoint allows the creation of a new document using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a \u003ccode\u003edocument\u003c/code\u003e object, and can optionally include \u003ccode\u003erequestMetadata\u003c/code\u003e, \u003ccode\u003epolicy\u003c/code\u003e, \u003ccode\u003ecloudAiDocumentOption\u003c/code\u003e, and \u003ccode\u003ecreateMask\u003c/code\u003e for defining properties during creation.\u003c/p\u003e\n"],["\u003cp\u003eThe parent resource is a required string parameter that follows the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response returns details about the created \u003ccode\u003edocument\u003c/code\u003e, along with optional \u003ccode\u003eruleEngineOutput\u003c/code\u003e, \u003ccode\u003emetadata\u003c/code\u003e, and \u003ccode\u003elongRunningOperations\u003c/code\u003e data.\u003c/p\u003e\n"],["\u003cp\u003eCreating a document requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the \u003ccode\u003econtentwarehouse.documents.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.documents.create\n\nCreates a document.\n\n### HTTP request\n\n`POST https://contentwarehouse.googleapis.com/v1/{parent}/documents`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse message for DocumentService.CreateDocument.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `contentwarehouse.documents.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]