You cannot assign access controls directly to views. You can control view access by configuring access controls at the dataset level or at the project level.
Dataset-level access controls specify the operations users, groups, and service
accounts are allowed to perform on views in that specific dataset. If you
assign only dataset-level permissions, you must also assign a primitive or
predefined, project-level role that provides access to the project, for example,
Instead of granting access to individual datasets, you can assign predefined, project-level IAM roles that grant permissions to all views in all datasets in a project.
You can also create IAM custom roles. If you create a custom role, the permissions you grant depend on the view operations you want the user, group, or service account to be able to perform.
For more information on roles and permissions, see:
- Understanding roles in the IAM documentation
- BigQuery Access controls
- Controlling access to datasets
- For information on creating views, see Creating views.
- For information on listing views, see Listing views.
- For information on getting view metadata, see Getting information about views.
- For information on updating views, see Updating views.
- For more information on managing views, see Managing views.