Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
- 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
Configs for the input data used to create the issue model.
Instance Attribute Summary collapse
-
#filter ⇒ String
A filter to reduce the conversations used for training the model to a specific subset.
-
#medium ⇒ String
Medium of conversations used in training data.
-
#training_conversations_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig.
5212 5213 5214 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
A filter to reduce the conversations used for training the model to a specific
subset.
Corresponds to the JSON property filter
5198 5199 5200 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5198 def filter @filter end |
#medium ⇒ String
Medium of conversations used in training data. This field is being deprecated.
To specify the medium to be used in training a new issue model, set the
medium
field on filter
.
Corresponds to the JSON property medium
5205 5206 5207 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5205 def medium @medium end |
#training_conversations_count ⇒ Fixnum
Output only. Number of conversations used in training. Output only.
Corresponds to the JSON property trainingConversationsCount
5210 5211 5212 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5210 def training_conversations_count @training_conversations_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5217 5218 5219 5220 5221 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5217 def update!(**args) @filter = args[:filter] if args.key?(:filter) @medium = args[:medium] if args.key?(:medium) @training_conversations_count = args[:training_conversations_count] if args.key?(:training_conversations_count) end |