Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval
- 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 single interval in a time series.
Instance Attribute Summary collapse
-
#conversation_count ⇒ Fixnum
The number of conversations created in this interval.
-
#start_time ⇒ String
The start time of this interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval
constructor
A new instance of GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval
Returns a new instance of GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval.
1121 1122 1123 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_count ⇒ Fixnum
The number of conversations created in this interval.
Corresponds to the JSON property conversationCount
1114 1115 1116 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1114 def conversation_count @conversation_count end |
#start_time ⇒ String
The start time of this interval.
Corresponds to the JSON property startTime
1119 1120 1121 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1119 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1126 1127 1128 1129 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1126 def update!(**args) @conversation_count = args[:conversation_count] if args.key?(:conversation_count) @start_time = args[:start_time] if args.key?(:start_time) end |