BigQuery Migration Service audit logging
This document describes audit logging for BigQuery Migration Service. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:
- Types of audit logs
- Audit log entry structure
- Storing and routing audit logs
- Cloud Logging pricing summary
- Enable Data Access audit logs
Service name
BigQuery Migration Service audit logs use the service name bigquerymigration.googleapis.com
.
Filter for this service:
protoPayload.serviceName="bigquerymigration.googleapis.com"
Methods by permission type
Each IAM permission has a type
property, whose value is an enum
that can be one of four values: ADMIN_READ
, ADMIN_WRITE
,
DATA_READ
, or DATA_WRITE
. When you call a method,
BigQuery Migration Service generates an audit log whose category is dependent on the
type
property of the permission required to perform the method.
Methods that require an IAM permission with the type
property value
of DATA_READ
, DATA_WRITE
, or ADMIN_READ
generate
Data Access audit logs.
Methods that require an IAM permission with the type
property value
of ADMIN_WRITE
generate
Admin Activity audit logs.
Permission type | Methods |
---|---|
DATA_READ |
google.cloud.bigquery.migration.v2.MigrationService.GetMigrationWorkflow google.cloud.bigquery.migration.v2.MigrationService.ListMigrationSubtasks google.cloud.bigquery.migration.v2.MigrationService.ListMigrationWorkflows google.cloud.bigquery.migration.v2.SqlTranslationService.TranslateQuery google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogMessages google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogSummary google.cloud.bigquery.migration.v2alpha.SqlTranslationService.GenerateSuggestion google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ListGcsPaths google.cloud.bigquery.migration.v2alpha.SqlTranslationService.LoadTranslationFiles google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery google.cloud.bigquery.migration.v2main.MigrationService.CreateInteractiveMigrationWorkflow google.cloud.bigquery.migration.v2main.MigrationService.GetMigrationWorkflow google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationSubtasks google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationWorkflows |
DATA_WRITE |
google.cloud.bigquery.migration.v2.MigrationService.CreateMigrationWorkflow google.cloud.bigquery.migration.v2.MigrationService.DeleteMigrationWorkflow google.cloud.bigquery.migration.v2.MigrationService.StartMigrationWorkflow google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow google.cloud.bigquery.migration.v2alpha.SqlTranslationService.SaveRule google.cloud.bigquery.migration.v2main.MigrationService.CreateMigrationWorkflow |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for BigQuery Migration Service.
google.cloud.bigquery.migration.v2.MigrationService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.migration.v2.MigrationService
.
CreateMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2.MigrationService.CreateMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.create - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.CreateMigrationWorkflow"
DeleteMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2.MigrationService.DeleteMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.delete - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.DeleteMigrationWorkflow"
GetMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2.MigrationService.GetMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.GetMigrationWorkflow"
ListMigrationSubtasks
- Method:
google.cloud.bigquery.migration.v2.MigrationService.ListMigrationSubtasks
- Audit log type: Data access
- Permissions:
bigquerymigration.subtasks.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.ListMigrationSubtasks"
ListMigrationWorkflows
- Method:
google.cloud.bigquery.migration.v2.MigrationService.ListMigrationWorkflows
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.ListMigrationWorkflows"
StartMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2.MigrationService.StartMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.update - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.MigrationService.StartMigrationWorkflow"
google.cloud.bigquery.migration.v2.SqlTranslationService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.migration.v2.SqlTranslationService
.
TranslateQuery
- Method:
google.cloud.bigquery.migration.v2.SqlTranslationService.TranslateQuery
- Audit log type: Data access
- Permissions:
bigquerymigration.translation.translate - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2.SqlTranslationService.TranslateQuery"
google.cloud.bigquery.migration.v2alpha.MigrationService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.migration.v2alpha.MigrationService
.
CreateMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.create - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow"
DeleteMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.delete - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow"
GetMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow"
ListMigrationSubtasks
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks
- Audit log type: Data access
- Permissions:
bigquerymigration.subtasks.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks"
ListMigrationWorkflows
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows"
StartMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.update - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow"
google.cloud.bigquery.migration.v2alpha.SqlTranslationService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.migration.v2alpha.SqlTranslationService
.
ExtractGcsReportLogMessages
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogMessages
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogMessages"
ExtractGcsReportLogSummary
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogSummary
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ExtractGcsReportLogSummary"
GenerateSuggestion
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.GenerateSuggestion
- Audit log type: Data access
- Permissions:
bigquerymigration.translation.translate - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.GenerateSuggestion"
ListGcsPaths
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ListGcsPaths
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.ListGcsPaths"
LoadTranslationFiles
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.LoadTranslationFiles
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.LoadTranslationFiles"
SaveRule
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.SaveRule
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.create - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.SaveRule"
TranslateQuery
- Method:
google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery
- Audit log type: Data access
- Permissions:
bigquerymigration.translation.translate - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery"
google.cloud.bigquery.migration.v2main.MigrationService
The following audit logs are associated with methods belonging to
google.cloud.bigquery.migration.v2main.MigrationService
.
CreateInteractiveMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2main.MigrationService.CreateInteractiveMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.translation.translate - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2main.MigrationService.CreateInteractiveMigrationWorkflow"
CreateMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2main.MigrationService.CreateMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.create - DATA_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2main.MigrationService.CreateMigrationWorkflow"
GetMigrationWorkflow
- Method:
google.cloud.bigquery.migration.v2main.MigrationService.GetMigrationWorkflow
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.get - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2main.MigrationService.GetMigrationWorkflow"
ListMigrationSubtasks
- Method:
google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationSubtasks
- Audit log type: Data access
- Permissions:
bigquerymigration.subtasks.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationSubtasks"
ListMigrationWorkflows
- Method:
google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationWorkflows
- Audit log type: Data access
- Permissions:
bigquerymigration.workflows.list - DATA_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.bigquery.migration.v2main.MigrationService.ListMigrationWorkflows"