Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueAssignment

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) ⇒ GoogleCloudContactcenterinsightsV1IssueAssignment

Returns a new instance of GoogleCloudContactcenterinsightsV1IssueAssignment.



1966
1967
1968
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1966

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 analyis and immutable since then. Corresponds to the JSON property displayName

Returns:

  • (String)


1953
1954
1955
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1953

def display_name
  @display_name
end

#issueString

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

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1958

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)


1964
1965
1966
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1964

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1971
1972
1973
1974
1975
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1971

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