Document

class Document : KotlinCustomResource

Creates a document.

Properties

Link copied to clipboard

Document AI format to save the structured content, including OCR.

Link copied to clipboard
val contentCategory: Output<String>

Indicates the category (image, audio, video etc.) of the original content.

Link copied to clipboard
val createTime: Output<String>

The time when the document is created.

Link copied to clipboard
val creator: Output<String>

The user who creates the document.

Link copied to clipboard
val displayName: Output<String>

Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.

Link copied to clipboard
val displayUri: Output<String>

Uri to display the document, for example, in the UI.

Link copied to clipboard
val dispositionTime: Output<String>

If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.

Link copied to clipboard

The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Raw document content.

Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.

Link copied to clipboard
val plainText: Output<String>

Other document format, such as PPTX, XLXS

Link copied to clipboard
val project: Output<String>
Link copied to clipboard

List of values that are user supplied metadata.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.

Link copied to clipboard
val rawDocumentPath: Output<String>

Raw document file in Cloud Storage path.

Link copied to clipboard
val referenceId: Output<String>

The reference ID set by customers. Must be unique per project and location.

Link copied to clipboard

If true, text extraction will not be performed.

Link copied to clipboard

If true, text extraction will be performed.

Link copied to clipboard
val title: Output<String>

Title that describes the document. This can be the top heading or text that describes the document.

Link copied to clipboard
val updater: Output<String>

The user who lastly updates the document.

Link copied to clipboard
val updateTime: Output<String>

The time when the document is last updated.

Link copied to clipboard
val urn: Output<String>