Committed use discounts audit logging
This document describes audit logging for Enterprise Purchasing API. 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
Notes
These APIs are only callable inside the Google Cloud Console, and cannot be called directly.
Service name
Enterprise Purchasing API audit logs use the service name enterprisepurchasing.googleapis.com
.
Filter for this service:
protoPayload.serviceName="enterprisepurchasing.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,
Enterprise Purchasing API 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.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveCuds google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveNodePricingInfo |
ADMIN_WRITE |
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.CreateGcveCud |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Enterprise Purchasing API.
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing
The following audit logs are associated with methods belonging to
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing
.
CreateGcveCud
- Method:
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.CreateGcveCud
- Audit log type: Admin activity
- Permissions:
enterprisepurchasing.gcveCuds.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.CreateGcveCud"
ListGcveCuds
- Method:
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveCuds
- Audit log type: Data access
- Permissions:
enterprisepurchasing.gcveCuds.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveCuds"
ListGcveNodePricingInfo
- Method:
google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveNodePricingInfo
- Audit log type: Data access
- Permissions:
enterprisepurchasing.gcveNodePricingInfo.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.enterprisepurchasing.v1alpha.EnterprisePurchasing.ListGcveNodePricingInfo"
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.location.Locations.GetLocation
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.WaitOperation