public sealed class Conversation : IMessage<Conversation>, IEquatable<Conversation>, IDeepCloneable<Conversation>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Conversation.
A conversation represents an interaction between an end user and the CES app.
Implements
IMessageConversation, IEquatableConversation, IDeepCloneableConversation, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
Conversation()
public Conversation()Conversation(Conversation)
public Conversation(Conversation other)| Parameter | |
|---|---|
| Name | Description |
other |
Conversation |
Properties
AppVersion
public string AppVersion { get; set; }Output only. The version of the app used for processing the conversation.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
| Property Value | |
|---|---|
| Type | Description |
string |
|
AppVersionAsAppVersionName
public AppVersionName AppVersionAsAppVersionName { get; set; }AppVersionName-typed view over the AppVersion resource name property.
| Property Value | |
|---|---|
| Type | Description |
AppVersionName |
|
ChannelType
[Obsolete]
public Conversation.Types.ChannelType ChannelType { get; set; }DEPRECATED. Please use [input_types][google.cloud.ces.v1.Conversation.input_types] instead.
| Property Value | |
|---|---|
| Type | Description |
ConversationTypesChannelType |
|
ConversationName
public ConversationName ConversationName { get; set; }ConversationName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ConversationName |
|
Deployment
public string Deployment { get; set; }Output only. The deployment of the app used for processing the
conversation. Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
| Property Value | |
|---|---|
| Type | Description |
string |
|
DeploymentAsDeploymentName
public DeploymentName DeploymentAsDeploymentName { get; set; }DeploymentName-typed view over the Deployment resource name property.
| Property Value | |
|---|---|
| Type | Description |
DeploymentName |
|
EndTime
public Timestamp EndTime { get; set; }Output only. Timestamp when the conversation was completed.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
EntryAgent
public string EntryAgent { get; set; }Output only. The agent that initially handles the conversation. If not
specified, the conversation is handled by the root agent. Format:
projects/{project}/locations/{location}/apps/{app}/agents/{agent}
| Property Value | |
|---|---|
| Type | Description |
string |
|
EntryAgentAsAgentName
public AgentName EntryAgentAsAgentName { get; set; }AgentName-typed view over the EntryAgent resource name property.
| Property Value | |
|---|---|
| Type | Description |
AgentName |
|
InputTypes
public RepeatedField<Conversation.Types.InputType> InputTypes { get; }Output only. The input types of the conversation.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldConversationTypesInputType |
|
LanguageCode
public string LanguageCode { get; set; }Output only. The language code of the conversation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Messages
[Obsolete]
public RepeatedField<Message> Messages { get; }Deprecated. Use turns instead.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldMessage |
|
Name
public string Name { get; set; }Identifier. The unique identifier of the conversation.
Format:
projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Source
public Conversation.Types.Source Source { get; set; }Output only. Indicate the source of the conversation.
| Property Value | |
|---|---|
| Type | Description |
ConversationTypesSource |
|
StartTime
public Timestamp StartTime { get; set; }Output only. Timestamp when the conversation was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
TurnCount
public int TurnCount { get; set; }Output only. The number of turns in the conversation.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Turns
public RepeatedField<Conversation.Types.Turn> Turns { get; }Required. The turns in the conversation.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldConversationTypesTurn |
|