Storage batch operations audit logging
This document describes audit logging for Storage Batch Operations. 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
Storage Batch Operations audit logs use the service name storagebatchoperations.googleapis.com
.
Filter for this service:
protoPayload.serviceName="storagebatchoperations.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,
Storage Batch Operations 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.storagebatchoperations.v1.StorageBatchOperations.GetJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation |
API interface audit logs
For information about how and which permissions are evaluated for each method,
see the Cloud Identity and Access Management documentation for Storage Batch Operations.
google.cloud.storagebatchoperations.v1.StorageBatchOperations
The following audit logs are associated with methods belonging to
google.cloud.storagebatchoperations.v1.StorageBatchOperations
.
CancelJob
- Method:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob
- Audit log type: Admin activity
- Permissions:
storagebatchoperations.jobs.cancel - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob"
CreateJob
- Method:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob
- Audit log type: Admin activity
- Permissions:
storagebatchoperations.jobs.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob"
DeleteJob
- Method:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob
- Audit log type: Admin activity
- Permissions:
storagebatchoperations.jobs.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob"
GetJob
- Method:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob
- Audit log type: Data access
- Permissions:
storagebatchoperations.jobs.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob"
ListJobs
- Method:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs
- Audit log type: Data access
- Permissions:
storagebatchoperations.jobs.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs"
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: Admin activity
- Permissions:
storagebatchoperations.operations.cancel - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Method:
google.longrunning.Operations.DeleteOperation
- Audit log type: Admin activity
- Permissions:
storagebatchoperations.operations.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Method:
google.longrunning.Operations.GetOperation
- Audit log type: Data access
- Permissions:
storagebatchoperations.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:
storagebatchoperations.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 significant 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.location.Locations.GetLocation
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.WaitOperation
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[],null,["# Storage batch operations audit logging\n\nThis document describes audit logging for Storage Batch Operations. Google Cloud services\ngenerate audit logs that record administrative and access activities within your Google Cloud resources.\nFor more information about Cloud Audit Logs, see the following:\n\n- [Types of audit logs](/logging/docs/audit#types)\n- [Audit log entry structure](/logging/docs/audit#audit_log_entry_structure)\n- [Storing and routing audit logs](/logging/docs/audit#storing_and_routing_audit_logs)\n- [Cloud Logging pricing summary](/stackdriver/pricing#logs-pricing-summary)\n- [Enable Data Access audit logs](/logging/docs/audit/configure-data-access)\n\n\u003cbr /\u003e\n\nService name\n------------\n\nStorage Batch Operations audit logs use the service name `storagebatchoperations.googleapis.com`.\nFilter for this service: \n\n```gdscript\n protoPayload.serviceName=\"storagebatchoperations.googleapis.com\"\n \n```\n\n\u003cbr /\u003e\n\nMethods by permission type\n--------------------------\n\nEach IAM permission has a `type` property, whose value is an enum\nthat can be one of four values: `ADMIN_READ`, `ADMIN_WRITE`,\n`DATA_READ`, or `DATA_WRITE`. When you call a method,\nStorage Batch Operations generates an audit log whose category is dependent on the\n`type` property of the permission required to perform the method.\n\nMethods that require an IAM permission with the `type` property value\nof `DATA_READ`, `DATA_WRITE`, or `ADMIN_READ` generate\n[Data Access](/logging/docs/audit#data-access) audit logs.\n\nMethods that require an IAM permission with the `type` property value\nof `ADMIN_WRITE` generate\n[Admin Activity](/logging/docs/audit#admin-activity) audit logs.\n\nAPI interface audit logs\n------------------------\n\nFor information about how and which permissions are evaluated for each method,\nsee the Cloud Identity and Access Management documentation for Storage Batch Operations.\n\n### `google.cloud.storagebatchoperations.v1.StorageBatchOperations`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.storagebatchoperations.v1.StorageBatchOperations`.\n\n#### `CancelJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.cancel - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob\"\n ` \n\n#### `CreateJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.create - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob\"\n ` \n\n#### `DeleteJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob\"\n ` \n\n#### `GetJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.jobs.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob\"\n ` \n\n#### `ListJobs`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.jobs.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs\"\n ` \n\n### `google.longrunning.Operations`\n\nThe following audit logs are associated with methods belonging to\n`google.longrunning.Operations`.\n\n#### `CancelOperation`\n\n- **Method** : `google.longrunning.Operations.CancelOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.operations.cancel - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.CancelOperation\"\n ` \n\n#### `DeleteOperation`\n\n- **Method** : `google.longrunning.Operations.DeleteOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.operations.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.DeleteOperation\"\n ` \n\n#### `GetOperation`\n\n- **Method** : `google.longrunning.Operations.GetOperation` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.operations.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.GetOperation\"\n ` \n\n#### `ListOperations`\n\n- **Method** : `google.longrunning.Operations.ListOperations` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.operations.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.ListOperations\"\n ` \n\nMethods that don't produce audit logs\n-------------------------------------\n\nA method might not produce audit logs for one or more of the following\nreasons:\n\n- It is a high volume method involving significant log generation and storage costs.\n- It has low auditing value.\n- Another audit or platform log already provides method coverage.\n\n\u003cbr /\u003e\n\nThe following methods don't produce audit logs:\n\n- `google.cloud.location.Locations.GetLocation`\n- `google.cloud.location.Locations.ListLocations`\n- `google.longrunning.Operations.WaitOperation`"]]