View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentShardInfo (google_api_content_warehouse v0.5.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.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentShardInfo{
    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.