Cloud Run functions audit logging

This document describes audit logging for Cloud Run functions. 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

Cloud Run functions audit logs use the service name cloudfunctions.googleapis.com. Filter for this service:

    protoPayload.serviceName="cloudfunctions.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, Cloud Run functions 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 GetIamPolicy
google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl
google.cloud.functions.v1.CloudFunctionsService.GetFunction
google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy
google.cloud.functions.v1.CloudFunctionsService.ListFunctions
google.cloud.functions.v2.FunctionService.GenerateDownloadUrl
google.cloud.functions.v2.FunctionService.GetFunction
google.cloud.functions.v2.FunctionService.ListFunctions
google.cloud.functions.v2alpha.FunctionService.GenerateDownloadUrl
google.cloud.functions.v2alpha.FunctionService.GetFunction
google.cloud.functions.v2alpha.FunctionService.ListFunctions
google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl
google.cloud.functions.v2beta.FunctionService.GetFunction
google.cloud.functions.v2beta.FunctionService.ListFunctions
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE SetIamPolicy
google.cloud.functions.v1.CloudFunctionsService.CreateFunction
google.cloud.functions.v1.CloudFunctionsService.DeleteFunction
google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl
google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy
google.cloud.functions.v1.CloudFunctionsService.UpdateFunction
google.cloud.functions.v2.FunctionService.AbortFunctionUpgrade
google.cloud.functions.v2.FunctionService.CommitFunctionUpgrade
google.cloud.functions.v2.FunctionService.CreateFunction
google.cloud.functions.v2.FunctionService.DeleteFunction
google.cloud.functions.v2.FunctionService.GenerateUploadUrl
google.cloud.functions.v2.FunctionService.RedirectFunctionUpgradeTraffic
google.cloud.functions.v2.FunctionService.RollbackFunctionUpgradeTraffic
google.cloud.functions.v2.FunctionService.SetupFunctionUpgradeConfig
google.cloud.functions.v2.FunctionService.UpdateFunction
google.cloud.functions.v2alpha.FunctionService.AbortFunctionUpgrade
google.cloud.functions.v2alpha.FunctionService.CommitFunctionUpgrade
google.cloud.functions.v2alpha.FunctionService.CreateFunction
google.cloud.functions.v2alpha.FunctionService.DeleteFunction
google.cloud.functions.v2alpha.FunctionService.GenerateUploadUrl
google.cloud.functions.v2alpha.FunctionService.RedirectFunctionUpgradeTraffic
google.cloud.functions.v2alpha.FunctionService.RollbackFunctionUpgradeTraffic
google.cloud.functions.v2alpha.FunctionService.SetupFunctionUpgradeConfig
google.cloud.functions.v2alpha.FunctionService.UpdateFunction
google.cloud.functions.v2beta.FunctionService.AbortFunctionUpgrade
google.cloud.functions.v2beta.FunctionService.CommitFunctionUpgrade
google.cloud.functions.v2beta.FunctionService.CreateFunction
google.cloud.functions.v2beta.FunctionService.DeleteFunction
google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl
google.cloud.functions.v2beta.FunctionService.RedirectFunctionUpgradeTraffic
google.cloud.functions.v2beta.FunctionService.RollbackFunctionUpgradeTraffic
google.cloud.functions.v2beta.FunctionService.SetupFunctionUpgradeConfig
google.cloud.functions.v2beta.FunctionService.UpdateFunction
DATA_READ google.cloud.functions.v1.CloudFunctionsService.CallFunction

API interface audit logs

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

google.cloud.functions.v1.CloudFunctionsService

The following audit logs are associated with methods belonging to google.cloud.functions.v1.CloudFunctionsService.

CallFunction

  • Method: google.cloud.functions.v1.CloudFunctionsService.CallFunction
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.call - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.CallFunction"

CreateFunction

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

DeleteFunction

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

GenerateDownloadUrl

  • Method: google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.sourceCodeGet - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl"

GenerateUploadUrl

  • Method: google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.sourceCodeSet - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl"

GetFunction

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

GetIamPolicy

  • Method: google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.getIamPolicy - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy"

ListFunctions

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

SetIamPolicy

  • Method: google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.setIamPolicy - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy"

UpdateFunction

  • Method: google.cloud.functions.v1.CloudFunctionsService.UpdateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v1.CloudFunctionsService.UpdateFunction"

google.cloud.functions.v2.FunctionService

The following audit logs are associated with methods belonging to google.cloud.functions.v2.FunctionService.

AbortFunctionUpgrade

  • Method: google.cloud.functions.v2.FunctionService.AbortFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.AbortFunctionUpgrade"

CommitFunctionUpgrade

  • Method: google.cloud.functions.v2.FunctionService.CommitFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.CommitFunctionUpgrade"

CreateFunction

  • Method: google.cloud.functions.v2.FunctionService.CreateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.CreateFunction"

DeleteFunction

  • Method: google.cloud.functions.v2.FunctionService.DeleteFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.DeleteFunction"

GenerateDownloadUrl

  • Method: google.cloud.functions.v2.FunctionService.GenerateDownloadUrl
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.sourceCodeGet - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.GenerateDownloadUrl"

GenerateUploadUrl

  • Method: google.cloud.functions.v2.FunctionService.GenerateUploadUrl
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generateUploadUrl - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.GenerateUploadUrl"

GetFunction

  • Method: google.cloud.functions.v2.FunctionService.GetFunction
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.GetFunction"

ListFunctions

  • Method: google.cloud.functions.v2.FunctionService.ListFunctions
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.ListFunctions"

RedirectFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2.FunctionService.RedirectFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.RedirectFunctionUpgradeTraffic"

RollbackFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2.FunctionService.RollbackFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.RollbackFunctionUpgradeTraffic"

SetupFunctionUpgradeConfig

  • Method: google.cloud.functions.v2.FunctionService.SetupFunctionUpgradeConfig
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.SetupFunctionUpgradeConfig"

UpdateFunction

  • Method: google.cloud.functions.v2.FunctionService.UpdateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2.FunctionService.UpdateFunction"

google.cloud.functions.v2alpha.FunctionService

The following audit logs are associated with methods belonging to google.cloud.functions.v2alpha.FunctionService.

AbortFunctionUpgrade

  • Method: google.cloud.functions.v2alpha.FunctionService.AbortFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.AbortFunctionUpgrade"

CommitFunctionUpgrade

  • Method: google.cloud.functions.v2alpha.FunctionService.CommitFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.CommitFunctionUpgrade"

CreateFunction

  • Method: google.cloud.functions.v2alpha.FunctionService.CreateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.CreateFunction"

DeleteFunction

  • Method: google.cloud.functions.v2alpha.FunctionService.DeleteFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.DeleteFunction"

GenerateDownloadUrl

  • Method: google.cloud.functions.v2alpha.FunctionService.GenerateDownloadUrl
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.sourceCodeGet - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.GenerateDownloadUrl"

GenerateUploadUrl

  • Method: google.cloud.functions.v2alpha.FunctionService.GenerateUploadUrl
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generateUploadUrl - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.GenerateUploadUrl"

GetFunction

  • Method: google.cloud.functions.v2alpha.FunctionService.GetFunction
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.GetFunction"

ListFunctions

  • Method: google.cloud.functions.v2alpha.FunctionService.ListFunctions
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.ListFunctions"

RedirectFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2alpha.FunctionService.RedirectFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.RedirectFunctionUpgradeTraffic"

RollbackFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2alpha.FunctionService.RollbackFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.RollbackFunctionUpgradeTraffic"

SetupFunctionUpgradeConfig

  • Method: google.cloud.functions.v2alpha.FunctionService.SetupFunctionUpgradeConfig
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.SetupFunctionUpgradeConfig"

UpdateFunction

  • Method: google.cloud.functions.v2alpha.FunctionService.UpdateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2alpha.FunctionService.UpdateFunction"

google.cloud.functions.v2beta.FunctionService

The following audit logs are associated with methods belonging to google.cloud.functions.v2beta.FunctionService.

AbortFunctionUpgrade

  • Method: google.cloud.functions.v2beta.FunctionService.AbortFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.AbortFunctionUpgrade"

CommitFunctionUpgrade

  • Method: google.cloud.functions.v2beta.FunctionService.CommitFunctionUpgrade
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.CommitFunctionUpgrade"

CreateFunction

  • Method: google.cloud.functions.v2beta.FunctionService.CreateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.CreateFunction"

DeleteFunction

  • Method: google.cloud.functions.v2beta.FunctionService.DeleteFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.DeleteFunction"

GenerateDownloadUrl

  • Method: google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.sourceCodeGet - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl"

GenerateUploadUrl

  • Method: google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generateUploadUrl - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl"

GetFunction

  • Method: google.cloud.functions.v2beta.FunctionService.GetFunction
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.GetFunction"

ListFunctions

  • Method: google.cloud.functions.v2beta.FunctionService.ListFunctions
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.ListFunctions"

RedirectFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2beta.FunctionService.RedirectFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.RedirectFunctionUpgradeTraffic"

RollbackFunctionUpgradeTraffic

  • Method: google.cloud.functions.v2beta.FunctionService.RollbackFunctionUpgradeTraffic
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.RollbackFunctionUpgradeTraffic"

SetupFunctionUpgradeConfig

  • Method: google.cloud.functions.v2beta.FunctionService.SetupFunctionUpgradeConfig
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.generationUpgrade - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.SetupFunctionUpgradeConfig"

UpdateFunction

  • Method: google.cloud.functions.v2beta.FunctionService.UpdateFunction
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.functions.v2beta.FunctionService.UpdateFunction"

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:
    • cloudfunctions.locations.list - ADMIN_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.

GetIamPolicy

  • Method: GetIamPolicy
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.functions.getIamPolicy - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="GetIamPolicy"

SetIamPolicy

  • Method: SetIamPolicy
  • Audit log type: Admin activity
  • Permissions:
    • cloudfunctions.functions.setIamPolicy - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="SetIamPolicy"

google.longrunning.Operations

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

GetOperation

  • Method: google.longrunning.Operations.GetOperation
  • Audit log type: Data access
  • Permissions:
    • cloudfunctions.operations.get - ADMIN_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:
    • cloudfunctions.operations.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.ListOperations"

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

  • It is a high volume method involving signifcant log generation and storage costs.
  • It has low auditing value.
  • Another audit or platform log already provides method coverage.

The following methods don't produce audit logs:

  • google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions
  • google.longrunning.Operations.WaitOperation