本文档介绍了 Translation Hub 的审核日志记录, 生成审核日志,详细了解每种方法生成的审核日志,以及 哪些方法不会生成审核日志(如果有)。Google Cloud 会生成审核日志,用于记录 Google Cloud 资源中的管理和访问活动。如需了解详情,请参阅 Cloud Audit Logs 概览。
服务名称
Translation Hub 审核日志使用服务名称 translationhub.googleapis.com
。
方法(按权限类型)
检查 DATA_READ
、DATA_WRITE
和 ADMIN_READ
权限的方法会生成归类为数据访问审核日志的日志。检查 ADMIN_WRITE
权限的方法会生成分类为管理员活动审核日志的日志。
权限类型 | 方法 |
---|---|
ADMIN_READ |
google.cloud.translationhub.v1.TranslationHubService.BatchGetPortals google.cloud.translationhub.v1.TranslationHubService.ExportUsageReport google.cloud.translationhub.v1.TranslationHubService.GetMetricGroup google.cloud.translationhub.v1.TranslationHubService.GetPortal google.cloud.translationhub.v1.TranslationHubService.GetTranslatorGroup google.cloud.translationhub.v1.TranslationHubService.ListPortalTranslationAssetPermissions google.cloud.translationhub.v1.TranslationHubService.ListPortals google.cloud.translationhub.v1.TranslationHubService.ListUserProjectPermissions |
ADMIN_WRITE |
google.cloud.translationhub.v1.TranslationHubService.BatchCreatePortalTranslationAssetPermissions google.cloud.translationhub.v1.TranslationHubService.BatchCreateUserPortalPermissions google.cloud.translationhub.v1.TranslationHubService.BatchDeletePortalTranslationAssetPermissions google.cloud.translationhub.v1.TranslationHubService.BatchDeleteUserPortalPermissions google.cloud.translationhub.v1.TranslationHubService.CreatePortal google.cloud.translationhub.v1.TranslationHubService.CreatePortalAsync google.cloud.translationhub.v1.TranslationHubService.CreateTranslatorGroup google.cloud.translationhub.v1.TranslationHubService.CreateUserProjectPermission google.cloud.translationhub.v1.TranslationHubService.DeletePortal google.cloud.translationhub.v1.TranslationHubService.DeleteTranslatorGroup google.cloud.translationhub.v1.TranslationHubService.DeleteUserProjectPermission google.cloud.translationhub.v1.TranslationHubService.ImportUsers google.cloud.translationhub.v1.TranslationHubService.UpdatePortal google.cloud.translationhub.v1.TranslationHubService.UpdateTranslatorGroup google.cloud.translationhub.v1.TranslationHubService.UpdateUserProjectPermission |
每个 API 接口的审核日志
如需了解每种方法的评估方式和权限, 请参阅 Translation Hub 的 Identity and Access Management 文档。
google.cloud.translationhub.v1.TranslationHubService
以下部分包含与属于 google.cloud.translationhub.v1.TranslationHubService
的方法关联的审核日志的详细信息。
BatchCreatePortalTranslationAssetPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.BatchCreatePortalTranslationAssetPermissions
- 审核日志类型:管理员活动
- 权限:
translationhub.portalTranslationAssetPermissions.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchCreatePortalTranslationAssetPermissions"
BatchCreateUserPortalPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.BatchCreateUserPortalPermissions
- 审核日志类型:管理员活动
- 权限:
translationhub.portalPermissions.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchCreateUserPortalPermissions"
BatchDeletePortalTranslationAssetPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.BatchDeletePortalTranslationAssetPermissions
- 审核日志类型:管理员活动
- 权限:
translationhub.portalTranslationAssetPermissions.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchDeletePortalTranslationAssetPermissions"
BatchDeleteUserPortalPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.BatchDeleteUserPortalPermissions
- 审核日志类型:管理员活动
- 权限:
translationhub.portalPermissions.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchDeleteUserPortalPermissions"
BatchGetPortals
- 方法:
google.cloud.translationhub.v1.TranslationHubService.BatchGetPortals
- 审核日志类型:数据访问
- 权限:
translationhub.portals.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchGetPortals"
CreatePortal
- 方法:
google.cloud.translationhub.v1.TranslationHubService.CreatePortal
- 审核日志类型:管理员活动
- 权限:
translationhub.portals.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreatePortal"
CreatePortalAsync
- 方法:
google.cloud.translationhub.v1.TranslationHubService.CreatePortalAsync
- 审核日志类型:管理员活动
- 权限:
translationhub.portals.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreatePortalAsync"
CreateTranslatorGroup
- 方法:
google.cloud.translationhub.v1.TranslationHubService.CreateTranslatorGroup
- 审核日志类型:管理员活动
- 权限:
translationhub.translatorGroups.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreateTranslatorGroup"
CreateUserProjectPermission
- 方法:
google.cloud.translationhub.v1.TranslationHubService.CreateUserProjectPermission
- 审核日志类型:管理员活动
- 权限:
translationhub.projectPermissions.create - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreateUserProjectPermission"
DeletePortal
- 方法:
google.cloud.translationhub.v1.TranslationHubService.DeletePortal
- 审核日志类型:管理员活动
- 权限:
translationhub.portals.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeletePortal"
DeleteTranslatorGroup
- 方法:
google.cloud.translationhub.v1.TranslationHubService.DeleteTranslatorGroup
- 审核日志类型:管理员活动
- 权限:
translationhub.translatorGroups.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeleteTranslatorGroup"
DeleteUserProjectPermission
- 方法:
google.cloud.translationhub.v1.TranslationHubService.DeleteUserProjectPermission
- 审核日志类型:管理员活动
- 权限:
translationhub.projectPermissions.delete - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeleteUserProjectPermission"
ExportUsageReport
- 方法:
google.cloud.translationhub.v1.TranslationHubService.ExportUsageReport
- 审核日志类型:数据访问
- 权限:
translationhub.locations.exportUsage - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ExportUsageReport"
GetMetricGroup
- 方法:
google.cloud.translationhub.v1.TranslationHubService.GetMetricGroup
- 审核日志类型:数据访问
- 权限:
translationhub.metricGroups.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetMetricGroup"
GetPortal
- 方法:
google.cloud.translationhub.v1.TranslationHubService.GetPortal
- 审核日志类型:数据访问
- 权限:
translationhub.portals.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetPortal"
GetTranslatorGroup
- 方法:
google.cloud.translationhub.v1.TranslationHubService.GetTranslatorGroup
- 审核日志类型:数据访问
- 权限:
translationhub.translatorGroups.get - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetTranslatorGroup"
ImportUsers
- 方法:
google.cloud.translationhub.v1.TranslationHubService.ImportUsers
- 审核日志类型:管理员活动
- 权限:
translationhub.users.import - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ImportUsers"
ListPortalTranslationAssetPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.ListPortalTranslationAssetPermissions
- 审核日志类型:数据访问
- 权限:
translationhub.portalTranslationAssetPermissions.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListPortalTranslationAssetPermissions"
ListPortals
- 方法:
google.cloud.translationhub.v1.TranslationHubService.ListPortals
- 审核日志类型:数据访问
- 权限:
translationhub.portals.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListPortals"
ListUserProjectPermissions
- 方法:
google.cloud.translationhub.v1.TranslationHubService.ListUserProjectPermissions
- 审核日志类型:数据访问
- 权限:
translationhub.projectPermissions.list - ADMIN_READ
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListUserProjectPermissions"
UpdatePortal
- 方法:
google.cloud.translationhub.v1.TranslationHubService.UpdatePortal
- 审核日志类型:管理员活动
- 权限:
translationhub.portals.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdatePortal"
UpdateTranslatorGroup
- 方法:
google.cloud.translationhub.v1.TranslationHubService.UpdateTranslatorGroup
- 审核日志类型:管理员活动
- 权限:
translationhub.translatorGroups.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:长时间运行的操作
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdateTranslatorGroup"
UpdateUserProjectPermission
- 方法:
google.cloud.translationhub.v1.TranslationHubService.UpdateUserProjectPermission
- 审核日志类型:管理员活动
- 权限:
translationhub.projectPermissions.update - ADMIN_WRITE
- 方法是长时间运行的操作或流式传输操作:否。
- 此方法的过滤条件:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdateUserProjectPermission"
不会生成审核日志的方法
由于以下一个或多个原因,方法可能不会生成审核日志:
- 这是一种高容量方法,涉及较高的日志生成和存储费用。
- 它的审核价值较低。
- 其他审核或平台日志已提供方法。
以下方法不会生成审核日志:
google.cloud.translationhub.v1.TranslationHubService.AuthenticateUser
google.cloud.translationhub.v1.TranslationHubService.CreateTranslationTemplate
google.cloud.translationhub.v1.TranslationHubService.CreateUserPortalPermission
google.cloud.translationhub.v1.TranslationHubService.DeleteProjectConfig
google.cloud.translationhub.v1.TranslationHubService.DeleteTranslationJob
google.cloud.translationhub.v1.TranslationHubService.DeleteTranslationTemplate
google.cloud.translationhub.v1.TranslationHubService.DisablePartnerService
google.cloud.translationhub.v1.TranslationHubService.EnablePartnerService
google.cloud.translationhub.v1.TranslationHubService.GetPostEditingJob
google.cloud.translationhub.v1.TranslationHubService.GetProjectConfig
google.cloud.translationhub.v1.TranslationHubService.GetTranslationJob
google.cloud.translationhub.v1.TranslationHubService.ListPartnerServices
google.cloud.translationhub.v1.TranslationHubService.ListPostEditingJobs
google.cloud.translationhub.v1.TranslationHubService.ListTranslationJobs
google.cloud.translationhub.v1.TranslationHubService.ListTranslationTemplates
google.cloud.translationhub.v1.TranslationHubService.ListTranslatorGroups
google.cloud.translationhub.v1.TranslationHubService.ListUserPortalPermissions
google.cloud.translationhub.v1.TranslationHubService.UpdatePortalTranslationAssetPermission
google.cloud.translationhub.v1.TranslationHubService.UpdateProjectConfig
google.cloud.translationhub.v1.TranslationHubService.UpdateTranslationTemplate
google.cloud.translationhub.v1alpha.TranslationHubService.AuthenticateUser
google.cloud.translationhub.v1alpha.TranslationHubService.CreateTranslationTemplate
google.cloud.translationhub.v1alpha.TranslationHubService.CreateUserPortalPermission
google.cloud.translationhub.v1alpha.TranslationHubService.DeleteProjectConfig
google.cloud.translationhub.v1alpha.TranslationHubService.DeleteTranslationJob
google.cloud.translationhub.v1alpha.TranslationHubService.DeleteTranslationTemplate
google.cloud.translationhub.v1alpha.TranslationHubService.DisablePartnerService
google.cloud.translationhub.v1alpha.TranslationHubService.EnablePartnerService
google.cloud.translationhub.v1alpha.TranslationHubService.GetPostEditingJob
google.cloud.translationhub.v1alpha.TranslationHubService.GetProjectConfig
google.cloud.translationhub.v1alpha.TranslationHubService.GetTranslationJob
google.cloud.translationhub.v1alpha.TranslationHubService.ListPartnerServices
google.cloud.translationhub.v1alpha.TranslationHubService.ListPostEditingJobs
google.cloud.translationhub.v1alpha.TranslationHubService.ListTranslationJobs
google.cloud.translationhub.v1alpha.TranslationHubService.ListTranslationTemplates
google.cloud.translationhub.v1alpha.TranslationHubService.ListTranslatorGroups
google.cloud.translationhub.v1alpha.TranslationHubService.ListUserPortalPermissions
google.cloud.translationhub.v1alpha.TranslationHubService.UpdatePortalTranslationAssetPermission
google.cloud.translationhub.v1alpha.TranslationHubService.UpdateProjectConfig
google.cloud.translationhub.v1alpha.TranslationHubService.UpdateTranslationTemplate
google.cloud.translationhub.v1beta.TranslationHubService.AuthenticateUser
google.cloud.translationhub.v1beta.TranslationHubService.CreateTranslationTemplate
google.cloud.translationhub.v1beta.TranslationHubService.CreateUserPortalPermission
google.cloud.translationhub.v1beta.TranslationHubService.DeleteProjectConfig
google.cloud.translationhub.v1beta.TranslationHubService.DeleteTranslationJob
google.cloud.translationhub.v1beta.TranslationHubService.DeleteTranslationTemplate
google.cloud.translationhub.v1beta.TranslationHubService.DisablePartnerService
google.cloud.translationhub.v1beta.TranslationHubService.EnablePartnerService
google.cloud.translationhub.v1beta.TranslationHubService.GetPostEditingJob
google.cloud.translationhub.v1beta.TranslationHubService.GetProjectConfig
google.cloud.translationhub.v1beta.TranslationHubService.GetTranslationJob
google.cloud.translationhub.v1beta.TranslationHubService.ListPartnerServices
google.cloud.translationhub.v1beta.TranslationHubService.ListPostEditingJobs
google.cloud.translationhub.v1beta.TranslationHubService.ListTranslationJobs
google.cloud.translationhub.v1beta.TranslationHubService.ListTranslationTemplates
google.cloud.translationhub.v1beta.TranslationHubService.ListTranslatorGroups
google.cloud.translationhub.v1beta.TranslationHubService.ListUserPortalPermissions
google.cloud.translationhub.v1beta.TranslationHubService.UpdatePortalTranslationAssetPermission
google.cloud.translationhub.v1beta.TranslationHubService.UpdateProjectConfig
google.cloud.translationhub.v1beta.TranslationHubService.UpdateTranslationTemplate
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations