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

com.pulumi.gcp.recaptcha.kotlin.inputs.EnterpriseKeyTestingOptionsArgs.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.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.recaptcha.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property testingChallenge For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
 * @property testingScore All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
 */
public data class EnterpriseKeyTestingOptionsArgs(
    public val testingChallenge: Output? = null,
    public val testingScore: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs =
        com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs.builder()
            .testingChallenge(testingChallenge?.applyValue({ args0 -> args0 }))
            .testingScore(testingScore?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnterpriseKeyTestingOptionsArgs].
 */
@PulumiTagMarker
public class EnterpriseKeyTestingOptionsArgsBuilder internal constructor() {
    private var testingChallenge: Output? = null

    private var testingScore: Output? = null

    /**
     * @param value For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
     */
    @JvmName("fhxcplulhxpfihof")
    public suspend fun testingChallenge(`value`: Output) {
        this.testingChallenge = value
    }

    /**
     * @param value All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
     */
    @JvmName("sppkibecfvcgaqfp")
    public suspend fun testingScore(`value`: Output) {
        this.testingScore = value
    }

    /**
     * @param value For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
     */
    @JvmName("eyjhylpwvyffvwro")
    public suspend fun testingChallenge(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.testingChallenge = mapped
    }

    /**
     * @param value All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
     */
    @JvmName("akmnnkfchnbncxsh")
    public suspend fun testingScore(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.testingScore = mapped
    }

    internal fun build(): EnterpriseKeyTestingOptionsArgs = EnterpriseKeyTestingOptionsArgs(
        testingChallenge = testingChallenge,
        testingScore = testingScore,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy