Who pays query costs on datasets across multiple users in BigQuery?

前端 未结 1 1354

I\'ve granted an internal user permission to query datasets in our Project, under the \'IAM & admin\' section.

When the user queries the tables, will the cost o

1条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-21 13:35

    BigQuery storage costs are billed to the billing account attached to the project where data resides

    Meantime, query charges associated with BigQuery jobs are billed to the billing account attached to the project from which the user runs jobs (query).

    If a user uses the BigQuery UI - the project you (user) see in the project list selector on top gets billed for all queries executed within it, no matter where the data that is being queried actually resides.

    If a user uses API or any client library - so called billing project is a part of respective API or client's method that needs to be provided by user

    For project to be qualified for a user to run queries from, and thus to use it as a billing project, the user must have bigquery.jobs.create permission set in IAM.
    See more about roles and permissions here - https://cloud.google.com/bigquery/docs/access-control#permissions_and_roles

    Using the 'Share Dataset' option just gives a user specific permission to have access to respective dataset

    Hope this clears your question

    0 讨论(0)
提交回复
热议问题