Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Setting write disposition when using the BigQuery Storage API from Node.js

I'm writing data to BigQuery using the Storage Write API using streams in "PENDING" mode, then committing them all at once. Based on previous questions, it seems like setting a write disposition of "WRITE_TRUNCATE" should be possible, but it's throwing a type error for me in both batchCommitWriteStream and createWriteStream. Is there an option or method that I'm missing?

Thanks!

0 1 221
1 REPLY 1