com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs.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.integrationconnectors.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs.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
/**
*
* @property secretVersion The resource name of the secret version in the format,
* format as: projects/*/secrets/*/versions/*.
* */*/*/
*/
public data class ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs(
public val secretVersion: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs =
com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs.builder()
.secretVersion(secretVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs].
*/
@PulumiTagMarker
public class ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgsBuilder internal constructor() {
private var secretVersion: Output? = null
/**
* @param value The resource name of the secret version in the format,
* format as: projects/*/secrets/*/versions/*.
* */*/*/
*/
@JvmName("kcllilhomqdqblud")
public suspend fun secretVersion(`value`: Output) {
this.secretVersion = value
}
/**
* @param value The resource name of the secret version in the format,
* format as: projects/*/secrets/*/versions/*.
* */*/*/
*/
@JvmName("jskvddkanoixvtgg")
public suspend fun secretVersion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretVersion = mapped
}
internal fun build(): ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs =
ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs(
secretVersion = secretVersion ?: throw PulumiNullFieldException("secretVersion"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy