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.



8979
8980
8981
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8979

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



8972
8973
8974
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8972

def auto_labeling_rule
  @auto_labeling_rule
end

#conversationGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation

The conversation resource. Corresponds to the JSON property conversation



8977
8978
8979
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8977

def conversation
  @conversation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8984
8985
8986
8987
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8984

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