Class Conversation.Types.Transcript.Types.TranscriptSegment

public sealed class TranscriptSegment : IMessage<Conversation.Types.Transcript.Types.TranscriptSegment>, IEquatable<Conversation.Types.Transcript.Types.TranscriptSegment>, IDeepCloneable<Conversation.Types.Transcript.Types.TranscriptSegment>, IBufferMessage, IMessage

A segment of a full transcript.

Inheritance

Object > Conversation.Types.Transcript.Types.TranscriptSegment

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

TranscriptSegment()

public TranscriptSegment()

TranscriptSegment(Conversation.Types.Transcript.Types.TranscriptSegment)

public TranscriptSegment(Conversation.Types.Transcript.Types.TranscriptSegment other)
Parameter
NameDescription
otherConversation.Types.Transcript.Types.TranscriptSegment

Properties

ChannelTag

public int ChannelTag { get; set; }

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.

Property Value
TypeDescription
Int32

Confidence

public float Confidence { get; set; }

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.

Property Value
TypeDescription
Single

DialogflowSegmentMetadata

public Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata DialogflowSegmentMetadata { get; set; }

CCAI metadata relating to the current transcript segment.

Property Value
TypeDescription
Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata

LanguageCode

public string LanguageCode { get; set; }

The language code of this segment as a BCP-47 language tag. Example: "en-US".

Property Value
TypeDescription
String

MessageTime

public Timestamp MessageTime { get; set; }

The time that the message occurred, if provided.

Property Value
TypeDescription
Timestamp

SegmentParticipant

public ConversationParticipant SegmentParticipant { get; set; }

The participant of this segment.

Property Value
TypeDescription
ConversationParticipant

Sentiment

public SentimentData Sentiment { get; set; }

The sentiment for this transcript segment.

Property Value
TypeDescription
SentimentData

Text

public string Text { get; set; }

The text of this segment.

Property Value
TypeDescription
String

Words

public RepeatedField<Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo> Words { get; }

A list of the word-specific information for each word in the segment.

Property Value
TypeDescription
RepeatedField<Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo>