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

com.pulumi.gcp.bigquery.kotlin.outputs.TableExternalDataConfigurationGoogleSheetsOptions.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.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