Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
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]
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Dimension>
A unique combination of dimensions that this slice represents.
-
#time_series ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries
A time series of metric values.
-
#total ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint
A data point contains the metric values mapped to an interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSlice.
9083 9084 9085 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Dimension>
A unique combination of dimensions that this slice represents.
Corresponds to the JSON property dimensions
9071 9072 9073 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9071 def dimensions @dimensions end |
#time_series ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries
A time series of metric values.
Corresponds to the JSON property timeSeries
9076 9077 9078 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9076 def time_series @time_series end |
#total ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint
A data point contains the metric values mapped to an interval.
Corresponds to the JSON property total
9081 9082 9083 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9081 def total @total end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9088 9089 9090 9091 9092 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9088 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @time_series = args[:time_series] if args.key?(:time_series) @total = args[:total] if args.key?(:total) end |