View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor (google_api_document_ai v0.32.2)

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.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.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.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor{
  content: String.t() | nil,
  textSegments:
    [
      GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.t()
    ]
    | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.