This document describes audit logging for Translation Hub. 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
Translation Hub audit logs use the service name translationhub.googleapis.com
.
Filter for this service:
protoPayload.serviceName="translationhub.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,
Translation Hub 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.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 interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Translation Hub.
google.cloud.translationhub.v1.TranslationHubService
The following audit logs are associated with methods belonging to
google.cloud.translationhub.v1.TranslationHubService
.
BatchCreatePortalTranslationAssetPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.BatchCreatePortalTranslationAssetPermissions
- Audit log type: Admin activity
- Permissions:
translationhub.portalTranslationAssetPermissions.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchCreatePortalTranslationAssetPermissions"
BatchCreateUserPortalPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.BatchCreateUserPortalPermissions
- Audit log type: Admin activity
- Permissions:
translationhub.portalPermissions.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchCreateUserPortalPermissions"
BatchDeletePortalTranslationAssetPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.BatchDeletePortalTranslationAssetPermissions
- Audit log type: Admin activity
- Permissions:
translationhub.portalTranslationAssetPermissions.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchDeletePortalTranslationAssetPermissions"
BatchDeleteUserPortalPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.BatchDeleteUserPortalPermissions
- Audit log type: Admin activity
- Permissions:
translationhub.portalPermissions.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchDeleteUserPortalPermissions"
BatchGetPortals
- Method:
google.cloud.translationhub.v1.TranslationHubService.BatchGetPortals
- Audit log type: Data access
- Permissions:
translationhub.portals.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.BatchGetPortals"
CreatePortal
- Method:
google.cloud.translationhub.v1.TranslationHubService.CreatePortal
- Audit log type: Admin activity
- Permissions:
translationhub.portals.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreatePortal"
CreatePortalAsync
- Method:
google.cloud.translationhub.v1.TranslationHubService.CreatePortalAsync
- Audit log type: Admin activity
- Permissions:
translationhub.portals.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreatePortalAsync"
CreateTranslatorGroup
- Method:
google.cloud.translationhub.v1.TranslationHubService.CreateTranslatorGroup
- Audit log type: Admin activity
- Permissions:
translationhub.translatorGroups.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreateTranslatorGroup"
CreateUserProjectPermission
- Method:
google.cloud.translationhub.v1.TranslationHubService.CreateUserProjectPermission
- Audit log type: Admin activity
- Permissions:
translationhub.projectPermissions.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.CreateUserProjectPermission"
DeletePortal
- Method:
google.cloud.translationhub.v1.TranslationHubService.DeletePortal
- Audit log type: Admin activity
- Permissions:
translationhub.portals.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeletePortal"
DeleteTranslatorGroup
- Method:
google.cloud.translationhub.v1.TranslationHubService.DeleteTranslatorGroup
- Audit log type: Admin activity
- Permissions:
translationhub.translatorGroups.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeleteTranslatorGroup"
DeleteUserProjectPermission
- Method:
google.cloud.translationhub.v1.TranslationHubService.DeleteUserProjectPermission
- Audit log type: Admin activity
- Permissions:
translationhub.projectPermissions.delete - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.DeleteUserProjectPermission"
ExportUsageReport
- Method:
google.cloud.translationhub.v1.TranslationHubService.ExportUsageReport
- Audit log type: Data access
- Permissions:
translationhub.locations.exportUsage - ADMIN_READ
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ExportUsageReport"
GetMetricGroup
- Method:
google.cloud.translationhub.v1.TranslationHubService.GetMetricGroup
- Audit log type: Data access
- Permissions:
translationhub.metricGroups.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetMetricGroup"
GetPortal
- Method:
google.cloud.translationhub.v1.TranslationHubService.GetPortal
- Audit log type: Data access
- Permissions:
translationhub.portals.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetPortal"
GetTranslatorGroup
- Method:
google.cloud.translationhub.v1.TranslationHubService.GetTranslatorGroup
- Audit log type: Data access
- Permissions:
translationhub.translatorGroups.get - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.GetTranslatorGroup"
ImportUsers
- Method:
google.cloud.translationhub.v1.TranslationHubService.ImportUsers
- Audit log type: Admin activity
- Permissions:
translationhub.users.import - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ImportUsers"
ListPortalTranslationAssetPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.ListPortalTranslationAssetPermissions
- Audit log type: Data access
- Permissions:
translationhub.portalTranslationAssetPermissions.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListPortalTranslationAssetPermissions"
ListPortals
- Method:
google.cloud.translationhub.v1.TranslationHubService.ListPortals
- Audit log type: Data access
- Permissions:
translationhub.portals.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListPortals"
ListUserProjectPermissions
- Method:
google.cloud.translationhub.v1.TranslationHubService.ListUserProjectPermissions
- Audit log type: Data access
- Permissions:
translationhub.projectPermissions.list - ADMIN_READ
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.ListUserProjectPermissions"
UpdatePortal
- Method:
google.cloud.translationhub.v1.TranslationHubService.UpdatePortal
- Audit log type: Admin activity
- Permissions:
translationhub.portals.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdatePortal"
UpdateTranslatorGroup
- Method:
google.cloud.translationhub.v1.TranslationHubService.UpdateTranslatorGroup
- Audit log type: Admin activity
- Permissions:
translationhub.translatorGroups.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
Long-running operation
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdateTranslatorGroup"
UpdateUserProjectPermission
- Method:
google.cloud.translationhub.v1.TranslationHubService.UpdateUserProjectPermission
- Audit log type: Admin activity
- Permissions:
translationhub.projectPermissions.update - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="google.cloud.translationhub.v1.TranslationHubService.UpdateUserProjectPermission"
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.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