![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.firebaserules.kotlin.inputs.RulesetSourceArgs.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.firebaserules.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.firebaserules.inputs.RulesetSourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property files `File` set constituting the `Source` bundle.
* @property language `Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
*/
public data class RulesetSourceArgs(
public val files: Output>,
public val language: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firebaserules.inputs.RulesetSourceArgs =
com.pulumi.gcp.firebaserules.inputs.RulesetSourceArgs.builder()
.files(files.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.language(language?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RulesetSourceArgs].
*/
@PulumiTagMarker
public class RulesetSourceArgsBuilder internal constructor() {
private var files: Output>? = null
private var language: Output? = null
/**
* @param value `File` set constituting the `Source` bundle.
*/
@JvmName("lmaqhycynfnwglpw")
public suspend fun files(`value`: Output>) {
this.files = value
}
@JvmName("hapglwsdeihlbtnj")
public suspend fun files(vararg values: Output) {
this.files = Output.all(values.asList())
}
/**
* @param values `File` set constituting the `Source` bundle.
*/
@JvmName("ufhhbugulhvdonnt")
public suspend fun files(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy