
com.pulumi.googlenative.websecurityscanner.v1.kotlin.inputs.IapTestServiceAccountInfoArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.websecurityscanner.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.websecurityscanner.v1.inputs.IapTestServiceAccountInfoArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
* @property targetAudienceClientId Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
*/
public data class IapTestServiceAccountInfoArgs(
public val targetAudienceClientId: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.websecurityscanner.v1.inputs.IapTestServiceAccountInfoArgs =
com.pulumi.googlenative.websecurityscanner.v1.inputs.IapTestServiceAccountInfoArgs.builder()
.targetAudienceClientId(targetAudienceClientId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IapTestServiceAccountInfoArgs].
*/
@PulumiTagMarker
public class IapTestServiceAccountInfoArgsBuilder internal constructor() {
private var targetAudienceClientId: Output? = null
/**
* @param value Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
*/
@JvmName("xxiramugrxmwqtiu")
public suspend fun targetAudienceClientId(`value`: Output) {
this.targetAudienceClientId = value
}
/**
* @param value Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
*/
@JvmName("fxtbpetcvebpmqok")
public suspend fun targetAudienceClientId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.targetAudienceClientId = mapped
}
internal fun build(): IapTestServiceAccountInfoArgs = IapTestServiceAccountInfoArgs(
targetAudienceClientId = targetAudienceClientId ?: throw
PulumiNullFieldException("targetAudienceClientId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy