GoogleCloudContentwarehouseV1CreateDocumentRequest

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CreateDocumentRequest


Table of Contents ▼

Jump to a specific part of the page:

Description

Request message for DocumentService.CreateDocument.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. cloudAiDocumentOption (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CloudAIDocumentOption, default: nil)
    - 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.
  2. createMask (type: String.t, default: nil)
    - 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.
  3. document (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document, default: nil)
    - Required. The document to create.
  4. policy (type: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy, default: nil)
    - 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.
  5. requestMetadata (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RequestMetadata, default: nil)
    - The meta information collected about the end user, used to enforce access control for the service.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CreateDocumentRequest{
cloudAiDocumentOption: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CloudAIDocumentOption.t() | nil,
createMask: String.t() | nil,
document: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document.t() | nil,
policy: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy.t() | nil,
requestMetadata: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1RequestMetadata.t() | nil
}

Function

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

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