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):
Attributes
-
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. -
createMask
(type:String.t
, default:nil
)
- Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For theFieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. -
document
(type:GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document
, default:nil
)
- Required. The document to create. -
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. -
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
}
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