GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse (google_api_document_ai v0.46.0)

View Source

Response of the sample documents operation.

Attributes

  • sampleTestStatus (type: GoogleApi.DocumentAI.V1beta2.Model.GoogleRpcStatus.t, default: nil) - The status of sampling documents in test split.
  • sampleTrainingStatus (type: GoogleApi.DocumentAI.V1beta2.Model.GoogleRpcStatus.t, default: nil) - The status of sampling documents in training split.
  • selectedDocuments (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument.t), default: nil) - The result of the sampling process.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse{
    sampleTestStatus:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleRpcStatus.t() | nil,
    sampleTrainingStatus:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleRpcStatus.t() | nil,
    selectedDocuments:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.