This code triggers a BigQuery load job when a file is written to a Google Cloud Storage bucket.
View the source code.
Cloud Function event that triggers when a file is added to a Cloud Storage bucket and creates a BigQuery load job to write the data into a table.
JavaScript
This code triggers a BigQuery load job when a file is written to a Google Cloud Storage bucket.
View the source code.