public sealed class Conversation : IMessage<Conversation>, IEquatable<Conversation>, IDeepCloneable<Conversation>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1 API class Conversation.
Message for a conversation.
Implements
IMessageConversation, IEquatableConversation, IDeepCloneableConversation, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1Assembly
Google.Cloud.GeminiDataAnalytics.V1.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 |
|
HasKmsKey
public bool HasKmsKey { get; }Gets whether the "kms_key" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasMemoryPaused
public bool HasMemoryPaused { get; }Gets whether the "memory_paused" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
KmsKey
public string KmsKey { get; set; }Optional. Customer managed encryption key (CMEK) to use for encrypting the Conversation resources. Encryption will happen at Titan layer, we will pass the KMS key to Titan.
Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
KmsKeyAsCryptoKeyName
public CryptoKeyName KmsKeyAsCryptoKeyName { get; set; }CryptoKeyName-typed view over the KmsKey resource name property.
| Property Value | |
|---|---|
| Type | Description |
CryptoKeyName |
|
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 |
|
MemoryPaused
public bool MemoryPaused { get; set; }Optional. Whether memory is paused for this conversation.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
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/global/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 |
|