google_api_language v0.1.1 GoogleApi.Language.V1.Model.TextSpan View Source

Represents an output piece of text.

Attributes

  • beginOffset (integer()): The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request. Defaults to: null.
  • content (String.t): The content of the output text. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Language.V1.Model.TextSpan{
  beginOffset: any(),
  content: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.