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

Represents an output piece of text.

Attributes

  • beginOffset (type: integer(), default: nil) - The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.
  • content (type: String.t, default: nil) - The content of the output text.

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: integer(),
  content: String.t()
}

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.