GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentTextAnchor (google_api_document_ai v0.21.0) View Source

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.
  • textSegments (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment.t), default: nil) - The text segments from the Document.text.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentTextAnchor{
    content: String.t() | nil,
    textSegments:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment.t()
      ]
      | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.