- [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SCHEMA_REPRESENTATION)
- [TableInsertRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertRequest.SCHEMA_REPRESENTATION)
- [Table](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table.SCHEMA_REPRESENTATION)
- [TableName](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName.SCHEMA_REPRESENTATION)
- [TableInfo](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInfo)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInfo.SCHEMA_REPRESENTATION)
- [TableViewDefinition](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableViewDefinition)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableViewDefinition.SCHEMA_REPRESENTATION)
- [EncryptionInfo](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo.SCHEMA_REPRESENTATION)
- [TableUpdateRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateRequest.SCHEMA_REPRESENTATION)
- [DatasetListRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetListRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetListRequest.SCHEMA_REPRESENTATION)
- [DatasetInsertRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertRequest.SCHEMA_REPRESENTATION)
- [Dataset](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset.SCHEMA_REPRESENTATION)
- [DatasetName](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName.SCHEMA_REPRESENTATION)
- [DatasetInfo](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInfo)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInfo.SCHEMA_REPRESENTATION)
- [BigQueryAcl](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl.SCHEMA_REPRESENTATION)
- [BigQueryAcl.Entry](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl.Entry)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl.Entry.SCHEMA_REPRESENTATION)
- [DatasetUpdateRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateRequest.SCHEMA_REPRESENTATION)
- [JobInsertRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertRequest.SCHEMA_REPRESENTATION)
- [Job](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job.SCHEMA_REPRESENTATION)
- [JobName](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName.SCHEMA_REPRESENTATION)
- [JobConfiguration](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.SCHEMA_REPRESENTATION)
- [JobConfiguration.Query](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Query)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Query.SCHEMA_REPRESENTATION)
- [TableDefinition](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDefinition)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDefinition.SCHEMA_REPRESENTATION)
- [SecureContextValue](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue.SCHEMA_REPRESENTATION)
- [JobConfiguration.Load](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Load)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Load.SCHEMA_REPRESENTATION)
- [JobConfiguration.Extract](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Extract)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Extract.SCHEMA_REPRESENTATION)
- [JobConfiguration.TableCopy](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.TableCopy)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.TableCopy.SCHEMA_REPRESENTATION)
- [JobStatus](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatus)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatus.SCHEMA_REPRESENTATION)
- [JobStatistics](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics.SCHEMA_REPRESENTATION)
- [JobStatistics.ReservationResourceUsage](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics.ReservationResourceUsage)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics.ReservationResourceUsage.SCHEMA_REPRESENTATION)
- [JobQueryRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryRequest.SCHEMA_REPRESENTATION)
- [JobGetQueryResultsRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsRequest.SCHEMA_REPRESENTATION)
- [TableDataListRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataListRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataListRequest.SCHEMA_REPRESENTATION)
- [SetIamPolicyRequest](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SetIamPolicyRequest)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SetIamPolicyRequest.SCHEMA_REPRESENTATION)
- [TableInsertResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertResponse.SCHEMA_REPRESENTATION)
- [TableUpdateResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateResponse.SCHEMA_REPRESENTATION)
- [DatasetInsertResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertResponse.SCHEMA_REPRESENTATION)
- [DatasetUpdateResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateResponse.SCHEMA_REPRESENTATION)
- [JobInsertResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertResponse.SCHEMA_REPRESENTATION)
- [JobQueryResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryResponse.SCHEMA_REPRESENTATION)
- [JobGetQueryResultsResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsResponse.SCHEMA_REPRESENTATION)
- [JobQueryDoneResponse](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryDoneResponse)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryDoneResponse.SCHEMA_REPRESENTATION)
- [JobCompletedEvent](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobCompletedEvent)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobCompletedEvent.SCHEMA_REPRESENTATION)
- [TableDataReadEvent](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataReadEvent)
  - [JSON representation](https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataReadEvent.SCHEMA_REPRESENTATION)

BigQuery AuditData represents the older AuditData.serviceData log messages.

| JSON representation |
|---|
| ``` { "jobCompletedEvent": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobCompletedEvent`) }, "tableDataReadEvents": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataReadEvent`) } ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "tableInsertRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertRequest`) }, "tableUpdateRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateRequest`) }, "datasetListRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetListRequest`) }, "datasetInsertRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertRequest`) }, "datasetUpdateRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateRequest`) }, "jobInsertRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertRequest`) }, "jobQueryRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryRequest`) }, "jobGetQueryResultsRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsRequest`) }, "tableDataListRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataListRequest`) }, "setIamPolicyRequest": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SetIamPolicyRequest`) } // End of mutually exclusive fields. // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "tableInsertResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertResponse`) }, "tableUpdateResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateResponse`) }, "datasetInsertResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertResponse`) }, "datasetUpdateResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateResponse`) }, "jobInsertResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertResponse`) }, "jobQueryResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryResponse`) }, "jobGetQueryResultsResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsResponse`) }, "jobQueryDoneResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryDoneResponse`) }, "policyResponse": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Policy`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `jobCompletedEvent` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobCompletedEvent`)`` A job completion event. |
| `tableDataReadEvents[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataReadEvent`)`` Information about the table access events. |
| Request data for each BigQuery method. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `tableInsertRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertRequest`)`` Table insert request. |
| `tableUpdateRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateRequest`)`` Table update request. |
| `datasetListRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetListRequest`)`` Dataset list request. |
| `datasetInsertRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertRequest`)`` Dataset insert request. |
| `datasetUpdateRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateRequest`)`` Dataset update request. |
| `jobInsertRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertRequest`)`` Job insert request. |
| `jobQueryRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryRequest`)`` Job query request. |
| `jobGetQueryResultsRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsRequest`)`` Job get query results request. |
| `tableDataListRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDataListRequest`)`` Table data-list request. |
| `setIamPolicyRequest` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SetIamPolicyRequest`)`` Iam policy request. |
| End of mutually exclusive fields. ||
| Response data for each BigQuery method. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `tableInsertResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInsertResponse`)`` Table insert response. |
| `tableUpdateResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableUpdateResponse`)`` Table update response. |
| `datasetInsertResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInsertResponse`)`` Dataset insert response. |
| `datasetUpdateResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetUpdateResponse`)`` Dataset update response. |
| `jobInsertResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobInsertResponse`)`` Job insert response. |
| `jobQueryResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryResponse`)`` Job query response. |
| `jobGetQueryResultsResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobGetQueryResultsResponse`)`` Job get query results response. |
| `jobQueryDoneResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobQueryDoneResponse`)`` Deprecated: Job query-done response. Use this information for usage analysis. |
| `policyResponse` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Policy`)`` Iam Policy. |
| End of mutually exclusive fields. ||

## TableInsertRequest

Table insert request.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`)`` The new table. |

## Table

Describes a BigQuery table. See the [Table](https://docs.cloud.google.com/bigquery/docs/reference/v2/tables) API resource for more details on individual fields. Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. `Table.schema` may continue to be present in your logs during this transition.

| JSON representation |
|---|
| ``` { "tableName": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) }, "info": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInfo`) }, "schemaJson": string, "view": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableViewDefinition`) }, "expireTime": string, "createTime": string, "truncateTime": string, "updateTime": string, "encryption": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`) } } ``` |

| Fields ||
|---|---|
| `tableName` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The name of the table. |
| `info` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableInfo`)`` User-provided metadata for the table. |
| `schemaJson` | `string` A JSON representation of the table's schema. |
| `view` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableViewDefinition`)`` If present, this is a virtual table defined by a SQL query. |
| `expireTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The expiration date for the table, after which the table is deleted and the storage reclaimed. If not present, the table persists indefinitely. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the table was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `truncateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the table was last truncated by an operation with a `writeDisposition` of `WRITE_TRUNCATE`. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the table was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `encryption` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`)`` The table encryption information. Set when non-default encryption is used. |

## TableName

The fully-qualified name for a table.

| JSON representation |
|---|
| ``` { "projectId": string, "datasetId": string, "tableId": string } ``` |

| Fields ||
|---|---|
| `projectId` | `string` The project ID. |
| `datasetId` | `string` The dataset ID within the project. |
| `tableId` | `string` The table ID of the table within the dataset. |

## TableInfo

User-provided metadata for a table.

| JSON representation |
|---|
| ``` { "friendlyName": string, "description": string, "labels": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `friendlyName` | `string` A short name for the table, such as `"Analytics Data - Jan 2011"`. |
| `description` | `string` A long description, perhaps several paragraphs, describing the table contents in detail. |
| `labels` | `map (key: string, value: string)` Labels provided for the table. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## TableViewDefinition

Describes a virtual table defined by a SQL query.

| JSON representation |
|---|
| ``` { "query": string } ``` |

| Fields ||
|---|---|
| `query` | `string` SQL query defining the view. |

## EncryptionInfo

Describes encryption properties for a table or a job

| JSON representation |
|---|
| ``` { "kmsKeyName": string } ``` |

| Fields ||
|---|---|
| `kmsKeyName` | `string` unique identifier for cloud kms key |

## TableUpdateRequest

Table update request.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`)`` The table to be updated. |

## DatasetListRequest

Dataset list request.

| JSON representation |
|---|
| ``` { "listAll": boolean } ``` |

| Fields ||
|---|---|
| `listAll` | `boolean` Whether to list all datasets, including hidden ones. |

## DatasetInsertRequest

Dataset insert request.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`)`` The dataset to be inserted. |

## Dataset

BigQuery dataset information. See the [Dataset](https://docs.cloud.google.com/bigquery/docs/reference/v2/datasets) API resource for more details on individual fields.

| JSON representation |
|---|
| ``` { "datasetName": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`) }, "info": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInfo`) }, "createTime": string, "updateTime": string, "acl": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl`) }, "defaultTableExpireDuration": string } ``` |

| Fields ||
|---|---|
| `datasetName` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`)`` The name of the dataset. |
| `info` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetInfo`)`` User-provided metadata for the dataset. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the dataset was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the dataset was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `acl` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl`)`` The access control list for the dataset. |
| `defaultTableExpireDuration` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` If this field is present, each table that does not specify an expiration time is assigned an expiration time by adding this duration to the table's `createTime`. If this field is empty, there is no default table expiration time. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |

## DatasetName

The fully-qualified name for a dataset.

| JSON representation |
|---|
| ``` { "projectId": string, "datasetId": string } ``` |

| Fields ||
|---|---|
| `projectId` | `string` The project ID. |
| `datasetId` | `string` The dataset ID within the project. |

## DatasetInfo

User-provided metadata for a dataset.

| JSON representation |
|---|
| ``` { "friendlyName": string, "description": string, "labels": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `friendlyName` | `string` A short name for the dataset, such as `"Analytics Data 2011"`. |
| `description` | `string` A long description, perhaps several paragraphs, describing the dataset contents in detail. |
| `labels` | `map (key: string, value: string)` Labels provided for the dataset. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## BigQueryAcl

An access control list.

| JSON representation |
|---|
| ``` { "entries": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl.Entry`) } ] } ``` |

| Fields ||
|---|---|
| `entries[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#BigQueryAcl.Entry`)`` Access control entry list. |

## BigQueryAcl.Entry

Access control entry.

| JSON representation |
|---|
| ``` { "role": string, "groupEmail": string, "userEmail": string, "domain": string, "specialGroup": string, "viewName": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) } } ``` |

| Fields ||
|---|---|
| `role` | `string` The granted role, which can be `READER`, `WRITER`, or `OWNER`. |
| `groupEmail` | `string` Grants access to a group identified by an email address. |
| `userEmail` | `string` Grants access to a user identified by an email address. |
| `domain` | `string` Grants access to all members of a domain. |
| `specialGroup` | `string` Grants access to special groups. Valid groups are `PROJECT_OWNERS`, `PROJECT_READERS`, `PROJECT_WRITERS` and `ALL_AUTHENTICATED_USERS`. |
| `viewName` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` Grants access to a BigQuery View. |

## DatasetUpdateRequest

Dataset update request.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`)`` The dataset to be updated. |

## JobInsertRequest

Job insert request.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` Job insert request. |

## Job

Describes a job.

| JSON representation |
|---|
| ``` { "jobName": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName`) }, "jobConfiguration": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration`) }, "jobStatus": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatus`) }, "jobStatistics": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics`) } } ``` |

| Fields ||
|---|---|
| `jobName` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName`)`` Job name. |
| `jobConfiguration` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration`)`` Job configuration. |
| `jobStatus` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatus`)`` Job status. |
| `jobStatistics` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics`)`` Job statistics. |

## JobName

The fully-qualified name for a job.

| JSON representation |
|---|
| ``` { "projectId": string, "jobId": string, "location": string } ``` |

| Fields ||
|---|---|
| `projectId` | `string` The project ID. |
| `jobId` | `string` The job ID within the project. |
| `location` | `string` The job location. |

## JobConfiguration

Job configuration information. See the [Jobs](https://docs.cloud.google.com/bigquery/docs/reference/v2/jobs) API resource for more details on individual fields.

| JSON representation |
|---|
| ``` { "dryRun": boolean, "labels": { string: string, ... }, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "query": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Query`) }, "load": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Load`) }, "extract": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Extract`) }, "tableCopy": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.TableCopy`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `dryRun` | `boolean` If true, don't actually run the job. Just check that it would run. |
| `labels` | `map (key: string, value: string)` Labels provided for the job. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| Job configuration information. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `query` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Query`)`` Query job information. |
| `load` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Load`)`` Load job information. |
| `extract` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.Extract`)`` Extract job information. |
| `tableCopy` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobConfiguration.TableCopy`)`` TableCopy job information. |
| End of mutually exclusive fields. ||

## JobConfiguration.Query

Describes a query job, which executes a SQL-like query.

| JSON representation |
|---|
| ``` { "query": string, "destinationTable": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) }, "createDisposition": string, "writeDisposition": string, "defaultDataset": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`) }, "tableDefinitions": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDefinition`) } ], "queryPriority": string, "destinationTableEncryption": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`) }, "statementType": string, "secureContextValues": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue`) } ] } ``` |

| Fields ||
|---|---|
| `query` | `string` The SQL query to run. |
| `destinationTable` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The table where results are written. |
| `createDisposition` | `string` Describes when a job is allowed to create a table: `CREATE_IF_NEEDED`, `CREATE_NEVER`. |
| `writeDisposition` | `string` Describes how writes affect existing tables: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. |
| `defaultDataset` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`)`` If a table name is specified without a dataset in a query, this dataset will be added to table name. |
| `tableDefinitions[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableDefinition`)`` Describes data sources outside BigQuery, if needed. |
| `queryPriority` | `string` Describes the priority given to the query: `QUERY_INTERACTIVE` or `QUERY_BATCH`. |
| `destinationTableEncryption` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`)`` Result table encryption information. Set when non-default encryption is used. |
| `statementType` | `string` Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..) |
| `secureContextValues[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue`)`` The names and values of the secure context variables used in the query. |

## TableDefinition

Describes an external data source used in a query.

| JSON representation |
|---|
| ``` { "name": string, "sourceUris": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Name of the table, used in queries. |
| `sourceUris[]` | `string` Google Cloud Storage URIs for the data to be imported. |

## SecureContextValue

Describes a secure context key-value pair.

| JSON representation |
|---|
| ``` { "key": string, "value": string } ``` |

| Fields ||
|---|---|
| `key` | `string` The name of the secure context variable. |
| `value` | `string` The value of the secure context variable. |

## JobConfiguration.Load

Describes a load job, which loads data from an external source via the import pipeline.

| JSON representation |
|---|
| ``` { "sourceUris": [ string ], "schemaJson": string, "destinationTable": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) }, "createDisposition": string, "writeDisposition": string, "destinationTableEncryption": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`) } } ``` |

| Fields ||
|---|---|
| `sourceUris[]` | `string` URIs for the data to be imported. Only Google Cloud Storage URIs are supported. |
| `schemaJson` | `string` The table schema in JSON format representation of a TableSchema. |
| `destinationTable` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The table where the imported data is written. |
| `createDisposition` | `string` Describes when a job is allowed to create a table: `CREATE_IF_NEEDED`, `CREATE_NEVER`. |
| `writeDisposition` | `string` Describes how writes affect existing tables: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. |
| `destinationTableEncryption` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`)`` Result table encryption information. Set when non-default encryption is used. |

## JobConfiguration.Extract

Describes an extract job, which exports data to an external source via the export pipeline.

| JSON representation |
|---|
| ``` { "destinationUris": [ string ], "sourceTable": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) } } ``` |

| Fields ||
|---|---|
| `destinationUris[]` | `string` Google Cloud Storage URIs where extracted data should be written. |
| `sourceTable` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The source table. |

## JobConfiguration.TableCopy

Describes a copy job, which copies an existing table to another table.

| JSON representation |
|---|
| ``` { "sourceTables": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) } ], "destinationTable": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) }, "createDisposition": string, "writeDisposition": string, "destinationTableEncryption": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`) } } ``` |

| Fields ||
|---|---|
| `sourceTables[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` Source tables. |
| `destinationTable` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` Destination table. |
| `createDisposition` | `string` Describes when a job is allowed to create a table: `CREATE_IF_NEEDED`, `CREATE_NEVER`. |
| `writeDisposition` | `string` Describes how writes affect existing tables: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. |
| `destinationTableEncryption` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#EncryptionInfo`)`` Result table encryption information. Set when non-default encryption is used. |

## JobStatus

Running state of a job.

| JSON representation |
|---|
| ``` { "state": string, "error": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Status`) }, "additionalErrors": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Status`) } ] } ``` |

| Fields ||
|---|---|
| `state` | `string` State of a job: `PENDING`, `RUNNING`, or `DONE`. |
| `error` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Status`)`` If the job did not complete successfully, this field describes why. |
| `additionalErrors[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Status`)`` Errors encountered during the running of the job. Do not necessarily mean that the job has completed or was unsuccessful. |

## JobStatistics

Job statistics that may change after a job starts.

| JSON representation |
|---|
| ``` { "createTime": string, "startTime": string, "endTime": string, "totalProcessedBytes": string, "totalBilledBytes": string, "billingTier": integer, "totalSlotMs": string, "reservationUsage": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics.ReservationResourceUsage`) } ], "reservation": string, "referencedTables": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) } ], "totalTablesProcessed": integer, "referencedViews": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) } ], "totalViewsProcessed": integer, "queryOutputRowCount": string, "totalLoadOutputBytes": string, "parentGlobalQueryJob": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName`) }, "globalQueryRemoteRegions": [ string ] } ``` |

| Fields ||
|---|---|
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time when the job was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time when the job started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time when the job ended. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `totalProcessedBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Total bytes processed for a job. |
| `totalBilledBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Processed bytes, adjusted by the job's CPU usage. |
| `billingTier` | `integer` The tier assigned by CPU-based billing. |
| `totalSlotMs` | `string (https://developers.google.com/discovery/v1/type-format format)` The total number of slot-ms consumed by the query job. |
| `reservationUsage[] (deprecated)` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobStatistics.ReservationResourceUsage`)`` > [!WARNING] > This item is deprecated! Deprecated as of 12/15/2022. |
| `reservation` | `string` Reservation name or "unreserved" for on-demand resource usage. |
| `referencedTables[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The first N tables accessed by the query job. Older queries that reference a large number of tables may not have all of their tables in this list. You can use the totalTablesProcessed count to know how many total tables were read in the query. For new queries, there is currently no limit. |
| `totalTablesProcessed` | `integer` Total number of unique tables referenced in the query. |
| `referencedViews[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` The first N views accessed by the query job. Older queries that reference a large number of views may not have all of their views in this list. You can use the totalTablesProcessed count to know how many total tables were read in the query. For new queries, there is currently no limit. |
| `totalViewsProcessed` | `integer` Total number of unique views referenced in the query. |
| `queryOutputRowCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Number of output rows produced by the query job. |
| `totalLoadOutputBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Total bytes loaded for an import job. |
| `parentGlobalQueryJob` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#JobName`)`` Global query that created this job. |
| `globalQueryRemoteRegions[]` | `string` The remote regions of a global query. |

## JobStatistics.ReservationResourceUsage

This field is deprecated. Job resource usage breakdown by reservation.

| JSON representation |
|---|
| ``` { "name": string, "slotMs": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Reservation name or "unreserved" for on-demand resources usage. |
| `slotMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Total slot milliseconds used by the reservation for a particular job. |

## JobQueryRequest

Job query request.

| JSON representation |
|---|
| ``` { "query": string, "maxResults": integer, "defaultDataset": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`) }, "projectId": string, "dryRun": boolean, "secureContextValues": [ { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue`) } ] } ``` |

| Fields ||
|---|---|
| `query` | `string` The query. |
| `maxResults` | `integer (https://developers.google.com/discovery/v1/type-format format)` The maximum number of results. |
| `defaultDataset` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#DatasetName`)`` The default dataset for tables that do not have a dataset specified. |
| `projectId` | `string` Project that the query should be charged to. |
| `dryRun` | `boolean` If true, don't actually run the job. Just check that it would run. |
| `secureContextValues[]` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#SecureContextValue`)`` The secure context key-value pairs evaluated during this request. |

## JobGetQueryResultsRequest

Job getQueryResults request.

| JSON representation |
|---|
| ``` { "maxResults": integer, "startRow": string } ``` |

| Fields ||
|---|---|
| `maxResults` | `integer (https://developers.google.com/discovery/v1/type-format format)` Maximum number of results to return. |
| `startRow` | `string` Zero-based row number at which to start. |

## TableDataListRequest

Table data-list request.

| JSON representation |
|---|
| ``` { "startRow": string, "maxResults": integer } ``` |

| Fields ||
|---|---|
| `startRow` | `string` Starting row offset. |
| `maxResults` | `integer (https://developers.google.com/discovery/v1/type-format format)` Maximum number of results to return. |

## SetIamPolicyRequest

Request message for `SetIamPolicy` method.

| JSON representation |
|---|
| ``` { "resource": string, "policy": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Policy`) }, "updateMask": string } ``` |

| Fields ||
|---|---|
| `resource` | `string` REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. |
| `policy` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/Policy`)`` REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. |
| `updateMask` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` format)`` OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` This is a comma-separated list of fully qualified names of fields. Example: `"user.displayName,photo"`. |

## TableInsertResponse

Table insert response.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`)`` Final state of the inserted table. |

## TableUpdateResponse

Table update response.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Table`)`` Final state of the updated table. |

## DatasetInsertResponse

Dataset insert response.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`)`` Final state of the inserted dataset. |

## DatasetUpdateResponse

Dataset update response.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Dataset`)`` Final state of the updated dataset. |

## JobInsertResponse

Job insert response.

| JSON representation |
|---|
| ``` { "resource": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `resource` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` Job insert response. |

## JobQueryResponse

Job query response.

| JSON representation |
|---|
| ``` { "totalResults": string, "job": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `totalResults` | `string` The total number of rows in the full query result set. |
| `job` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` Information about the queried job. |

## JobGetQueryResultsResponse

Job getQueryResults response.

| JSON representation |
|---|
| ``` { "totalResults": string, "job": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `totalResults` | `string` Total number of results in query results. |
| `job` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` The job that was created to run the query. It completed if `job.status.state` is `DONE`. It failed if `job.status.errorResult` is also present. |

## JobQueryDoneResponse

Job getQueryDone response.

| JSON representation |
|---|
| ``` { "job": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `job` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` The job and status information. The job completed if `job.status.state` is `DONE`. |

## JobCompletedEvent

Query job completed event.

| JSON representation |
|---|
| ``` { "eventName": string, "job": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`) } } ``` |

| Fields ||
|---|---|
| `eventName` | `string` Name of the event. |
| `job` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#Job`)`` Job information. |

## TableDataReadEvent

Table data read event. Only present for tables, not views, and is only included in the log record for the project that owns the table.

| JSON representation |
|---|
| ``` { "tableName": { object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`) }, "referencedFields": [ string ] } ``` |

| Fields ||
|---|---|
| `tableName` | ``object (`https://docs.cloud.google.com/bigquery/docs/reference/auditlogs/rest/Shared.Types/AuditData#TableName`)`` Name of the accessed table. |
| `referencedFields[]` | `string` A list of referenced fields. This information is not included by default. To enable this in the logs, please contact BigQuery support or open a bug in the BigQuery issue tracker. |