ConversationArgs

data class ConversationArgs(val agentId: Output<String>? = null, val callMetadata: Output<GoogleCloudContactcenterinsightsV1ConversationCallMetadataArgs>? = null, val conversationId: Output<String>? = null, val dataSource: Output<GoogleCloudContactcenterinsightsV1ConversationDataSourceArgs>? = null, val expireTime: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val medium: Output<ConversationMedium>? = null, val name: Output<String>? = null, val obfuscatedUserId: Output<String>? = null, val project: Output<String>? = null, val startTime: Output<String>? = null, val ttl: Output<String>? = null) : ConvertibleToJava<ConversationArgs>

Creates a conversation.

Constructors

Link copied to clipboard
fun ConversationArgs(agentId: Output<String>? = null, callMetadata: Output<GoogleCloudContactcenterinsightsV1ConversationCallMetadataArgs>? = null, conversationId: Output<String>? = null, dataSource: Output<GoogleCloudContactcenterinsightsV1ConversationDataSourceArgs>? = null, expireTime: Output<String>? = null, labels: Output<Map<String, String>>? = null, languageCode: Output<String>? = null, location: Output<String>? = null, medium: Output<ConversationMedium>? = null, name: Output<String>? = null, obfuscatedUserId: Output<String>? = null, project: Output<String>? = null, startTime: Output<String>? = null, ttl: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ConversationArgs

Properties

Link copied to clipboard
val agentId: Output<String>? = null

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

Link copied to clipboard
Link copied to clipboard
val conversationId: Output<String>? = null

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-

Link copied to clipboard

The source of the audio and transcription for the conversation.

Link copied to clipboard
val expireTime: Output<String>? = null

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

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val languageCode: Output<String>? = null

A user-specified language code for the conversation.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val medium: Output<ConversationMedium>? = null

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

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val obfuscatedUserId: Output<String>? = null

Obfuscated user ID which the customer sent to us.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val startTime: Output<String>? = null

The time at which the conversation started.

Link copied to clipboard
val ttl: Output<String>? = null

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