com.pulumi.gcp.bigquery.kotlin.outputs.TableMaterializedView.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.bigquery.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property allowNonIncrementalDefinition Allow non incremental materialized view definition.
* The default value is false.
* @property enableRefresh Specifies whether to use BigQuery's automatic refresh for this materialized view when the base table is updated.
* The default value is true.
* @property query A query whose result is persisted.
* @property refreshIntervalMs The maximum frequency at which this materialized view will be refreshed.
* The default value is 1800000
*/
public data class TableMaterializedView(
public val allowNonIncrementalDefinition: Boolean? = null,
public val enableRefresh: Boolean? = null,
public val query: String,
public val refreshIntervalMs: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.TableMaterializedView): TableMaterializedView = TableMaterializedView(
allowNonIncrementalDefinition = javaType.allowNonIncrementalDefinition().map({ args0 ->
args0
}).orElse(null),
enableRefresh = javaType.enableRefresh().map({ args0 -> args0 }).orElse(null),
query = javaType.query(),
refreshIntervalMs = javaType.refreshIntervalMs().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy