View Source GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment (google_api_content_warehouse v0.4.0)

This proto contains the sentiment and emotions that the user is exhibiting at the time of the query. NEXT ID: 4

Attributes

  • polarity (type: String.t, default: nil) - Polarity represents the sentiment towards the subject.
  • userBehaviors (type: GoogleApi.ContentWarehouse.V1.Model.SentimentSentimentBehaviors.t, default: nil) -
  • userEmotions (type: GoogleApi.ContentWarehouse.V1.Model.SentimentSentimentEmotions.t, default: nil) - The emotions that the user is feeling.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment{
  polarity: String.t() | nil,
  userBehaviors:
    GoogleApi.ContentWarehouse.V1.Model.SentimentSentimentBehaviors.t() | nil,
  userEmotions:
    GoogleApi.ContentWarehouse.V1.Model.SentimentSentimentEmotions.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.