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

com.pulumi.gcp.logging.kotlin.inputs.FolderSinkBigqueryOptionsArgs.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.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