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

The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.

Attributes

  • document (Document): Input document. Defaults to: null.
  • encodingType (String.t): The encoding type used by the API to calculate offsets. Defaults to: null.

    • Enum - one of [NONE, UTF8, UTF16, UTF32]
  • features (Features): The enabled features. 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.AnnotateTextRequest{
  document: GoogleApi.Language.V1.Model.Document.t(),
  encodingType: any(),
  features: GoogleApi.Language.V1.Model.Features.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.