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

com.pulumi.googlenative.dialogflow.v2beta1.kotlin.outputs.GetEnvironmentResult.kt Maven / Gradle / Ivy

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property agentVersion Optional. The agent version loaded into this environment. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`
 * @property description Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.
 * @property fulfillment Optional. The fulfillment settings to use for this environment.
 * @property name The unique identifier of this agent environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`
 * @property state The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
 * @property textToSpeechSettings Optional. Text to speech settings for this environment.
 * @property updateTime The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
 */
public data class GetEnvironmentResult(
    public val agentVersion: String,
    public val description: String,
    public val fulfillment: GoogleCloudDialogflowV2beta1FulfillmentResponse,
    public val name: String,
    public val state: String,
    public val textToSpeechSettings: GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v2beta1.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
            agentVersion = javaType.agentVersion(),
            description = javaType.description(),
            fulfillment = javaType.fulfillment().let({ args0 ->
                com.pulumi.googlenative.dialogflow.v2beta1.kotlin.outputs.GoogleCloudDialogflowV2beta1FulfillmentResponse.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
            state = javaType.state(),
            textToSpeechSettings = javaType.textToSpeechSettings().let({ args0 ->
                com.pulumi.googlenative.dialogflow.v2beta1.kotlin.outputs.GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse.Companion.toKotlin(args0)
            }),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy