To create and manage datasets in a Google Cloud project, you must hold either the Owner or Editor IAM role on the project.
Alternatively, you can assign the following IAM roles to a user account or service account that you use to manage datasets:
Maps Platform Datasets Adminrole grants the user or services account read/write access to datasets in the project. This role lets the user perform all operations on a dataset.
Maps Platform Datasets Viewerrole grants read-only access to datasets in the project. This role lets you perform a list, get, or download operation on a dataset.
For more information, see Grant an IAM role by using the Google Cloud console.
After configuring roles, you must create an OAuth token: