Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse (v0.18.0)

Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse.

The response for calculating conversation statistics.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#average_duration

def average_duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The average duration of all conversations. The average is calculated using only conversations that have a time duration.

#average_duration=

def average_duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The average duration of all conversations. The average is calculated using only conversations that have a time duration.
Returns
  • (::Google::Protobuf::Duration) — The average duration of all conversations. The average is calculated using only conversations that have a time duration.

#average_turn_count

def average_turn_count() -> ::Integer
Returns
  • (::Integer) — The average number of turns per conversation.

#average_turn_count=

def average_turn_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The average number of turns per conversation.
Returns
  • (::Integer) — The average number of turns per conversation.

#conversation_count

def conversation_count() -> ::Integer
Returns
  • (::Integer) — The total number of conversations.

#conversation_count=

def conversation_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The total number of conversations.
Returns
  • (::Integer) — The total number of conversations.

#conversation_count_time_series

def conversation_count_time_series() -> ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries
Returns

#conversation_count_time_series=

def conversation_count_time_series=(value) -> ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries
Parameter
Returns

#custom_highlighter_matches

def custom_highlighter_matches() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

#custom_highlighter_matches=

def custom_highlighter_matches=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
Returns
  • (::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

def issue_matches() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — 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.

#issue_matches=

def issue_matches=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — 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.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — 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.

#issue_matches_stats

def issue_matches_stats() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}
Returns
  • (::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. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

#issue_matches_stats=

def issue_matches_stats=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats::IssueStats}
Parameter
  • value (::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. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>
Returns
  • (::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. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

#smart_highlighter_matches

def smart_highlighter_matches() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

#smart_highlighter_matches=

def smart_highlighter_matches=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — A map associating each smart highlighter display name with its respective number of matches in the set of conversations.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — A map associating each smart highlighter display name with its respective number of matches in the set of conversations.