Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
- 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
Information about the issue.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Immutable.
-
#issue ⇒ String
Resource name of the assigned issue.
-
#score ⇒ Float
Score indicating the likelihood of the issue assignment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1IssueAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueAssignment.
5385 5386 5387 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Immutable. Display name of the assigned issue. This field is set at time of
analyis and immutable since then.
Corresponds to the JSON property displayName
5372 5373 5374 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5372 def display_name @display_name end |
#issue ⇒ String
Resource name of the assigned issue.
Corresponds to the JSON property issue
5377 5378 5379 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5377 def issue @issue end |
#score ⇒ Float
Score indicating the likelihood of the issue assignment. currently bounded on [
0,1].
Corresponds to the JSON property score
5383 5384 5385 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5383 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5390 5391 5392 5393 5394 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5390 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @issue = args[:issue] if args.key?(:issue) @score = args[:score] if args.key?(:score) end |