View Source GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextInfo (google_api_content_warehouse v0.4.0)

Attributes

  • beginPos (type: integer(), default: nil) - Leading text start position, byte offset of page content. The offset is got in ParseMaster. So it is the offset after the content is converted to UTF8.
  • leadingtext (type: list(GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextAnnotation.t), default: nil) - Note: You can also use it to save multiple leading text candidates.
  • text (type: String.t, default: nil) - UTF8 text, for alignment when using reusableinfo. The text is not available in docjoins.
  • type (type: String.t, default: nil) - Type of leading text which is optimized for this type of document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextInfo{
  beginPos: integer() | nil,
  leadingtext:
    [
      GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextAnnotation.t()
    ]
    | nil,
  text: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.