This document describes audit logging for Cloud Quotas. 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
Cloud Quotas audit logs use the service name cloudquotas.googleapis.com
.
Filter for this service:
protoPayload.serviceName="cloudquotas.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 Quotas 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.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences |
ADMIN_WRITE |
google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference |
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 Quotas.
google.api.cloudquotas.v1.CloudQuotas
The following audit logs are associated with methods belonging to
google.api.cloudquotas.v1.CloudQuotas
.
CreateQuotaPreference
- Method:
google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference
- Audit log type: Admin activity
- Permissions:
cloudquotas.quotas.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference"
GetQuotaInfo
- Method:
google.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo
- Audit log type: Data access
- Permissions:
cloudquotas.quotas.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo"
GetQuotaPreference
- Method:
google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference
- Audit log type: Data access
- Permissions:
cloudquotas.quotas.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference"
ListQuotaInfos
- Method:
google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos
- Audit log type: Data access
- Permissions:
cloudquotas.quotas.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos"
ListQuotaPreferences
- Method:
google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences
- Audit log type: Data access
- Permissions:
cloudquotas.quotas.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences"
UpdateQuotaPreference
- Method:
google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference
- Audit log type: Admin activity
- Permissions:
cloudquotas.quotas.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference"
System events
System Event audit logs are generated by GCP systems, not direct user action. For more information, see System Event audit logs.
Method Name | Filter For This Event | Notes |
---|---|---|
google.cloud.quotaadjuster.v1main.QuotaAdjusterService.AutoAdjustQuota |
protoPayload.methodName="google.cloud.quotaadjuster.v1main.QuotaAdjusterService.AutoAdjustQuota"
|