View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor (google_api_content_warehouse v0.6.1)

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.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.t), default: nil) - The text segments from the Document.text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor{
    content: String.t() | nil,
    textSegments:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.