Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelResult

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

Issue Modeling result on a conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModelResult

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModelResult.



5279
5280
5281
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5279

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#issue_modelString

Issue model that generates the result. Format: projects/project/locations/ location/issueModels/issue_model Corresponds to the JSON property issueModel

Returns:

  • (String)


5272
5273
5274
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5272

def issue_model
  @issue_model
end

#issuesArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueAssignment>

All the matched issues. Corresponds to the JSON property issues



5277
5278
5279
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5277

def issues
  @issues
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5284
5285
5286
5287
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5284

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