sijocherian / google-bigquery

Automatically exported from code.google.com/p/google-bigquery
0 stars 0 forks source link

projectId parameter to set billing for Streaming operations #249

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have a feature in BigQuery where we can set the projectId 
in the insertAll method. This would help in billing so we can set the project 
to be billed for streaming inserts

Original issue reported on code.google.com by vshe...@google.com on 21 May 2015 at 4:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
to be more precise:

I own Project B which has an Web App deployed in it.
I will be streaming data into my customers Project A from Project B
I do not want my customer to be billed for data that I am streaming from my 
Project B

Original comment by vshe...@google.com on 21 May 2015 at 11:27

GoogleCodeExporter commented 8 years ago
This is an interesting idea. Thus far, we've viewed billing for streaming as 
akin to storage -- the project of the table incurs the cost... This is nice in 
that it mirrors how we charge for storage. i.e. if you have write access to 
someone's table, and you perform a load job on that table, the project of the 
table is charged for the data stored on the table, not you.

For your specific scenario, is it a possibility to:
- Create a dataset in project B, with appropriate permissions (read?) shared to 
project A.
- Stream to table in the dataset of project B.

Original comment by seanc...@google.com on 22 May 2015 at 3:43

GoogleCodeExporter commented 8 years ago
The customer would like to have full control of his dataset.
We would only like to pay for streaming operations as this is a service we 
offer.
We will not be paying for storage costs for the customer.

Original comment by vshe...@google.com on 22 May 2015 at 5:08