Translation Hub audit logging

This document describes audit logging for Translation Hub, which methods generate audit logs, details about the audit logs each method produces, and which methods do not produce audit logs, if any. Google Cloud generates audit logs that record administrative and access activities within your Google Cloud resources. For more information, see Cloud Audit Logs overview.

Service name

Translation Hub audit logs use the service name translationhub.googleapis.com.

Methods by permission type

Methods that check DATA_READ, DATA_WRITE, and ADMIN_READ permissions generate logs categorized as Data Access audit logs. Methods that check ADMIN_WRITE permissions generate logs categorized as 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

Audit logs for each API interface

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 section contains details about audit logs 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