Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval

Returns a new instance of GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval.



2127
2128
2129
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2127

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_countFixnum

The number of conversations created in this interval. Corresponds to the JSON property conversationCount

Returns:

  • (Fixnum)


2120
2121
2122
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2120

def conversation_count
  @conversation_count
end

#start_timeString

The start time of this interval. Corresponds to the JSON property startTime

Returns:

  • (String)


2125
2126
2127
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2125

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2132
2133
2134
2135
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2132

def update!(**args)
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
  @start_time = args[:start_time] if args.key?(:start_time)
end