Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice (v1.2.0)

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

A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.

For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices:

  • Slice 1 -> dimensions=[Issue 1]
  • Slice 2 -> dimensions=[Issue 2]

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dimensions

def dimensions() -> ::Array<::Google::Cloud::ContactCenterInsights::V1::Dimension>
Returns

#dimensions=

def dimensions=(value) -> ::Array<::Google::Cloud::ContactCenterInsights::V1::Dimension>
Parameter
Returns

#time_series

def time_series() -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::TimeSeries
Returns

#time_series=

def time_series=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::TimeSeries
Parameter
Returns

#total

def total() -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint
Returns

#total=

def total=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint
Parameter
Returns