All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Version variant and associated metrics.
 * @property metrics The metrics and corresponding confidence intervals in the inference result.
 * @property sessionCount Number of sessions that were allocated to this version.
 * @property version The name of the flow Version. Format: `projects//locations//agents//flows//versions/`.
 */
public data class GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse(
    public val metrics: List,
    public val sessionCount: Int,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3beta1.outputs.GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse): GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse =
            GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse(
                metrics = javaType.metrics().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse.Companion.toKotlin(args0)
                    })
                }),
                sessionCount = javaType.sessionCount(),
                version = javaType.version(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy