com.pulumi.gcp.bigquery.kotlin.outputs.TableExternalDataConfigurationGoogleSheetsOptions.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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 TableExternalDataConfigurationGoogleSheetsOptions(
public val range: String? = null,
public val skipLeadingRows: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.TableExternalDataConfigurationGoogleSheetsOptions): TableExternalDataConfigurationGoogleSheetsOptions =
TableExternalDataConfigurationGoogleSheetsOptions(
range = javaType.range().map({ args0 -> args0 }).orElse(null),
skipLeadingRows = javaType.skipLeadingRows().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy