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

com.pulumi.gcp.bigquery.kotlin.inputs.JobQueryScriptOptionsArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.JobQueryScriptOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property keyResultStatement Determines which statement in the script represents the "key result",
 * used to populate the schema and query results of the script job.
 * Possible values are: `LAST`, `FIRST_SELECT`.
 * @property statementByteBudget Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
 * @property statementTimeoutMs Timeout period for each statement in a script.
 */
public data class JobQueryScriptOptionsArgs(
    public val keyResultStatement: Output? = null,
    public val statementByteBudget: Output? = null,
    public val statementTimeoutMs: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.JobQueryScriptOptionsArgs =
        com.pulumi.gcp.bigquery.inputs.JobQueryScriptOptionsArgs.builder()
            .keyResultStatement(keyResultStatement?.applyValue({ args0 -> args0 }))
            .statementByteBudget(statementByteBudget?.applyValue({ args0 -> args0 }))
            .statementTimeoutMs(statementTimeoutMs?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobQueryScriptOptionsArgs].
 */
@PulumiTagMarker
public class JobQueryScriptOptionsArgsBuilder internal constructor() {
    private var keyResultStatement: Output? = null

    private var statementByteBudget: Output? = null

    private var statementTimeoutMs: Output? = null

    /**
     * @param value Determines which statement in the script represents the "key result",
     * used to populate the schema and query results of the script job.
     * Possible values are: `LAST`, `FIRST_SELECT`.
     */
    @JvmName("vyrqhmvefpgpqclb")
    public suspend fun keyResultStatement(`value`: Output) {
        this.keyResultStatement = value
    }

    /**
     * @param value Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
     */
    @JvmName("xuirqwyvwpensxji")
    public suspend fun statementByteBudget(`value`: Output) {
        this.statementByteBudget = value
    }

    /**
     * @param value Timeout period for each statement in a script.
     */
    @JvmName("ylttcvlwvkjjudsm")
    public suspend fun statementTimeoutMs(`value`: Output) {
        this.statementTimeoutMs = value
    }

    /**
     * @param value Determines which statement in the script represents the "key result",
     * used to populate the schema and query results of the script job.
     * Possible values are: `LAST`, `FIRST_SELECT`.
     */
    @JvmName("jcdwudyucqppnnbu")
    public suspend fun keyResultStatement(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyResultStatement = mapped
    }

    /**
     * @param value Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
     */
    @JvmName("pvnjexckkxjdggsi")
    public suspend fun statementByteBudget(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.statementByteBudget = mapped
    }

    /**
     * @param value Timeout period for each statement in a script.
     */
    @JvmName("pgnwvggsiidvjslf")
    public suspend fun statementTimeoutMs(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.statementTimeoutMs = mapped
    }

    internal fun build(): JobQueryScriptOptionsArgs = JobQueryScriptOptionsArgs(
        keyResultStatement = keyResultStatement,
        statementByteBudget = statementByteBudget,
        statementTimeoutMs = statementTimeoutMs,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy