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.



10909
10910
10911
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10909

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



10902
10903
10904
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10902

def auto_labeling_rule
  @auto_labeling_rule
end

#conversationGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation

The conversation resource. Corresponds to the JSON property conversation



10907
10908
10909
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10907

def conversation
  @conversation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10914
10915
10916
10917
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10914

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