# GCP BigQuery

Sends messages as new rows to a Google Cloud BigQuery table.

## Configuration

| Name             | Type   | Optional | Secret | Description                                                                                                                                                      |
| ---------------- | ------ | -------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| project          | string | no       | no     | GCP project where the query job will execute.                                                                                                                    |
| credentials_json | string | no       | no     | JSON credentials for authenticating with GCP.                                                                                                                    |
| dataset          | string | no       | no     | The BigQuery Dataset ID                                                                                                                                          |
| table            | string | no       | no     | The BigQuery Table ID to insert rows into.                                                                                                                       |
| write_policy     | string | yes      | no     | The write policy to use when inserting rows. The value should be one of `WRITE_APPEND`, `WRITE_TRUNCATE` or `WRITE_EMPTY`. The value defaults to `WRITE_APPEND`. |
| create_policy    | string | yes      | no     | The create policy to use when inserting rows. The value should be one of `CREATE_IF_NEEDED` or `CREATE_NEVER`. The value defaults to `CREATE_IF_NEEDED`.         |
