Class DocumentSchema (0.5.1)

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

A document schema used to define document structure.

Attributes

NameDescription
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.
property_definitions MutableSequence[google.cloud.contentwarehouse_v1.types.PropertyDefinition]
Document details.
document_is_folder bool
Document Type, true refers the document is a folder, otherwise it is a typical document.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the document schema is last updated.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the document schema is created.
description str
Schema description.