- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- BigQueryAccessRole
- Try it!
Full name: projects.locations.instances.bigQueryAccess.provide
Provide BigQuery access for the given email.
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The instance for which BigQuery access is being provisioned. Format: projects/{project}/locations/{location}/instances/{instance} | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "email": string } | 
| Fields | |
|---|---|
| email | 
 Required. Email to access BigQuery | 
Response body
BigQueryAccess resource.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "name": string,
  "email": string,
  "roles": [
    {
      object ( | 
| Fields | |
|---|---|
| name | 
 Identifier. Resource name of BigQueryAccess. | 
| email | 
 Output only. Email for which BigQuery access is updated. | 
| roles[] | 
 Roles the email ID has. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
- chronicle.bigQueryAccess.provide
For more information, see the IAM documentation.
BigQueryAccessRole
Information of a role.
| JSON representation | 
|---|
| { "name": string } | 
| Fields | |
|---|---|
| name | 
 Output only. name of the role. |