- JSON representation
- BigQueryAuditMetadata.JobInsertion
- BigQueryAuditMetadata.Job
- BigQueryAuditMetadata.JobConfig
- BigQueryAuditMetadata.JobConfig.Query
- BigQueryAuditMetadata.TableDefinition
- BigQueryAuditMetadata.EncryptionInfo
- BigQueryAuditMetadata.JobConfig.Load
- BigQueryAuditMetadata.JobConfig.Extract
- BigQueryAuditMetadata.JobConfig.TableCopy
- BigQueryAuditMetadata.JobStatus
- BigQueryAuditMetadata.JobStats
- BigQueryAuditMetadata.JobStats.Query
- BigQueryAuditMetadata.JobStats.Load
- BigQueryAuditMetadata.JobStats.Extract
- BigQueryAuditMetadata.JobStats.ReservationResourceUsage
- BigQueryAuditMetadata.JobChange
- BigQueryAuditMetadata.JobDeletion
- BigQueryAuditMetadata.DatasetCreation
- BigQueryAuditMetadata.Dataset
- BigQueryAuditMetadata.EntityInfo
- BigQueryAuditMetadata.BigQueryAcl
- BigQueryAuditMetadata.DatasetChange
- BigQueryAuditMetadata.DatasetDeletion
- BigQueryAuditMetadata.TableCreation
- BigQueryAuditMetadata.Table
- BigQueryAuditMetadata.TableViewDefinition
- BigQueryAuditMetadata.TableChange
- BigQueryAuditMetadata.TableDeletion
- BigQueryAuditMetadata.TableDataRead
- BigQueryAuditMetadata.TableDataChange
- BigQueryAuditMetadata.ModelDeletion
- BigQueryAuditMetadata.ModelCreation
- BigQueryAuditMetadata.Model
- BigQueryAuditMetadata.ModelMetadataChange
- BigQueryAuditMetadata.ModelDataChange
- BigQueryAuditMetadata.ModelDataRead
- BigQueryAuditMetadata.RoutineCreation
- BigQueryAuditMetadata.Routine
- BigQueryAuditMetadata.RoutineChange
- BigQueryAuditMetadata.RoutineDeletion
- BigQueryAuditMetadata.RowAccessPolicyCreation
- BigQueryAuditMetadata.RowAccessPolicy
- BigQueryAuditMetadata.RowAccessPolicyChange
- BigQueryAuditMetadata.RowAccessPolicyDeletion
- BigQueryAuditMetadata.FirstPartyAppMetadata
- BigQueryAuditMetadata.SheetsMetadata
BigQueryAuditMetaData is exposed as part of the new AuditData.metadata messages.
JSON representation |
---|
{ "firstPartyAppMetadata": { object ( |
Fields | |
---|---|
firstPartyAppMetadata |
First party (Google) application specific metadata. |
Union field event . BigQuery event information. event can be only one of the following: |
|
jobInsertion |
Job insertion event. |
jobChange |
Job state change event. |
jobDeletion |
Job deletion event. |
datasetCreation |
Dataset creation event. |
datasetChange |
Dataset change event. |
datasetDeletion |
Dataset deletion event. |
tableCreation |
Table creation event. |
tableChange |
Table metadata change event. |
tableDeletion |
Table deletion event. |
tableDataRead |
Table data read event. |
tableDataChange |
Table data change event. |
modelDeletion |
Model deletion event. |
modelCreation |
Model creation event. |
modelMetadataChange |
Model metadata change event. |
modelDataChange |
Model data change event. |
modelDataRead |
Model data read event. |
routineCreation |
Routine creation event. |
routineChange |
Routine change event. |
routineDeletion |
Routine deletion event. |
rowAccessPolicyCreation |
Row access policy create event. |
rowAccessPolicyChange |
Row access policy change event. |
rowAccessPolicyDeletion |
Row access policy deletion event. |
BigQueryAuditMetadata.JobInsertion
Job insertion event.
JSON representation |
---|
{ "job": { object ( |
Fields | |
---|---|
job |
Job metadata. |
reason |
Describes how the job was inserted. |
BigQueryAuditMetadata.Job
BigQuery job.
JSON representation |
---|
{ "jobName": string, "jobConfig": { object ( |
Fields | |
---|---|
jobName |
Job URI. Format: |
jobConfig |
Job configuration. |
jobStatus |
Job status. |
jobStats |
Job statistics. |
BigQueryAuditMetadata.JobConfig
Job configuration. See the Jobs API resource for more details on individual fields.
JSON representation |
---|
{ "type": enum ( |
Fields | |
---|---|
type |
Job type. |
labels |
Labels provided for the job. An object containing a list of |
Union field config . Job configuration information. config can be only one of the following: |
|
queryConfig |
Query job information. |
loadConfig |
Load job information. |
extractConfig |
Extract job information. |
tableCopyConfig |
TableCopy job information. |
BigQueryAuditMetadata.JobConfig.Query
Query job configuration.
JSON representation |
---|
{ "query": string, "queryTruncated": boolean, "destinationTable": string, "createDisposition": enum ( |
Fields | |
---|---|
query |
The SQL query to run. Truncated if exceeds 50K. |
queryTruncated |
True if the query field was truncated. |
destinationTable |
The destination table for the query results. |
createDisposition |
Destination table create disposition. |
writeDisposition |
Destination table write disposition. |
defaultDataset |
Default dataset for the query. |
tableDefinitions[] |
External data sources used in the query. |
priority |
Priority given to the query. |
destinationTableEncryption |
Result table encryption information. Set when non-default encryption is used. |
statementType |
Type of the query. |
BigQueryAuditMetadata.TableDefinition
Definition of an external data source used in a query.
JSON representation |
---|
{ "name": string, "sourceUris": [ string ] } |
Fields | |
---|---|
name |
Name of the table, used in queries. |
sourceUris[] |
URIs for the data. |
BigQueryAuditMetadata.EncryptionInfo
Encryption properties for a table or a job
JSON representation |
---|
{ "kmsKeyName": string } |
Fields | |
---|---|
kmsKeyName |
Cloud kms key identifier. Format: |
BigQueryAuditMetadata.JobConfig.Load
Load job configuration.
JSON representation |
---|
{ "sourceUris": [ string ], "sourceUrisTruncated": boolean, "schemaJson": string, "schemaJsonTruncated": boolean, "destinationTable": string, "createDisposition": enum ( |
Fields | |
---|---|
sourceUris[] |
URIs for the data to be imported. Entire list is truncated if exceeds 40K. |
sourceUrisTruncated |
True if the source_URIs field was truncated. |
schemaJson |
The table schema in JSON format. Entire field is truncated if exceeds 40K. |
schemaJsonTruncated |
True if the schemaJson field was truncated. |
destinationTable |
The destination table for the import. |
createDisposition |
Destination table create disposition. |
writeDisposition |
Destination table write disposition. |
destinationTableEncryption |
Result table encryption information. Set when non-default encryption is used. |
BigQueryAuditMetadata.JobConfig.Extract
Extract job configuration.
JSON representation |
---|
{ "destinationUris": [ string ], "destinationUrisTruncated": boolean, // Union field |
Fields | |
---|---|
destinationUris[] |
URIs where extracted data should be written. Entire list is truncated if exceeds 50K. |
destinationUrisTruncated |
True if the destination_URIs field was truncated. |
Union field
|
|
sourceTable |
The source table. |
sourceModel |
The source model. |
BigQueryAuditMetadata.JobConfig.TableCopy
Table copy job configuration.
JSON representation |
---|
{ "sourceTables": [ string ], "sourceTablesTruncated": boolean, "destinationTable": string, "createDisposition": enum ( |
Fields | |
---|---|
sourceTables[] |
Source tables. Entire list is truncated if exceeds 50K. |
sourceTablesTruncated |
True if the sourceTables field was truncated. |
destinationTable |
Destination table. |
createDisposition |
Destination table create disposition. |
writeDisposition |
Destination table write disposition. |
destinationTableEncryption |
Result table encryption information. Set when non-default encryption is used. |
operationType |
Supported operation types in the table copy job. |
destinationExpirationTime |
Expiration time set on the destination table. Expired tables will be deleted and their storage reclaimed. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
BigQueryAuditMetadata.JobStatus
Status of a job.
JSON representation |
---|
{ "jobState": enum ( |
Fields | |
---|---|
jobState |
State of the job. |
errorResult |
Job error, if the job failed. |
errors[] |
Errors encountered during the running of the job. Does not necessarily mean that the job has completed or was unsuccessful. |
BigQueryAuditMetadata.JobStats
Job statistics.
JSON representation |
---|
{ "createTime": string, "startTime": string, "endTime": string, "totalSlotMs": string, "reservationUsage": [ { object ( |
Fields | |
---|---|
createTime |
Job creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
startTime |
Job execution start time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Job completion time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
totalSlotMs |
The total number of slot-ms consumed by the query job. |
reservationUsage[] |
Reservation usage attributed from each tier of a reservation hierarchy. |
parentJobName |
Parent job name. Only present for child jobs. |
Union field extended . Statistics specific to the job type. extended can be only one of the following: |
|
queryStats |
Query job statistics. |
loadStats |
Load job statistics. |
extractStats |
Extract job statistics. |
BigQueryAuditMetadata.JobStats.Query
Query job statistics.
JSON representation |
---|
{ "totalProcessedBytes": string, "totalBilledBytes": string, "billingTier": integer, "referencedTables": [ string ], "referencedViews": [ string ], "referencedRoutines": [ string ], "outputRowCount": string, "cacheHit": boolean, "requestedQueryPriority": enum ( |
Fields | |
---|---|
totalProcessedBytes |
Total bytes processed by the query job. |
totalBilledBytes |
Total bytes billed by the query job. |
billingTier |
The tier assigned by the CPU-based billing. |
referencedTables[] |
Tables accessed by the query job. |
referencedViews[] |
Views accessed by the query job. |
referencedRoutines[] |
Routines accessed by the query job. |
outputRowCount |
Number of output rows produced by the query job. |
cacheHit |
True if the query job results were read from the query cache. |
requestedQueryPriority |
Query priority that was requested. |
effectiveQueryPriority |
Query priority that was effective for the execution of the query. |
BigQueryAuditMetadata.JobStats.Load
Load job statistics.
JSON representation |
---|
{ "totalOutputBytes": string } |
Fields | |
---|---|
totalOutputBytes |
Total bytes loaded by the import job. |
BigQueryAuditMetadata.JobStats.Extract
Extract job statistics.
JSON representation |
---|
{ "totalInputBytes": string } |
Fields | |
---|---|
totalInputBytes |
Total bytes exported by the extract job. |
BigQueryAuditMetadata.JobStats.ReservationResourceUsage
Job resource usage breakdown by reservation.
JSON representation |
---|
{ "name": string, "slotMs": string } |
Fields | |
---|---|
name |
Reservation name or "unreserved" for on-demand resources usage. |
slotMs |
Total slot milliseconds used by the reservation for a particular job. |
BigQueryAuditMetadata.JobChange
Job state change event.
JSON representation |
---|
{ "before": enum ( |
Fields | |
---|---|
before |
Job state before the job state change. |
after |
Job state after the job state change. |
job |
Job metadata. |
BigQueryAuditMetadata.JobDeletion
Job deletion event.
JSON representation |
---|
{
"jobName": string,
"reason": enum ( |
Fields | |
---|---|
jobName |
Job URI. Format: |
reason |
Describes how the job was deleted. |
BigQueryAuditMetadata.DatasetCreation
Dataset creation event.
JSON representation |
---|
{ "dataset": { object ( |
Fields | |
---|---|
dataset |
Dataset metadata. |
reason |
Describes how the dataset was created. |
jobName |
The URI of the job that created the dataset. Present if the reason is QUERY. Format: |