com.pulumi.gcp.logging.kotlin.inputs.BillingAccountSinkBigqueryOptionsArgs.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.BillingAccountSinkBigqueryOptionsArgs.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 BillingAccountSinkBigqueryOptionsArgs(
public val usePartitionedTables: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.logging.inputs.BillingAccountSinkBigqueryOptionsArgs =
com.pulumi.gcp.logging.inputs.BillingAccountSinkBigqueryOptionsArgs.builder()
.usePartitionedTables(usePartitionedTables.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BillingAccountSinkBigqueryOptionsArgs].
*/
@PulumiTagMarker
public class BillingAccountSinkBigqueryOptionsArgsBuilder 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("odnxmrryyfhssgmt")
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("drlryaatalgvgemk")
public suspend fun usePartitionedTables(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.usePartitionedTables = mapped
}
internal fun build(): BillingAccountSinkBigqueryOptionsArgs =
BillingAccountSinkBigqueryOptionsArgs(
usePartitionedTables = usePartitionedTables ?: throw
PulumiNullFieldException("usePartitionedTables"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy