GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document
Table of Contents ▼
Jump to a specific part of the page:
Description
Defines the structure for content warehouse document proto.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
cloudAiDocument
(type:GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1Document
, default:nil
)
- Document AI format to save the structured content, including OCR. -
contentCategory
(type:String.t
, default:nil
)
- Indicates the category (image, audio, video etc.) of the original content. -
createTime
(type:DateTime.t
, default:nil
)
- Output only. The time when the document is created. -
creator
(type:String.t
, default:nil
)
- The user who creates the document. -
displayName
(type:String.t
, default:nil
)
- Required. 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. -
displayUri
(type:String.t
, default:nil
)
- Uri to display the document, for example, in the UI. -
dispositionTime
(type:DateTime.t
, default:nil
)
- Output only. If linked to a Collection with RetentionPolicy, the date when the document becomes mutable. -
documentSchemaName
(type:String.t
, default:nil
)
- The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. -
inlineRawDocument
(type:String.t
, default:nil
)
- Raw document content. -
legalHold
(type:boolean()
, default:nil
)
- Output only. Indicates if the document has a legal hold on it. -
name
(type:String.t
, default:nil
)
- The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document. -
plainText
(type:String.t
, default:nil
)
- Other document format, such as PPTX, XLXS -
properties
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Property)
, default:nil
)
- List of values that are user supplied metadata. -
rawDocumentFileType
(type:String.t
, default:nil
)
- 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. -
rawDocumentPath
(type:String.t
, default:nil
)
- Raw document file in Cloud Storage path. -
referenceId
(type:String.t
, default:nil
)
- The reference ID set by customers. Must be unique per project and location. -
textExtractionDisabled
(type:boolean()
, default:nil
)
- If true, text extraction will not be performed. -
textExtractionEnabled
(type:boolean()
, default:nil
)
- If true, text extraction will be performed. -
title
(type:String.t
, default:nil
)
- Title that describes the document. This can be the top heading or text that describes the document. -
updateTime
(type:DateTime.t
, default:nil
)
- Output only. The time when the document is last updated. -
updater
(type:String.t
, default:nil
)
- The user who lastly updates the document.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document{
cloudAiDocument: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1Document.t() | nil,
contentCategory: String.t() | nil,
createTime: DateTime.t() | nil,
creator: String.t() | nil,
displayName: String.t() | nil,
displayUri: String.t() | nil,
dispositionTime: DateTime.t() | nil,
documentSchemaName: String.t() | nil,
inlineRawDocument: String.t() | nil,
legalHold: boolean() | nil,
name: String.t() | nil,
plainText: String.t() | nil,
properties: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Property.t() ] | nil,
rawDocumentFileType: String.t() | nil,
rawDocumentPath: String.t() | nil,
referenceId: String.t() | nil,
textExtractionDisabled: boolean() | nil,
textExtractionEnabled: boolean() | nil,
title: String.t() | nil,
updateTime: DateTime.t() | nil,
updater: String.t() | nil
}
cloudAiDocument: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1Document.t() | nil,
contentCategory: String.t() | nil,
createTime: DateTime.t() | nil,
creator: String.t() | nil,
displayName: String.t() | nil,
displayUri: String.t() | nil,
dispositionTime: DateTime.t() | nil,
documentSchemaName: String.t() | nil,
inlineRawDocument: String.t() | nil,
legalHold: boolean() | nil,
name: String.t() | nil,
plainText: String.t() | nil,
properties: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Property.t() ] | nil,
rawDocumentFileType: String.t() | nil,
rawDocumentPath: String.t() | nil,
referenceId: String.t() | nil,
textExtractionDisabled: boolean() | nil,
textExtractionEnabled: boolean() | nil,
title: String.t() | nil,
updateTime: DateTime.t() | nil,
updater: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document