google.cloud.bigquery.external_config.GoogleSheetsOptions#
Methods
|
Factory: construct a |
Build an API representation of this object. |
Attributes
The number of rows at the top of a sheet that BigQuery will skip when reading the data. |
-
class
google.cloud.bigquery.external_config.
GoogleSheetsOptions
[source]# Bases:
object
Options that describe how to treat Google Sheets as BigQuery tables.
-
classmethod
from_api_repr
(resource)[source]# Factory: construct a
GoogleSheetsOptions
instance given its API representation.- Parameters
resource (Dict[str, Any]) – Definition of a
GoogleSheetsOptions
instance in the same representation as is returned from the API.- Returns
Configuration parsed from
resource
.- Return type
-
property
skip_leading_rows
# The number of rows at the top of a sheet that BigQuery will skip when reading the data.
See https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions.(key).googleSheetsOptions.skipLeadingRows https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataConfiguration.googleSheetsOptions.skipLeadingRows
- Type
-
classmethod