Read
type: "io.kestra.plugin.googleworkspace.sheets.Read"
Read all sheets from a google Sheets
# Examples
id: "read"
type: "io.kestra.plugin.googleworkspace.sheets.Read"
spreadsheetId: "1Dkd3W0OQo-wxz1rrORLP7YGSj6EBLEg74fiTdbJUIQE"
store: true
valueRender: FORMATTED_VALUE
# Properties
# dateTimeRender
Type: string
Dynamic: ❌
Required: ✔️
Default:
FORMATTED_STRING
Possible Values:
SERIAL_NUMBER
FORMATTED_STRING
How dates, times, and durations should be represented in the output.
his is ignored if valueRender is FORMATTED_VALUE
.
More details here (opens new window)
# fetch
- Type: boolean
- Dynamic: ❌
- Required: ❌
- Default:
false
Whether to Fetch the data from the query result to the task output
# header
- Type: boolean
- Dynamic: ❓
- Required: ❌
- Default:
true
Specifies if the first line should be the header (default: false)
# scopes
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
- Default:
[https://www.googleapis.com/auth/spreadsheets]
The GCP scopes to used
# selectedSheetsTitle
- Type: array
- SubType: string
- Dynamic: ❓
- Required: ❌
The sheet title to be included
If not provided all the sheets will be included.
# serviceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account key
# spreadsheetId
- Type: string
- Dynamic: ✔️
- Required: ✔️
The spreadsheet unique id
# store
- Type: boolean
- Dynamic: ❌
- Required: ❌
- Default:
true
Whether to store the data from the query result into an ion serialized data file
# valueRender
Type: string
Dynamic: ❌
Required: ✔️
Default:
UNFORMATTED_VALUE
Possible Values:
FORMATTED_VALUE
UNFORMATTED_VALUE
FORMULA
Determines how values should be rendered in the output.
More details here (opens new window)
# Outputs
# rows
- Type: object
- SubType: array
List containing the fetched data
Only populated if 'fetch' parameter is set to true.
The key is the name of the sheet
# size
- Type: integer
- Default:
0
The size of the rows fetch
# uris
- Type: object
- SubType: string
The uri of store result
The keyOnly populated if 'store' is set to true.
The key is the name of the sheet