com.pulumi.gcp.logging.kotlin.inputs.FolderSinkBigqueryOptionsArgs.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.logging.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.logging.inputs.FolderSinkBigqueryOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property usePartitionedTables Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables).
* By default, Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned
* tables, the date suffix is no longer present and [special query syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
* has to be used instead. In both cases, tables are sharded based on UTC timezone.
*/
public data class FolderSinkBigqueryOptionsArgs(
public val usePartitionedTables: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.logging.inputs.FolderSinkBigqueryOptionsArgs =
com.pulumi.gcp.logging.inputs.FolderSinkBigqueryOptionsArgs.builder()
.usePartitionedTables(usePartitionedTables.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FolderSinkBigqueryOptionsArgs].
*/
@PulumiTagMarker
public class FolderSinkBigqueryOptionsArgsBuilder internal constructor() {
private var usePartitionedTables: Output? = null
/**
* @param value Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables).
* By default, Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned
* tables, the date suffix is no longer present and [special query syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
* has to be used instead. In both cases, tables are sharded based on UTC timezone.
*/
@JvmName("vfiymhuswmibrbsj")
public suspend fun usePartitionedTables(`value`: Output) {
this.usePartitionedTables = value
}
/**
* @param value Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables).
* By default, Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned
* tables, the date suffix is no longer present and [special query syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
* has to be used instead. In both cases, tables are sharded based on UTC timezone.
*/
@JvmName("jlnbkwymnixhewbv")
public suspend fun usePartitionedTables(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.usePartitionedTables = mapped
}
internal fun build(): FolderSinkBigqueryOptionsArgs = FolderSinkBigqueryOptionsArgs(
usePartitionedTables = usePartitionedTables ?: throw
PulumiNullFieldException("usePartitionedTables"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy