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.



10979
10980
10981
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10979

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



10972
10973
10974
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10972

def auto_labeling_rule
  @auto_labeling_rule
end

#conversationGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation

The conversation resource. Corresponds to the JSON property conversation



10977
10978
10979
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10977

def conversation
  @conversation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10984
10985
10986
10987
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10984

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