AutoML Audit Logging

This document describes audit logging for AutoML. 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:

Service name

AutoML audit logs use the service name automl.googleapis.com. Filter for this service:

    protoPayload.serviceName="automl.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, AutoML 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
ADMIN_READ google.cloud.automl.v1.AutoMl.GetModel
google.cloud.automl.v1.AutoMl.ListDatasets
google.cloud.automl.v1.AutoMl.ListModels
google.cloud.automl.v1.PredictionService.Predict
google.cloud.automl.v1beta1.AutoMl.ExportData
google.cloud.automl.v1beta1.AutoMl.GetDataset
google.cloud.automl.v1beta1.AutoMl.GetModel
google.cloud.automl.v1beta1.AutoMl.ListDatasets
google.cloud.automl.v1beta1.AutoMl.ListModels
google.cloud.automl.v1beta1.PredictionService.BatchPredict
google.cloud.automl.v1beta1.PredictionService.Predict
google.cloud.automl.v1p1beta.AutoMl.ExportData
google.cloud.automl.v1p1beta.AutoMl.GetDataset
google.cloud.automl.v1p1beta.AutoMl.GetModel
google.cloud.automl.v1p1beta.AutoMl.ListDatasets
google.cloud.automl.v1p1beta.AutoMl.ListModels
google.cloud.automl.v1p1beta.PredictionService.Predict
ADMIN_WRITE google.cloud.automl.v1.AutoMl.CreateDataset
google.cloud.automl.v1.AutoMl.CreateModel
google.cloud.automl.v1.AutoMl.DeleteDataset
google.cloud.automl.v1.AutoMl.DeleteModel
google.cloud.automl.v1.AutoMl.DeployModel
google.cloud.automl.v1.AutoMl.ImportData
google.cloud.automl.v1.AutoMl.UndeployModel
google.cloud.automl.v1beta1.AutoMl.CreateDataset
google.cloud.automl.v1beta1.AutoMl.CreateModel
google.cloud.automl.v1beta1.AutoMl.DeleteDataset
google.cloud.automl.v1beta1.AutoMl.DeleteModel
google.cloud.automl.v1beta1.AutoMl.DeployModel
google.cloud.automl.v1beta1.AutoMl.ImportData
google.cloud.automl.v1beta1.AutoMl.UndeployModel
google.cloud.automl.v1beta1.AutoMl.UpdateDataset
google.cloud.automl.v1p1beta.AutoMl.CreateDataset
google.cloud.automl.v1p1beta.AutoMl.CreateModel
google.cloud.automl.v1p1beta.AutoMl.DeleteDataset
google.cloud.automl.v1p1beta.AutoMl.DeleteModel
google.cloud.automl.v1p1beta.AutoMl.ImportData
google.iam.v1.IAMPolicy.SetIamPolicy
DATA_READ google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs
google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations
google.cloud.automl.v1beta1.AutoMl.ListTableSpecs
google.cloud.automl.v1p1beta.AutoMl.GetTableSpec
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
DATA_WRITE google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec
google.longrunning.Operations.CancelOperation

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for AutoML.

google.cloud.automl.v1.AutoMl

The following audit logs are associated with methods belonging to google.cloud.automl.v1.AutoMl.

CreateDataset

  • Method: google.cloud.automl.v1.AutoMl.CreateDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.CreateDataset"

CreateModel

  • Method: google.cloud.automl.v1.AutoMl.CreateModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.CreateModel"

DeleteDataset

  • Method: google.cloud.automl.v1.AutoMl.DeleteDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.DeleteDataset"

DeleteModel

  • Method: google.cloud.automl.v1.AutoMl.DeleteModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.DeleteModel"

DeployModel

  • Method: google.cloud.automl.v1.AutoMl.DeployModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.deploy - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.DeployModel"

GetModel

  • Method: google.cloud.automl.v1.AutoMl.GetModel
  • Audit log type: Data access
  • Permissions:
    • automl.models.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.GetModel"

ImportData

  • Method: google.cloud.automl.v1.AutoMl.ImportData
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.import - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.ImportData"

ListDatasets

  • Method: google.cloud.automl.v1.AutoMl.ListDatasets
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.ListDatasets"

ListModels

  • Method: google.cloud.automl.v1.AutoMl.ListModels
  • Audit log type: Data access
  • Permissions:
    • automl.models.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.ListModels"

UndeployModel

  • Method: google.cloud.automl.v1.AutoMl.UndeployModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.undeploy - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.AutoMl.UndeployModel"

google.cloud.automl.v1.PredictionService

The following audit logs are associated with methods belonging to google.cloud.automl.v1.PredictionService.

Predict

  • Method: google.cloud.automl.v1.PredictionService.Predict
  • Audit log type: Data access
  • Permissions:
    • automl.models.predict - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1.PredictionService.Predict"

google.cloud.automl.v1beta1.AutoMl

The following audit logs are associated with methods belonging to google.cloud.automl.v1beta1.AutoMl.

CreateDataset

  • Method: google.cloud.automl.v1beta1.AutoMl.CreateDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.CreateDataset"

CreateModel

  • Method: google.cloud.automl.v1beta1.AutoMl.CreateModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.CreateModel"

DeleteDataset

  • Method: google.cloud.automl.v1beta1.AutoMl.DeleteDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.DeleteDataset"

DeleteModel

  • Method: google.cloud.automl.v1beta1.AutoMl.DeleteModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.DeleteModel"

DeployModel

  • Method: google.cloud.automl.v1beta1.AutoMl.DeployModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.deploy - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.DeployModel"

ExportData

  • Method: google.cloud.automl.v1beta1.AutoMl.ExportData
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.export - ADMIN_READ
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ExportData"

GetDataset

  • Method: google.cloud.automl.v1beta1.AutoMl.GetDataset
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.GetDataset"

GetModel

  • Method: google.cloud.automl.v1beta1.AutoMl.GetModel
  • Audit log type: Data access
  • Permissions:
    • automl.models.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.GetModel"

ImportData

  • Method: google.cloud.automl.v1beta1.AutoMl.ImportData
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.import - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ImportData"

ListColumnSpecs

  • Method: google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs
  • Audit log type: Data access
  • Permissions:
    • automl.columnSpecs.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs"

ListDatasets

  • Method: google.cloud.automl.v1beta1.AutoMl.ListDatasets
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ListDatasets"

ListModelEvaluations

  • Method: google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations
  • Audit log type: Data access
  • Permissions:
    • automl.modelEvaluations.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations"

ListModels

  • Method: google.cloud.automl.v1beta1.AutoMl.ListModels
  • Audit log type: Data access
  • Permissions:
    • automl.models.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ListModels"

ListTableSpecs

  • Method: google.cloud.automl.v1beta1.AutoMl.ListTableSpecs
  • Audit log type: Data access
  • Permissions:
    • automl.tableSpecs.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.ListTableSpecs"

UndeployModel

  • Method: google.cloud.automl.v1beta1.AutoMl.UndeployModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.undeploy - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.UndeployModel"

UpdateColumnSpec

  • Method: google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec
  • Audit log type: Data access
  • Permissions:
    • automl.columnSpecs.update - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec"

UpdateDataset

  • Method: google.cloud.automl.v1beta1.AutoMl.UpdateDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.AutoMl.UpdateDataset"

google.cloud.automl.v1beta1.PredictionService

The following audit logs are associated with methods belonging to google.cloud.automl.v1beta1.PredictionService.

BatchPredict

  • Method: google.cloud.automl.v1beta1.PredictionService.BatchPredict
  • Audit log type: Data access
  • Permissions:
    • automl.models.predict - ADMIN_READ
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.PredictionService.BatchPredict"

Predict

  • Method: google.cloud.automl.v1beta1.PredictionService.Predict
  • Audit log type: Data access
  • Permissions:
    • automl.models.predict - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1beta1.PredictionService.Predict"

google.cloud.automl.v1p1beta.AutoMl

The following audit logs are associated with methods belonging to google.cloud.automl.v1p1beta.AutoMl.

CreateDataset

  • Method: google.cloud.automl.v1p1beta.AutoMl.CreateDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.CreateDataset"

CreateModel

  • Method: google.cloud.automl.v1p1beta.AutoMl.CreateModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.CreateModel"

DeleteDataset

  • Method: google.cloud.automl.v1p1beta.AutoMl.DeleteDataset
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.DeleteDataset"

DeleteModel

  • Method: google.cloud.automl.v1p1beta.AutoMl.DeleteModel
  • Audit log type: Admin activity
  • Permissions:
    • automl.models.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.DeleteModel"

ExportData

  • Method: google.cloud.automl.v1p1beta.AutoMl.ExportData
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.export - ADMIN_READ
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.ExportData"

GetDataset

  • Method: google.cloud.automl.v1p1beta.AutoMl.GetDataset
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.GetDataset"

GetModel

  • Method: google.cloud.automl.v1p1beta.AutoMl.GetModel
  • Audit log type: Data access
  • Permissions:
    • automl.models.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.GetModel"

GetTableSpec

  • Method: google.cloud.automl.v1p1beta.AutoMl.GetTableSpec
  • Audit log type: Data access
  • Permissions:
    • automl.tableSpecs.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.GetTableSpec"

ImportData

  • Method: google.cloud.automl.v1p1beta.AutoMl.ImportData
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.import - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.ImportData"

ListDatasets

  • Method: google.cloud.automl.v1p1beta.AutoMl.ListDatasets
  • Audit log type: Data access
  • Permissions:
    • automl.datasets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.ListDatasets"

ListModels

  • Method: google.cloud.automl.v1p1beta.AutoMl.ListModels
  • Audit log type: Data access
  • Permissions:
    • automl.models.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.AutoMl.ListModels"

google.cloud.automl.v1p1beta.PredictionService

The following audit logs are associated with methods belonging to google.cloud.automl.v1p1beta.PredictionService.

Predict

  • Method: google.cloud.automl.v1p1beta.PredictionService.Predict
  • Audit log type: Data access
  • Permissions:
    • automl.models.predict - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.automl.v1p1beta.PredictionService.Predict"

google.cloud.location.Locations

The following audit logs are associated with methods belonging to google.cloud.location.Locations.

ListLocations

  • Method: google.cloud.location.Locations.ListLocations
  • Audit log type: Data access
  • Permissions:
    • automl.locations.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.location.Locations.ListLocations"

google.iam.v1.IAMPolicy

The following audit logs are associated with methods belonging to google.iam.v1.IAMPolicy.

SetIamPolicy

  • Method: google.iam.v1.IAMPolicy.SetIamPolicy
  • Audit log type: Admin activity
  • Permissions:
    • automl.datasets.setIamPolicy - ADMIN_WRITE
    • automl.models.setIamPolicy - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.iam.v1.IAMPolicy.SetIamPolicy"

google.longrunning.Operations

The following audit logs are associated with methods belonging to google.longrunning.Operations.

CancelOperation

  • Method: google.longrunning.Operations.CancelOperation
  • Audit log type: Data access
  • Permissions:
    • automl.operations.cancel - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.CancelOperation"

GetOperation

  • Method: google.longrunning.Operations.GetOperation
  • Audit log type: Data access
  • Permissions:
    • automl.operations.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.GetOperation"

ListOperations

  • Method: google.longrunning.Operations.ListOperations
  • Audit log type: Data access
  • Permissions:
    • automl.operations.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.ListOperations"