Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats

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

Aggregated statistics about an issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats

Returns a new instance of GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats.



1729
1730
1731
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1729

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

Instance Attribute Details

#issueString

Issue resource. Format: projects/project/locations/location/issueModels/ issue_model/issues/issue Corresponds to the JSON property issue

Returns:

  • (String)


1722
1723
1724
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1722

def issue
  @issue
end

#labeled_conversations_countFixnum

Number of conversations attached to the issue at this point in time. Corresponds to the JSON property labeledConversationsCount

Returns:

  • (Fixnum)


1727
1728
1729
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1727

def labeled_conversations_count
  @labeled_conversations_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1734
1735
1736
1737
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1734

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