View Source GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchor (google_api_document_ai v0.38.0)

Text reference indexing into the Document.text.

Attributes

  • content (type: String.t, default: nil) - Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.
  • textSegments (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment.t), default: nil) - The text segments from the Document.text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchor{
    content: String.t() | nil,
    textSegments:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.