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

com.pulumi.googlenative.retail.v2beta.kotlin.enums.ModelPeriodicTuningState.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.retail.v2beta.kotlin.enums

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

/**
 * Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.
 */
public enum class ModelPeriodicTuningState(
    public val javaValue: com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState,
) : ConvertibleToJava {
    /**
     * Unspecified default value, should never be explicitly set.
     */
    PeriodicTuningStateUnspecified(com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState.PeriodicTuningStateUnspecified),

    /**
     * The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.
     */
    PeriodicTuningDisabled(com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState.PeriodicTuningDisabled),

    /**
     * The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.
     */
    AllTuningDisabled(com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState.AllTuningDisabled),

    /**
     * The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method.
     */
    PeriodicTuningEnabled(com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState.PeriodicTuningEnabled),
    ;

    override fun toJava(): com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.retail.v2beta.enums.ModelPeriodicTuningState): ModelPeriodicTuningState =
            ModelPeriodicTuningState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy