I would like to set a fine-grained, resource-specific IAM policy for a single Google BigQuery Dataset. The documentation I've found so far only explains how to get and set IAM policies for the project resource e.g. https://cloudresourcemanager.googleapis.com/v1/projects/<project-id>:getIamPolicy
.
I am trying to get the policy for a resource within a project, specifically a Google BigQuery dataset with an API URL like this: https://www.googleapis.com/bigquery/v2/projects/<project-id>/datasets/<dataset-id>
.
I have tried a number of obvious-looking URIs like
https://www.googleapis.com/bigquery/v2/projects/<project-id>/datasets/<dataset-id>:getIamPolicy
https://cloudresourcemanager.googleapis.com/v1/projects/<project-id>/datasets/<dataset-id>:getIamPolicy
but have hit 404 errors. Does anyone know the correct URL pattern for IAM policies for Google BigQuery Datasets?