Contact Center AI Insights v1 API - Class Conversation.Types.Transcript.Types.TranscriptSegment (2.6.0)

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

Reference documentation and code samples for the Contact Center AI Insights v1 API class Conversation.Types.Transcript.Types.TranscriptSegment.

A segment of a full transcript.

Inheritance

object > Conversation.Types.Transcript.Types.TranscriptSegment

Namespace

GoogleCloudGoogle.Cloud.ContactCenterInsightsV1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

TranscriptSegment()

public TranscriptSegment()

TranscriptSegment(TranscriptSegment)

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

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
int

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
float

DialogflowSegmentMetadata

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

CCAI metadata relating to the current transcript segment.

Property Value
TypeDescription
ConversationTypesTranscriptTypesTranscriptSegmentTypesDialogflowSegmentMetadata

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
RepeatedFieldConversationTypesTranscriptTypesTranscriptSegmentTypesWordInfo