Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryInterval
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryInterval
- 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
-
#end_time ⇒ String
Required.
-
#start_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QueryInterval
constructor
A new instance of GoogleCloudContactcenterinsightsV1QueryInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QueryInterval
Returns a new instance of GoogleCloudContactcenterinsightsV1QueryInterval.
7432 7433 7434 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Required. The end time of the time window.
Corresponds to the JSON property endTime
7425 7426 7427 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7425 def end_time @end_time end |
#start_time ⇒ String
Required. The start time of the time window.
Corresponds to the JSON property startTime
7430 7431 7432 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7430 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7437 7438 7439 7440 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7437 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end |