com.pulumi.gcp.recaptcha.kotlin.outputs.EnterpriseKeyWebSettings.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 EnterpriseKeyWebSettings(
public val allowAllDomains: Boolean? = null,
public val allowAmpTraffic: Boolean? = null,
public val allowedDomains: List? = null,
public val challengeSecurityPreference: String? = null,
public val integrationType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.recaptcha.outputs.EnterpriseKeyWebSettings): EnterpriseKeyWebSettings = EnterpriseKeyWebSettings(
allowAllDomains = javaType.allowAllDomains().map({ args0 -> args0 }).orElse(null),
allowAmpTraffic = javaType.allowAmpTraffic().map({ args0 -> args0 }).orElse(null),
allowedDomains = javaType.allowedDomains().map({ args0 -> args0 }),
challengeSecurityPreference = javaType.challengeSecurityPreference().map({ args0 ->
args0
}).orElse(null),
integrationType = javaType.integrationType(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy