Cloud Profiler Audit Logging

This document describes audit logging for Cloud Profiler. Google Cloud servicesgenerate 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 Profiler audit logs use the service namecloudprofiler.googleapis.com.Filter for this service:

protoPayload.serviceName="cloudprofiler.googleapis.com"

Methods by permission type

Each IAM permission has atype property, whose value is an enumthat can be one of four values:ADMIN_READ,ADMIN_WRITE,DATA_READ, orDATA_WRITE. When you call a method,Cloud Profiler generates an audit log whose category is dependent on thetype property of the permission required to perform the method.Methods that require an IAM permission with thetype property valueofDATA_READ,DATA_WRITE, orADMIN_READ generateData Access audit logs.Methods that require an IAM permission with thetype property valueofADMIN_WRITE generateAdmin Activity audit logs.

API methods in the following list that are marked with (LRO) are long-running operations (LROs).These methods usually generate two audit log entries: one when the operation starts andanother when it ends. For more information seeAudit logs for long-running operations.
Permission typeMethods
DATA_READgoogle.devtools.cloudprofiler.v2.ExportService.ListProfiles
DATA_WRITEgoogle.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile
google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile
google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile

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 Profiler.

google.devtools.cloudprofiler.v2.ExportService

The following audit logs are associated with methods belonging togoogle.devtools.cloudprofiler.v2.ExportService.

ListProfiles

  • Method:google.devtools.cloudprofiler.v2.ExportService.ListProfiles
  • Audit log type:Data access
  • Permissions:
    • cloudprofiler.profiles.list - DATA_READ
  • Method is a long-running or streaming operation:No.
  • Filter for this method: protoPayload.methodName="google.devtools.cloudprofiler.v2.ExportService.ListProfiles"

google.devtools.cloudprofiler.v2.ProfilerService

The following audit logs are associated with methods belonging togoogle.devtools.cloudprofiler.v2.ProfilerService.

CreateOfflineProfile

  • Method:google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile
  • Audit log type:Data access
  • Permissions:
    • cloudprofiler.profiles.create - DATA_WRITE
  • Method is a long-running or streaming operation:No.
  • Filter for this method: protoPayload.methodName="google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile"

CreateProfile

  • Method:google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile
  • Audit log type:Data access
  • Permissions:
    • cloudprofiler.profiles.create - DATA_WRITE
  • Method is a long-running or streaming operation:No.
  • Filter for this method: protoPayload.methodName="google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile"

UpdateProfile

  • Method:google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile
  • Audit log type:Data access
  • Permissions:
    • cloudprofiler.profiles.update - DATA_WRITE
  • Method is a long-running or streaming operation:No.
  • Filter for this method: protoPayload.methodName="google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile"

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.