Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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

Date range configuration for dashboard charts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DateRangeConfig

Returns a new instance of GoogleCloudContactcenterinsightsV1DateRangeConfig.



3109
3110
3111
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3109

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

Instance Attribute Details

#absolute_date_rangeGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryInterval

A time window for querying conversations. Corresponds to the JSON property absoluteDateRange



3102
3103
3104
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3102

def absolute_date_range
  @absolute_date_range
end

#relative_date_rangeGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange

Relative date range configuration. Corresponds to the JSON property relativeDateRange



3107
3108
3109
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3107

def relative_date_range
  @relative_date_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3114
3115
3116
3117
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3114

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