class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment
A segment of a full transcript.
Attributes
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. Corresponds to the JSON property `channelTag` @return [Fixnum]
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. Corresponds to the JSON property `confidence` @return [Float]
The language code of this segment as a [BCP-47](www.rfc-editor.org/rfc/ bcp/bcp47.txt) language tag. Example: “en-US”. Corresponds to the JSON property `languageCode` @return [String]
The call participant speaking for a given utterance. Corresponds to the JSON property `segmentParticipant` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant]
The text of this segment. Corresponds to the JSON property `text` @return [String]
A list of the word-specific information for each word in the segment. Corresponds to the JSON property `words` @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo>]
Public Class Methods
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 763 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 768 def update!(**args) @channel_tag = args[:channel_tag] if args.key?(:channel_tag) @confidence = args[:confidence] if args.key?(:confidence) @language_code = args[:language_code] if args.key?(:language_code) @segment_participant = args[:segment_participant] if args.key?(:segment_participant) @text = args[:text] if args.key?(:text) @words = args[:words] if args.key?(:words) end