All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.firebaserules.kotlin.outputs.RulesetSource.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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