SentimentSentiment

GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

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

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment