Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The request message for testing auto labeling rules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest

Returns a new instance of GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest.



10177
10178
10179
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10177

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_labeling_ruleGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule

Rule for auto-labeling conversations. Corresponds to the JSON property autoLabelingRule



10170
10171
10172
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10170

def auto_labeling_rule
  @auto_labeling_rule
end

#conversationGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation

The conversation resource. Corresponds to the JSON property conversation



10175
10176
10177
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10175

def conversation
  @conversation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10182
10183
10184
10185
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10182

def update!(**args)
  @auto_labeling_rule = args[:auto_labeling_rule] if args.key?(:auto_labeling_rule)
  @conversation = args[:conversation] if args.key?(:conversation)
end