com.pulumi.gcp.firebaserules.kotlin.outputs.RulesetSource.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 RulesetSource(
public val files: List,
public val language: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.firebaserules.outputs.RulesetSource): RulesetSource = RulesetSource(
files = javaType.files().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.firebaserules.kotlin.outputs.RulesetSourceFile.Companion.toKotlin(args0)
})
}),
language = javaType.language().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy