GoogleCloudContentwarehouseV1Document

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):

View Attributes

Attributes

  1. cloudAiDocument (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1Document, default: nil)
    - Document AI format to save the structured content, including OCR.
  2. contentCategory (type: String.t, default: nil)
    - Indicates the category (image, audio, video etc.) of the original content.
  3. createTime (type: DateTime.t, default: nil)
    - Output only. The time when the document is created.
  4. creator (type: String.t, default: nil)
    - The user who creates the document.
  5. 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.
  6. displayUri (type: String.t, default: nil)
    - Uri to display the document, for example, in the UI.
  7. dispositionTime (type: DateTime.t, default: nil)
    - Output only. If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.
  8. documentSchemaName (type: String.t, default: nil)
    - The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.
  9. inlineRawDocument (type: String.t, default: nil)
    - Raw document content.
  10. legalHold (type: boolean(), default: nil)
    - Output only. Indicates if the document has a legal hold on it.
  11. 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.
  12. plainText (type: String.t, default: nil)
    - Other document format, such as PPTX, XLXS
  13. properties (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Property), default: nil)
    - List of values that are user supplied metadata.
  14. 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.
  15. rawDocumentPath (type: String.t, default: nil)
    - Raw document file in Cloud Storage path.
  16. referenceId (type: String.t, default: nil)
    - The reference ID set by customers. Must be unique per project and location.
  17. textExtractionDisabled (type: boolean(), default: nil)
    - If true, text extraction will not be performed.
  18. textExtractionEnabled (type: boolean(), default: nil)
    - If true, text extraction will be performed.
  19. title (type: String.t, default: nil)
    - Title that describes the document. This can be the top heading or text that describes the document.
  20. updateTime (type: DateTime.t, default: nil)
    - Output only. The time when the document is last updated.
  21. 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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document