Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConversationLevelSilence
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConversationLevelSilence
- 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
Conversation-level silence data.
Instance Attribute Summary collapse
-
#silence_duration ⇒ String
Amount of time calculated to be in silence.
-
#silence_percentage ⇒ Float
Percentage of the total conversation spent in silence.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainConversationLevelSilence
constructor
A new instance of GoogleCloudContactcenterinsightsV1mainConversationLevelSilence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1mainConversationLevelSilence
Returns a new instance of GoogleCloudContactcenterinsightsV1mainConversationLevelSilence.
17952 17953 17954 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#silence_duration ⇒ String
Amount of time calculated to be in silence.
Corresponds to the JSON property silenceDuration
17945 17946 17947 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17945 def silence_duration @silence_duration end |
#silence_percentage ⇒ Float
Percentage of the total conversation spent in silence.
Corresponds to the JSON property silencePercentage
17950 17951 17952 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17950 def silence_percentage @silence_percentage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17957 17958 17959 17960 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 17957 def update!(**args) @silence_duration = args[:silence_duration] if args.key?(:silence_duration) @silence_percentage = args[:silence_percentage] if args.key?(:silence_percentage) end |