Class: Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
Overview
A segment of a full transcript.
Defined Under Namespace
Classes: DialogflowSegmentMetadata, WordInfo
Instance Attribute Summary collapse
-
#channel_tag ⇒ ::Integer
For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel.
-
#confidence ⇒ ::Float
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment.
-
#dialogflow_segment_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata
CCAI metadata relating to the current transcript segment.
-
#language_code ⇒ ::String
The language code of this segment as a BCP-47 language tag.
-
#message_time ⇒ ::Google::Protobuf::Timestamp
The time that the message occurred, if provided.
-
#segment_participant ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant
The participant of this segment.
-
#sentiment ⇒ ::Google::Cloud::ContactCenterInsights::V1::SentimentData
The sentiment for this transcript segment.
-
#text ⇒ ::String
The text of this segment.
-
#words ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>
A list of the word-specific information for each word in the segment.
Instance Attribute Details
#channel_tag ⇒ ::Integer
Returns For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#confidence ⇒ ::Float
Returns A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#dialogflow_segment_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata
Returns CCAI metadata relating to the current transcript segment.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#language_code ⇒ ::String
Returns The language code of this segment as a BCP-47 language tag. Example: "en-US".
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#message_time ⇒ ::Google::Protobuf::Timestamp
Returns The time that the message occurred, if provided.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#segment_participant ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant
Returns The participant of this segment.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#sentiment ⇒ ::Google::Cloud::ContactCenterInsights::V1::SentimentData
Returns The sentiment for this transcript segment.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#text ⇒ ::String
Returns The text of this segment.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#words ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>
Returns A list of the word-specific information for each word in the segment.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 198 class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |