Google
Google »

GoogleSheetsCreateSpreadsheetOperator

View on GitHub

Created by

Airflow Community

Last Updated

Version

18.0.0

Creates a new spreadsheet.

Parameters

spreadsheet

dict[str, Any]REQUIRED

an instance of Spreadsheet https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets#Spreadsheet

gcp_conn_id

str

The connection ID to use when fetching connection info.

impersonation_chain

str | Sequence[str] | None

Optional service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).

api_endpoint

str | None

Optional. Custom API endpoint, e.g: private.googleapis.com. This can be used to target private VPC or restricted access endpoints.

Documentation

Creates a new spreadsheet.

See also

For more information on how to use this operator, take a look at the guide: Create spreadsheet