google_api_language v0.10.1 GoogleApi.Language.V1.Model.AnalyzeSentimentRequest View Source

The sentiment analysis request message.

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 sentence offsets.

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.AnalyzeSentimentRequest{
  document: GoogleApi.Language.V1.Model.Document.t(),
  encodingType: 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.