A document schema used to define document structure.
Attributes
Name
Description
name
str
The resource name of the document schema. Format:
projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
The name is ignored when creating a document schema.
display_name
str
Required. Name of the schema given by the
user. Must be unique per project.
[[["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-08-28 UTC."],[],[],null,["# Class DocumentSchema (0.7.16)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.16 (latest)](/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.7.15](/python/docs/reference/contentwarehouse/0.7.15/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.6.0](/python/docs/reference/contentwarehouse/0.6.0/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.5.1](/python/docs/reference/contentwarehouse/0.5.1/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.4.1](/python/docs/reference/contentwarehouse/0.4.1/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.3.1](/python/docs/reference/contentwarehouse/0.3.1/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.2.1](/python/docs/reference/contentwarehouse/0.2.1/google.cloud.contentwarehouse_v1.types.DocumentSchema)\n- [0.1.0](/python/docs/reference/contentwarehouse/0.1.0/google.cloud.contentwarehouse_v1.types.DocumentSchema) \n\n DocumentSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA document schema used to define document structure."]]