Contact Center AI Insights v1 API - Class Conversation (2.5.0)

public sealed class Conversation : IMessage<Conversation>, IEquatable<Conversation>, IDeepCloneable<Conversation>, IBufferMessage, IMessage

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

The conversation resource.

Inheritance

object > Conversation

Namespace

GoogleCloudGoogle.Cloud.ContactCenterInsightsV1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

Conversation()

public Conversation()

Conversation(Conversation)

public Conversation(Conversation other)
Parameter
NameDescription
otherConversation

Properties

AgentId

public string AgentId { get; set; }

An opaque, user-specified string representing the human agent who handled the conversation.

Property Value
TypeDescription
string

CallMetadata

public Conversation.Types.CallMetadata CallMetadata { get; set; }

Call-specific metadata.

Property Value
TypeDescription
ConversationTypesCallMetadata

ConversationName

public ConversationName ConversationName { get; set; }

ConversationName-typed view over the Name resource name property.

Property Value
TypeDescription
ConversationName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the conversation was created.

Property Value
TypeDescription
Timestamp

DataSource

public ConversationDataSource DataSource { get; set; }

The source of the audio and transcription for the conversation.

Property Value
TypeDescription
ConversationDataSource

DialogflowIntents

public MapField<string, DialogflowIntent> DialogflowIntents { get; }

Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}

Property Value
TypeDescription
MapFieldstringDialogflowIntent

Duration

public Duration Duration { get; set; }

Output only. The duration of the conversation.

Property Value
TypeDescription
Duration

ExpirationCase

public Conversation.ExpirationOneofCase ExpirationCase { get; }
Property Value
TypeDescription
ConversationExpirationOneofCase

ExpireTime

public Timestamp ExpireTime { get; set; }

The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.

Property Value
TypeDescription
Timestamp

Labels

public MapField<string, string> Labels { get; }

A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.

Property Value
TypeDescription
MapFieldstringstring

LanguageCode

public string LanguageCode { get; set; }

A user-specified language code for the conversation.

Property Value
TypeDescription
string

LatestAnalysis

public Analysis LatestAnalysis { get; set; }

Output only. The conversation's latest analysis, if one exists.

Property Value
TypeDescription
Analysis

Medium

public Conversation.Types.Medium Medium { get; set; }

Immutable. The conversation medium, if unspecified will default to PHONE_CALL.

Property Value
TypeDescription
ConversationTypesMedium

MetadataCase

public Conversation.MetadataOneofCase MetadataCase { get; }
Property Value
TypeDescription
ConversationMetadataOneofCase

Name

public string Name { get; set; }

Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}

Property Value
TypeDescription
string

ObfuscatedUserId

public string ObfuscatedUserId { get; set; }

Obfuscated user ID which the customer sent to us.

Property Value
TypeDescription
string

RuntimeAnnotations

public RepeatedField<RuntimeAnnotation> RuntimeAnnotations { get; }

Output only. The annotations that were generated during the customer and agent interaction.

Property Value
TypeDescription
RepeatedFieldRuntimeAnnotation

StartTime

public Timestamp StartTime { get; set; }

The time at which the conversation started.

Property Value
TypeDescription
Timestamp

Transcript

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

Output only. The conversation transcript.

Property Value
TypeDescription
ConversationTypesTranscript

Ttl

public Duration Ttl { get; set; }

Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.

Property Value
TypeDescription
Duration

TurnCount

public int TurnCount { get; set; }

Output only. The number of turns in the conversation.

Property Value
TypeDescription
int

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The most recent time at which the conversation was updated.

Property Value
TypeDescription
Timestamp