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

1.10.0 (latest) 1.9.0 1.8.1 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.22.0 0.21.1 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.2 0.7.2 0.6.0 Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint.

A data point contains the metric values mapped to an interval.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #conversation_measure

    def conversation_measure() -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QueryMetricsResponse-Slice-DataPoint-ConversationMeasure)) --- The measure related to conversations.

### #conversation_measure=

    def conversation_measure=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QueryMetricsResponse-Slice-DataPoint-ConversationMeasure)) --- The measure related to conversations.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QueryMetricsResponse::Slice::DataPoint::ConversationMeasure](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QueryMetricsResponse-Slice-DataPoint-ConversationMeasure)) --- The measure related to conversations.

### #interval

    def interval() -> ::Google::Type::Interval

**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Type-Interval)) ---

  The interval that this data point represents.
  - If this is the total data point, the interval is \[starting create time, ending create time) from the request.
  - If this a data point from the time series, the interval is \[time, time + time granularity from the request).

### #interval=

    def interval=(value) -> ::Google::Type::Interval

**Parameter**

- **value** ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Type-Interval)) ---

  The interval that this data point represents.
  - If this is the total data point, the interval is \[starting create time, ending create time) from the request.
  - If this a data point from the time series, the interval is \[time, time + time granularity from the request).
**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Type-Interval)) ---

  The interval that this data point represents.
  - If this is the total data point, the interval is \[starting create time, ending create time) from the request.
  - If this a data point from the time series, the interval is \[time, time + time granularity from the request).