Class: Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb

Overview

A data point contains the metric values mapped to an interval.

Defined Under Namespace

Classes: ConversationMeasure

Instance Attribute Summary collapse

Instance Attribute Details

#conversation_measure::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure

Returns The measure related to conversations.



1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 1613

class DataPoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The measure related to conversations.
  # @!attribute [rw] conversation_count
  #   @return [::Integer]
  #     The conversation count.
  # @!attribute [rw] average_silence_percentage
  #   @return [::Float]
  #     The average silence percentage.
  # @!attribute [rw] average_duration
  #   @return [::Google::Protobuf::Duration]
  #     The average duration.
  # @!attribute [rw] average_turn_count
  #   @return [::Float]
  #     The average turn count.
  # @!attribute [rw] average_agent_sentiment_score
  #   @return [::Float]
  #     The average agent's sentiment score.
  # @!attribute [rw] average_client_sentiment_score
  #   @return [::Float]
  #     The average client's sentiment score.
  # @!attribute [rw] average_customer_satisfaction_rating
  #   @return [::Float]
  #     The average customer satisfaction rating.
  # @!attribute [rw] average_qa_normalized_score
  #   @return [::Float]
  #     Average QA normalized score.
  #     Will exclude 0's in average calculation.
  # @!attribute [rw] qa_tag_scores
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure::QaTagScore>]
  #     Average QA normalized score for all the tags.
  # @!attribute [rw] average_qa_question_normalized_score
  #   @return [::Float]
  #     Average QA normalized score averaged for questions averaged across
  #     all revisions of the parent scorecard.
  #     Will be only populated if the request specifies a dimension of
  #     QA_QUESTION_ID.
  class ConversationMeasure
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Average QA normalized score for the tag.
    # @!attribute [rw] tag
    #   @return [::String]
    #     Tag name.
    # @!attribute [rw] average_tag_normalized_score
    #   @return [::Float]
    #     Average tag normalized score per tag.
    class QaTagScore
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#interval::Google::Type::Interval

Returns The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).

Returns:

  • (::Google::Type::Interval)

    The interval that this data point represents.

    • If this is the total data point, the interval is [starting create time, ending create time) from the request.
    • If this a data point from the time series, the interval is [time, time + time granularity from the request).


1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 1613

class DataPoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The measure related to conversations.
  # @!attribute [rw] conversation_count
  #   @return [::Integer]
  #     The conversation count.
  # @!attribute [rw] average_silence_percentage
  #   @return [::Float]
  #     The average silence percentage.
  # @!attribute [rw] average_duration
  #   @return [::Google::Protobuf::Duration]
  #     The average duration.
  # @!attribute [rw] average_turn_count
  #   @return [::Float]
  #     The average turn count.
  # @!attribute [rw] average_agent_sentiment_score
  #   @return [::Float]
  #     The average agent's sentiment score.
  # @!attribute [rw] average_client_sentiment_score
  #   @return [::Float]
  #     The average client's sentiment score.
  # @!attribute [rw] average_customer_satisfaction_rating
  #   @return [::Float]
  #     The average customer satisfaction rating.
  # @!attribute [rw] average_qa_normalized_score
  #   @return [::Float]
  #     Average QA normalized score.
  #     Will exclude 0's in average calculation.
  # @!attribute [rw] qa_tag_scores
  #   @return [::Array<::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure::QaTagScore>]
  #     Average QA normalized score for all the tags.
  # @!attribute [rw] average_qa_question_normalized_score
  #   @return [::Float]
  #     Average QA normalized score averaged for questions averaged across
  #     all revisions of the parent scorecard.
  #     Will be only populated if the request specifies a dimension of
  #     QA_QUESTION_ID.
  class ConversationMeasure
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Average QA normalized score for the tag.
    # @!attribute [rw] tag
    #   @return [::String]
    #     Tag name.
    # @!attribute [rw] average_tag_normalized_score
    #   @return [::Float]
    #     Average tag normalized score per tag.
    class QaTagScore
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end