Class QueryMetricsResponse (1.23.0)

QueryMetricsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
location str
Required. The location of the data. "projects/{project}/locations/{location}".
update_time google.protobuf.timestamp_pb2.Timestamp
The metrics last update time.
slices MutableSequence[google.cloud.contact_center_insights_v1.types.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.
macro_average_slice google.cloud.contact_center_insights_v1.types.QueryMetricsResponse.Slice
The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension. This field is a member of oneof_ _macro_average_slice.

Classes

Slice

Slice(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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]