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.



9579
9580
9581
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9579

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



9572
9573
9574
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9572

def auto_labeling_rule
  @auto_labeling_rule
end

#conversationGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation

The conversation resource. Corresponds to the JSON property conversation



9577
9578
9579
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9577

def conversation
  @conversation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9584
9585
9586
9587
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9584

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