google_api_language v0.10.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 (type: GoogleApi.Language.V1.Model.Document.t, default: nil) - Required. Input document.
  • encodingType (type: String.t, default: nil) - The encoding type used by the API to calculate offsets.
  • features (type: GoogleApi.Language.V1.Model.Features.t, default: nil) - Required. The enabled features.

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