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

com.pulumi.googlenative.dialogflow.v3.kotlin.enums.ExperimentState.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dialogflow.v3.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.
 */
public enum class ExperimentState(
    public val javaValue: com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState,
) : ConvertibleToJava {
    /**
     * State unspecified.
     */
    StateUnspecified(com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState.StateUnspecified),

    /**
     * The experiment is created but not started yet.
     */
    Draft(com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState.Draft),

    /**
     * The experiment is running.
     */
    Running(com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState.Running),

    /**
     * The experiment is done.
     */
    Done(com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState.Done),

    /**
     * The experiment with auto-rollout enabled has failed.
     */
    RolloutFailed(com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState.RolloutFailed),
    ;

    override fun toJava(): com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3.enums.ExperimentState): ExperimentState = ExperimentState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy