DocumentArgs constructor

const DocumentArgs({
  1. Input<GoogleCloudDocumentaiV1Document>? cloudAiDocument,
  2. Input<GoogleCloudContentwarehouseV1CloudAIDocumentOption>? cloudAiDocumentOption,
  3. Input<DocumentContentCategory>? contentCategory,
  4. Input<String>? createMask,
  5. Input<String>? creator,
  6. required Input<String> displayName,
  7. Input<String>? displayUri,
  8. Input<String>? documentSchemaName,
  9. Input<String>? inlineRawDocument,
  10. Input<String>? location,
  11. Input<String>? name,
  12. Input<String>? plainText,
  13. Input<GoogleIamV1Policy>? policy,
  14. Input<String>? project,
  15. Input<List<GoogleCloudContentwarehouseV1Property>>? properties,
  16. Input<DocumentRawDocumentFileType>? rawDocumentFileType,
  17. Input<String>? rawDocumentPath,
  18. Input<String>? referenceId,
  19. Input<GoogleCloudContentwarehouseV1RequestMetadata>? requestMetadata,
  20. Input<bool>? textExtractionDisabled,
  21. Input<bool>? textExtractionEnabled,
  22. Input<String>? title,
  23. Input<String>? updater,
})

Creates a new DocumentArgs. cloudAiDocument Document AI format to save the structured content, including OCR. cloudAiDocumentOption Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options. contentCategory Indicates the category (image, audio, video etc.) of the original content. createMask Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. creator The user who creates the document. displayName 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 Uri to display the document, for example, in the UI. documentSchemaName The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. inlineRawDocument Raw document content. location Optional. name The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document. plainText Other document format, such as PPTX, XLXS policy Default document policy during creation. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. Conditions defined in the policy will be ignored. project Optional. properties List of values that are user supplied metadata. rawDocumentFileType 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 Raw document file in Cloud Storage path. referenceId The reference ID set by customers. Must be unique per project and location. requestMetadata The meta information collected about the end user, used to enforce access control for the service. textExtractionDisabled If true, text extraction will not be performed. textExtractionEnabled If true, text extraction will be performed. title Title that describes the document. This can be the top heading or text that describes the document. updater The user who lastly updates the document.

Implementation

const DocumentArgs({
  this.cloudAiDocument,
  this.cloudAiDocumentOption,
  this.contentCategory,
  this.createMask,
  this.creator,
  required this.displayName,
  this.displayUri,
  this.documentSchemaName,
  this.inlineRawDocument,
  this.location,
  this.name,
  this.plainText,
  this.policy,
  this.project,
  this.properties,
  this.rawDocumentFileType,
  this.rawDocumentPath,
  this.referenceId,
  this.requestMetadata,
  this.textExtractionDisabled,
  this.textExtractionEnabled,
  this.title,
  this.updater,
});