com.pulumi.gcp.firebase.kotlin.inputs.GetWebAppConfigPlainArgs.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.firebase.kotlin.inputs
import com.pulumi.gcp.firebase.inputs.GetWebAppConfigPlainArgs.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
/**
* A collection of arguments for invoking getWebAppConfig.
* @property project The ID of the project in which the resource belongs. If it
* is not provided, the provider project is used.
* @property webAppId the id of the firebase web app
* - - -
*/
public data class GetWebAppConfigPlainArgs(
public val project: String? = null,
public val webAppId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firebase.inputs.GetWebAppConfigPlainArgs =
com.pulumi.gcp.firebase.inputs.GetWebAppConfigPlainArgs.builder()
.project(project?.let({ args0 -> args0 }))
.webAppId(webAppId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetWebAppConfigPlainArgs].
*/
@PulumiTagMarker
public class GetWebAppConfigPlainArgsBuilder internal constructor() {
private var project: String? = null
private var webAppId: String? = null
/**
* @param value The ID of the project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
@JvmName("jrkvhijdpshtdyei")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value the id of the firebase web app
* - - -
*/
@JvmName("yqvqjhcjbknsaepo")
public suspend fun webAppId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.webAppId = mapped
}
internal fun build(): GetWebAppConfigPlainArgs = GetWebAppConfigPlainArgs(
project = project,
webAppId = webAppId ?: throw PulumiNullFieldException("webAppId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy