View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CreateDocumentRequest (google_api_content_warehouse v0.6.0)

Request message for DocumentService.CreateDocument.

Attributes

  • cloudAiDocumentOption (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1CloudAIDocumentOption.t, 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 the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
  • document (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1Document.t, default: nil) - Required. The document to create.
  • policy (type: GoogleApi.ContentWarehouse.V1.Model.GoogleIamV1Policy.t, 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.t, default: nil) - The meta information collected about the end user, used to enforce access control for the service.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.