Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponse
- 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
The response for querying metrics.
Instance Attribute Summary collapse
-
#location ⇒ String
Required.
-
#macro_average_slice ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice
A slice contains a total and (if the request specified a time granularity) a time series of metric values.
-
#slices ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice>
A slice contains a total and (if the request specified a time granularity) a time series of metric values.
-
#update_time ⇒ String
The metrics last update time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QueryMetricsResponse
constructor
A new instance of GoogleCloudContactcenterinsightsV1QueryMetricsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QueryMetricsResponse
Returns a new instance of GoogleCloudContactcenterinsightsV1QueryMetricsResponse.
4833 4834 4835 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Required. The location of the data. "projects/project
/locations/location
"
Corresponds to the JSON property location
4808 4809 4810 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4808 def location @location end |
#macro_average_slice ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice
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]
Corresponds to the JSON property macroAverageSlice
4819 4820 4821 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4819 def macro_average_slice @macro_average_slice end |
#slices ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice>
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.
Corresponds to the JSON property slices
4826 4827 4828 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4826 def slices @slices end |
#update_time ⇒ String
The metrics last update time.
Corresponds to the JSON property updateTime
4831 4832 4833 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4831 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4838 4839 4840 4841 4842 4843 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4838 def update!(**args) @location = args[:location] if args.key?(:location) @macro_average_slice = args[:macro_average_slice] if args.key?(:macro_average_slice) @slices = args[:slices] if args.key?(:slices) @update_time = args[:update_time] if args.key?(:update_time) end |