public sealed class Conversation : IMessage<Conversation>, IEquatable<Conversation>, IDeepCloneable<Conversation>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class Conversation.
Message for a conversation.
Implements
IMessageConversation, IEquatableConversation, IDeepCloneableConversation, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
Conversation()
public Conversation()Conversation(Conversation)
public Conversation(Conversation other)| Parameter | |
|---|---|
| Name | Description |
other |
Conversation |
Properties
Agents
public RepeatedField<string> Agents { get; }Required. Agent(s) in the conversation.
Currently, only one agent is supported. This field is repeated to allow
for future support of multiple agents in a conversation.
Format: projects/{project}/locations/{location}/dataAgents/{agent}
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
ConversationName
public ConversationName ConversationName { get; set; }ConversationName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ConversationName |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Creation timestamp.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Labels
public MapField<string, string> Labels { get; }Optional. Open-ended and user-defined labels that can be set by the client to tag a conversation (e.g. to filter conversations for specific surfaces/products).
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
LastUsedTime
public Timestamp LastUsedTime { get; set; }Output only. Timestamp of the last used conversation.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Name
public string Name { get; set; }Optional. Identifier. The unique resource name of a conversation. Format:
projects/{project}/locations/{location}/conversations/{conversation_id}
{conversation_id} is the resource id and should be 63 characters or less
and must match the format described in
https://google.aip.dev/122#resource-id-segments
Example:
projects/1234567890/locations/us-central1/conversations/my-conversation.
It is recommended to skip setting this field during conversation creation as it will be inferred automatically and overwritten with the {parent}/conversations/{conversation_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|