Class: Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb
Overview
The response for calculating conversation statistics.
Defined Under Namespace
Classes: CustomHighlighterMatchesEntry, IssueMatchesEntry, IssueMatchesStatsEntry, SmartHighlighterMatchesEntry, TimeSeries
Instance Attribute Summary collapse
-
#average_duration ⇒ ::Google::Protobuf::Duration
The average duration of all conversations.
-
#average_turn_count ⇒ ::Integer
The average number of turns per conversation.
-
#conversation_count ⇒ ::Integer
The total number of conversations.
-
#conversation_count_time_series ⇒ ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries
A time series representing the count of conversations created over time that match that requested filter criteria.
-
#custom_highlighter_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
-
#issue_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#issue_matches_stats ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}
A map associating each issue resource name with its respective number of matches in the set of conversations.
-
#smart_highlighter_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
Instance Attribute Details
#average_duration ⇒ ::Google::Protobuf::Duration
Returns The average duration of all conversations. The average is calculated using only conversations that have a time duration.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#average_turn_count ⇒ ::Integer
Returns The average number of turns per conversation.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#conversation_count ⇒ ::Integer
Returns The total number of conversations.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#conversation_count_time_series ⇒ ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries
Returns A time series representing the count of conversations created over time that match that requested filter criteria.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#custom_highlighter_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#issue_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
This field is deprecated and may be removed in the next major version update.
Returns A map associating each issue resource name with its respective number of
matches in the set of conversations. Key has the format:
projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>
Deprecated, use issue_matches_stats
field instead.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#issue_matches_stats ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}
Returns A map associating each issue resource name with its respective number of
matches in the set of conversations. Key has the format:
projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>
.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#smart_highlighter_matches ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 72 class CalculateStatsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A time series representing conversations over time. # @!attribute [rw] interval_duration # @return [::Google::Protobuf::Duration] # The duration of each interval. # @!attribute [rw] points # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries::Interval>] # An ordered list of intervals from earliest to latest, where each interval # represents the number of conversations that transpired during the time # window. class TimeSeries include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single interval in a time series. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # The start time of this interval. # @!attribute [rw] conversation_count # @return [::Integer] # The number of conversations created in this interval. class Interval include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class SmartHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CustomHighlighterMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class IssueMatchesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats] class IssueMatchesStatsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |