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

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.

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.GoogleCloudDocumentaiV1beta1DocumentShardInfo{
    shardCount: String.t() | nil,
    shardIndex: String.t() | nil,
    textOffset: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.