View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentShardInfo (google_api_document_ai v0.38.0)

For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.

Attributes

  • shardCount (type: String.t, default: nil) - Total number of shards.
  • shardIndex (type: String.t, default: nil) - The 0-based index of this shard.
  • textOffset (type: String.t, default: nil) - The index of the first character in Document.text in the overall document global text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3DocumentShardInfo{
    shardCount: String.t() | nil,
    shardIndex: String.t() | nil,
    textOffset: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.