com.pulumi.googlenative.contactcenterinsights.v1.kotlin.outputs.GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.contactcenterinsights.v1.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Agent Assist Article Suggestion data.
* @property confidenceScore The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
* @property metadata Map that contains metadata about the Article Suggestion and the document that it originates from.
* @property queryRecord The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
* @property source The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
* @property title Article title.
* @property uri Article URI.
*/
public data class GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse(
public val confidenceScore: Double,
public val metadata: Map,
public val queryRecord: String,
public val source: String,
public val title: String,
public val uri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.contactcenterinsights.v1.outputs.GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse): GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse =
GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse(
confidenceScore = javaType.confidenceScore(),
metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
queryRecord = javaType.queryRecord(),
source = javaType.source(),
title = javaType.title(),
uri = javaType.uri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy