Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse.
The response for querying metrics.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#location
def location() -> ::String
Returns
- (::String) — Required. The location of the data. "projects/{project}/locations/{location}"
#location=
def location=(value) -> ::String
Parameter
- value (::String) — Required. The location of the data. "projects/{project}/locations/{location}"
Returns
- (::String) — Required. The location of the data. "projects/{project}/locations/{location}"
#macro_average_slice
def macro_average_slice() -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice
Returns
- (::Google::Cloud::ContactCenterInsights::V1::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.
#macro_average_slice=
def macro_average_slice=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::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.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::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.
#slices
def slices() -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice>
Returns
- (::Array<::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.
#slices=
def slices=(value) -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice>
Parameter
- value (::Array<::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.
Returns
- (::Array<::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.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The metrics last update time.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The metrics last update time.
Returns
- (::Google::Protobuf::Timestamp) — The metrics last update time.