com.pulumi.gcp.recaptcha.kotlin.inputs.EnterpriseKeyWebSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.EnterpriseKeyWebSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowAllDomains If set to true, it means allowed_domains will not be enforced.
* @property allowAmpTraffic If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
* @property allowedDomains Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
* @property challengeSecurityPreference Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
* @property integrationType Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
*/
public data class EnterpriseKeyWebSettingsArgs(
public val allowAllDomains: Output? = null,
public val allowAmpTraffic: Output? = null,
public val allowedDomains: Output>? = null,
public val challengeSecurityPreference: Output? = null,
public val integrationType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs =
com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs.builder()
.allowAllDomains(allowAllDomains?.applyValue({ args0 -> args0 }))
.allowAmpTraffic(allowAmpTraffic?.applyValue({ args0 -> args0 }))
.allowedDomains(allowedDomains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.challengeSecurityPreference(challengeSecurityPreference?.applyValue({ args0 -> args0 }))
.integrationType(integrationType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnterpriseKeyWebSettingsArgs].
*/
@PulumiTagMarker
public class EnterpriseKeyWebSettingsArgsBuilder internal constructor() {
private var allowAllDomains: Output? = null
private var allowAmpTraffic: Output? = null
private var allowedDomains: Output>? = null
private var challengeSecurityPreference: Output? = null
private var integrationType: Output? = null
/**
* @param value If set to true, it means allowed_domains will not be enforced.
*/
@JvmName("vctqtcyrjukdgqgh")
public suspend fun allowAllDomains(`value`: Output) {
this.allowAllDomains = value
}
/**
* @param value If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
*/
@JvmName("trgyrlregjmmmqpo")
public suspend fun allowAmpTraffic(`value`: Output) {
this.allowAmpTraffic = value
}
/**
* @param value Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
*/
@JvmName("ubjtitemeotysrfk")
public suspend fun allowedDomains(`value`: Output>) {
this.allowedDomains = value
}
@JvmName("ogiwyjueosnnogvf")
public suspend fun allowedDomains(vararg values: Output) {
this.allowedDomains = Output.all(values.asList())
}
/**
* @param values Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
*/
@JvmName("lsfnegmqdmxnmrhb")
public suspend fun allowedDomains(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy