本页面包含有关 contactcenteraiplatform.googleapis.com API 的 Cloud Audit 日志记录的信息。例如,在创建或删除 Contact Center AI 平台 (CCAI Platform) 时,系统会记录条目。
本页面未介绍针对 Contact Center AI 平台执行的用户操作的审核日志。例如,联络中心用户(管理员、经理、客服人员)登录或更改设置时。如需获取用户操作的审核日志,请与 Cloud 支持团队联系并提供以下信息:
Google Cloud CCAI Platform 联络中心的项目。
联络中心的 CCAI Platform 网址
CCAI Platform 联络中心的区域,例如
us-central1。您希望 Cloud 支持团队将日志上传到的 Cloud Storage 存储桶 (
gs://bucketname)。您需要向 Cloud 支持团队授予对此存储桶的写入权限,以便他们可以上传日志。在过去 30 天内,您希望获取日志的时间窗口的开始和结束时间(最好采用 UTC 时区)。超过 30 天的日志会被删除,无法提供。
本文档列出了 Google Cloud Contact Center as a Service 的受审核方法。 Google Cloud 服务 会生成审核日志,以记录资源中的管理和访问活动。 Google Cloud 如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
如需查看 Google Cloud Contact Center as a Service 审核日志,请执行以下操作:
在 Google Cloud 控制台中,前往 Logs Explorer 页面:
将以下查询复制并粘贴到Logs Explorer的查询字段中,然后点击运行查询。
protoPayload.serviceName="contactcenteraiplatform.googleapis.com"
方法(按权限类型)
每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。在您调用某个方法时,Google Cloud Contact Center as a Service 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。
需要 IAM 权限且 type 属性值
为 DATA_READ、DATA_WRITE 或 ADMIN_READ 的方法会生成
数据访问审核日志。
需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。
| 权限类型 | 方法 |
|---|---|
ADMIN_READ |
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCentergoogle.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCentersgoogle.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuotagoogle.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts (LRO)google.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter (LRO)google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter (LRO)google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter (LRO)google.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
API 接口审核日志
如需了解如何针对每种方法评估权限以及评估哪些权限,请参阅 Google Cloud Contact Center as a Service 的 Identity and Access Management 文档。
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform
以下审核日志与属于 google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform 的方法相关联。
CreateContactCenter
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter - 审核日志类型:管理员活动
- 权限:
contactcenteraiplatform.contactCenters.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter"
DeleteContactCenter
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter - 审核日志类型:管理员活动
- 权限:
contactcenteraiplatform.contactCenters.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter"
GetContactCenter
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCenter - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.contactCenters.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCenter"
ListContactCenters
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCenters - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.contactCenters.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCenters"
QueryContactCenterQuota
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuota - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.contactCenters.queryQuota - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuota"
UpdateContactCenter
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter - 审核日志类型:管理员活动
- 权限:
contactcenteraiplatform.contactCenters.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter"
google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling
以下审核日志与属于 google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling 的方法相关联。
GenerateShifts
- 方法:
google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.locations.generateShifts - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts"
google.longrunning.Operations
以下审核日志与属于 google.longrunning.Operations 的方法相关联。
CancelOperation
- 方法:
google.longrunning.Operations.CancelOperation - 审核日志类型:管理员活动
- 权限:
contactcenteraiplatform.operations.cancel - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- 方法:
google.longrunning.Operations.DeleteOperation - 审核日志类型:管理员活动
- 权限:
contactcenteraiplatform.operations.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- 方法:
google.longrunning.Operations.GetOperation - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.operations.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- 方法:
google.longrunning.Operations.ListOperations - 审核日志类型:数据访问
- 权限:
contactcenteraiplatform.operations.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
不会生成审核日志的方法
由于以下一个或多个原因,方法可能不会生成审核日志:
- 这是一种会产生大量日志的方法,日志生成和存储的费用高昂。
- 它的审核价值较低。
- 其他审核或平台日志已提供方法覆盖功能。
以下方法不会生成审核日志:
google.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.longrunning.Operations.WaitOperation