Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryInterval

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 time window for querying conversations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QueryInterval

Returns a new instance of GoogleCloudContactcenterinsightsV1QueryInterval.



8527
8528
8529
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8527

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

Instance Attribute Details

#end_timeString

Required. The end time of the time window. Corresponds to the JSON property endTime

Returns:

  • (String)


8520
8521
8522
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8520

def end_time
  @end_time
end

#start_timeString

Required. The start time of the time window. Corresponds to the JSON property startTime

Returns:

  • (String)


8525
8526
8527
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8525

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8532
8533
8534
8535
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8532

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