class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SentimentConfig
Config for setting up sentiments.
Attributes
enable_label_sentiment_selection[RW]
If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false. Corresponds to the JSON property `enableLabelSentimentSelection` @return [Boolean]
enable_label_sentiment_selection?[RW]
If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false. Corresponds to the JSON property `enableLabelSentimentSelection` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4211 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4216 def update!(**args) @enable_label_sentiment_selection = args[:enable_label_sentiment_selection] if args.key?(:enable_label_sentiment_selection) end