You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Google . BigQuery . Jobs . Query
Runs a BigQuery SQL query and returns results if the query completes within a specified timeout. When a query timeout occurs, results can be retrieved using the Job ID returned in the response.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo runs a BigQuery SQL query and returns results if the query completes within a specified timeout. The documentation for this Google BigQuery resource can be found here.
Note: If a query does not complete within the timeframe specified in the optional TimeoutMs input, the Choreo will return without a result set. In this case, you can use the jobId property found in the response to retrieve the results using the GetQueryResults Choreo.
Here is an example input set:
ClientID: {YOUR CLIENT ID}
ClientSecret: {YOUR CLIENT SECRET}
RefreshToken: {YOUR REFRESH TOKEN}
ProjectID: mygoogleproject-12345
Query: SELECT count(*) FROM [testdata.sensorreadings]
The following is a sample of the JSON information returned by this Choreo:
{ "kind": "bigquery#queryResponse", "schema": { "fields": [ { "name": "f0_", "type": "INTEGER", "mode": "NULLABLE" } ] }, "jobReference": { "projectId": "mygoogleproject-12345", "jobId": "job_njRSTUucv7K-Q-Dw7Mw9vMMMQlc" }, "totalRows": "1", "rows": [ { "f": [ { "v": "2768255" } ] } ], "totalBytesProcessed": "0", "jobComplete": true, "cacheHit": false }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms