Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats

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

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats.



6543
6544
6545
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6543

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

Instance Attribute Details

#display_nameString

Display name of the issue. Corresponds to the JSON property displayName

Returns:

  • (String)


6530
6531
6532
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6530

def display_name
  @display_name
end

#issueString

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

Returns:

  • (String)


6536
6537
6538
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6536

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)


6541
6542
6543
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6541

def labeled_conversations_count
  @labeled_conversations_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6548
6549
6550
6551
6552
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6548

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