Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueAssignment

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

Information about the issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueAssignment

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueAssignment.



10873
10874
10875
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10873

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

Instance Attribute Details

#display_nameString

Immutable. Display name of the assigned issue. This field is set at time of analysis and immutable since then. Corresponds to the JSON property displayName

Returns:

  • (String)


10860
10861
10862
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10860

def display_name
  @display_name
end

#issueString

Resource name of the assigned issue. Corresponds to the JSON property issue

Returns:

  • (String)


10865
10866
10867
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10865

def issue
  @issue
end

#scoreFloat

Score indicating the likelihood of the issue assignment. currently bounded on [ 0,1]. Corresponds to the JSON property score

Returns:

  • (Float)


10871
10872
10873
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10871

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10878
10879
10880
10881
10882
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10878

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