com.pulumi.gcp.bigquery.kotlin.inputs.TableExternalDataConfigurationGoogleSheetsOptionsArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationGoogleSheetsOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property range Range of a sheet to query from. Only used when
* non-empty. At least one of `range` or `skip_leading_rows` must be set.
* Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id"
* For example: "sheet1!A1:B20"
* @property skipLeadingRows The number of rows at the top of the sheet
* that BigQuery will skip when reading the data. At least one of `range` or
* `skip_leading_rows` must be set.
*/
public data class TableExternalDataConfigurationGoogleSheetsOptionsArgs(
public val range: Output? = null,
public val skipLeadingRows: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationGoogleSheetsOptionsArgs =
com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationGoogleSheetsOptionsArgs.builder()
.range(range?.applyValue({ args0 -> args0 }))
.skipLeadingRows(skipLeadingRows?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TableExternalDataConfigurationGoogleSheetsOptionsArgs].
*/
@PulumiTagMarker
public class TableExternalDataConfigurationGoogleSheetsOptionsArgsBuilder internal constructor() {
private var range: Output? = null
private var skipLeadingRows: Output? = null
/**
* @param value Range of a sheet to query from. Only used when
* non-empty. At least one of `range` or `skip_leading_rows` must be set.
* Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id"
* For example: "sheet1!A1:B20"
*/
@JvmName("nxhunoywotggcqhh")
public suspend fun range(`value`: Output) {
this.range = value
}
/**
* @param value The number of rows at the top of the sheet
* that BigQuery will skip when reading the data. At least one of `range` or
* `skip_leading_rows` must be set.
*/
@JvmName("appjwtpqopdmccqo")
public suspend fun skipLeadingRows(`value`: Output) {
this.skipLeadingRows = value
}
/**
* @param value Range of a sheet to query from. Only used when
* non-empty. At least one of `range` or `skip_leading_rows` must be set.
* Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id"
* For example: "sheet1!A1:B20"
*/
@JvmName("bpxumptxewksbcmd")
public suspend fun range(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.range = mapped
}
/**
* @param value The number of rows at the top of the sheet
* that BigQuery will skip when reading the data. At least one of `range` or
* `skip_leading_rows` must be set.
*/
@JvmName("bspnehvicijwwwvm")
public suspend fun skipLeadingRows(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.skipLeadingRows = mapped
}
internal fun build(): TableExternalDataConfigurationGoogleSheetsOptionsArgs =
TableExternalDataConfigurationGoogleSheetsOptionsArgs(
range = range,
skipLeadingRows = skipLeadingRows,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy