View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1SentimentData (google_api_contact_center_insights v0.6.0)

The data for a sentiment annotation.

Attributes

  • magnitude (type: number(), default: nil) - A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.
  • score (type: number(), default: nil) - The sentiment score between -1.0 (negative) and 1.0 (positive).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1SentimentData{
    magnitude: number() | nil,
    score: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.