本文档介绍了 Live Stream API 的审核日志记录。 Google Cloud 服务会生成审核日志,以记录 Google Cloud 资源中的管理和访问活动。如需详细了解 Cloud Audit Logs,请参阅以下内容:
服务名称
Live Stream API 审核日志使用服务名称 livestream.googleapis.com。
针对此服务的过滤条件:
protoPayload.serviceName="livestream.googleapis.com"
方法(按权限类型)
 每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。在您调用某个方法时,Live Stream API 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。需要 IAM 权限且 type 属性值为 DATA_READ、DATA_WRITE 或 ADMIN_READ 的方法会生成数据访问审核日志。需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。
| 权限类型 | 方法 | 
|---|---|
ADMIN_READ | 
    google.cloud.video.livestream.v1.LivestreamService.GetAssetgoogle.cloud.video.livestream.v1.LivestreamService.GetChannelgoogle.cloud.video.livestream.v1.LivestreamService.GetClipgoogle.cloud.video.livestream.v1.LivestreamService.GetDvrSessiongoogle.cloud.video.livestream.v1.LivestreamService.GetEventgoogle.cloud.video.livestream.v1.LivestreamService.GetInputgoogle.cloud.video.livestream.v1.LivestreamService.GetPoolgoogle.cloud.video.livestream.v1.LivestreamService.ListAssetsgoogle.cloud.video.livestream.v1.LivestreamService.ListChannelsgoogle.cloud.video.livestream.v1.LivestreamService.ListClipsgoogle.cloud.video.livestream.v1.LivestreamService.ListDvrSessionsgoogle.cloud.video.livestream.v1.LivestreamService.ListEventsgoogle.cloud.video.livestream.v1.LivestreamService.ListInputsgoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations | 
  
ADMIN_WRITE | 
    google.cloud.video.livestream.v1.LivestreamService.CreateAsset (LRO)google.cloud.video.livestream.v1.LivestreamService.CreateChannel (LRO)google.cloud.video.livestream.v1.LivestreamService.CreateClip (LRO)google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession (LRO)google.cloud.video.livestream.v1.LivestreamService.CreateEventgoogle.cloud.video.livestream.v1.LivestreamService.CreateInput (LRO)google.cloud.video.livestream.v1.LivestreamService.DeleteAsset (LRO)google.cloud.video.livestream.v1.LivestreamService.DeleteChannel (LRO)google.cloud.video.livestream.v1.LivestreamService.DeleteClip (LRO)google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession (LRO)google.cloud.video.livestream.v1.LivestreamService.DeleteEventgoogle.cloud.video.livestream.v1.LivestreamService.DeleteInput (LRO)google.cloud.video.livestream.v1.LivestreamService.StartChannel (LRO)google.cloud.video.livestream.v1.LivestreamService.StopChannel (LRO)google.cloud.video.livestream.v1.LivestreamService.UpdateChannel (LRO)google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession (LRO)google.cloud.video.livestream.v1.LivestreamService.UpdateInput (LRO)google.cloud.video.livestream.v1.LivestreamService.UpdatePool (LRO)google.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation | 
  
API 接口审核日志
如需了解如何针对每种方法评估权限以及评估哪些权限,请参阅 Live Stream API 的 Identity and Access Management 文档。
google.cloud.video.livestream.v1.LivestreamService
以下审核日志与属于 google.cloud.video.livestream.v1.LivestreamService 的方法相关联。
CreateAsset
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateAsset - 审核日志类型:管理员活动
 - 权限:
livestream.assets.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateAsset" 
CreateChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateChannel - 审核日志类型:管理员活动
 - 权限:
livestream.channels.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateChannel" 
CreateClip
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateClip - 审核日志类型:管理员活动
 - 权限:
livestream.clips.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateClip" 
CreateDvrSession
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession - 审核日志类型:管理员活动
 - 权限:
livestream.dvrSessions.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession" 
CreateEvent
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateEvent - 审核日志类型:管理员活动
 - 权限:
livestream.events.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateEvent" 
CreateInput
- 方法:
google.cloud.video.livestream.v1.LivestreamService.CreateInput - 审核日志类型:管理员活动
 - 权限:
livestream.inputs.create - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.CreateInput" 
DeleteAsset
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteAsset - 审核日志类型:管理员活动
 - 权限:
livestream.assets.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteAsset" 
DeleteChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteChannel - 审核日志类型:管理员活动
 - 权限:
livestream.channels.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteChannel" 
DeleteClip
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteClip - 审核日志类型:管理员活动
 - 权限:
livestream.clips.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteClip" 
DeleteDvrSession
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession - 审核日志类型:管理员活动
 - 权限:
livestream.dvrSessions.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession" 
DeleteEvent
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteEvent - 审核日志类型:管理员活动
 - 权限:
livestream.events.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteEvent" 
DeleteInput
- 方法:
google.cloud.video.livestream.v1.LivestreamService.DeleteInput - 审核日志类型:管理员活动
 - 权限:
livestream.inputs.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.DeleteInput" 
GetAsset
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetAsset - 审核日志类型:数据访问
 - 权限:
livestream.assets.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetAsset" 
GetChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetChannel - 审核日志类型:数据访问
 - 权限:
livestream.channels.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetChannel" 
GetClip
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetClip - 审核日志类型:数据访问
 - 权限:
livestream.clips.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetClip" 
GetDvrSession
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetDvrSession - 审核日志类型:数据访问
 - 权限:
livestream.dvrSessions.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetDvrSession" 
GetEvent
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetEvent - 审核日志类型:数据访问
 - 权限:
livestream.events.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetEvent" 
GetInput
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetInput - 审核日志类型:数据访问
 - 权限:
livestream.inputs.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetInput" 
GetPool
- 方法:
google.cloud.video.livestream.v1.LivestreamService.GetPool - 审核日志类型:数据访问
 - 权限:
livestream.pools.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.GetPool" 
ListAssets
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListAssets - 审核日志类型:数据访问
 - 权限:
livestream.assets.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListAssets" 
ListChannels
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListChannels - 审核日志类型:数据访问
 - 权限:
livestream.channels.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListChannels" 
ListClips
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListClips - 审核日志类型:数据访问
 - 权限:
livestream.clips.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListClips" 
ListDvrSessions
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions - 审核日志类型:数据访问
 - 权限:
livestream.dvrSessions.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions" 
ListEvents
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListEvents - 审核日志类型:数据访问
 - 权限:
livestream.events.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListEvents" 
ListInputs
- 方法:
google.cloud.video.livestream.v1.LivestreamService.ListInputs - 审核日志类型:数据访问
 - 权限:
livestream.inputs.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.ListInputs" 
StartChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.StartChannel - 审核日志类型:管理员活动
 - 权限:
livestream.channels.start - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StartChannel" 
StopChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.StopChannel - 审核日志类型:管理员活动
 - 权限:
livestream.channels.stop - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StopChannel" 
UpdateChannel
- 方法:
google.cloud.video.livestream.v1.LivestreamService.UpdateChannel - 审核日志类型:管理员活动
 - 权限:
livestream.channels.update - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.UpdateChannel" 
UpdateDvrSession
- 方法:
google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession - 审核日志类型:管理员活动
 - 权限:
livestream.dvrSessions.update - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession" 
UpdateInput
- 方法:
google.cloud.video.livestream.v1.LivestreamService.UpdateInput - 审核日志类型:管理员活动
 - 权限:
livestream.inputs.update - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.UpdateInput" 
UpdatePool
- 方法:
google.cloud.video.livestream.v1.LivestreamService.UpdatePool - 审核日志类型:管理员活动
 - 权限:
livestream.pools.update - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:长时间运行的操作
 - 此方法的过滤条件:
protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.UpdatePool" 
google.longrunning.Operations
以下审核日志与属于 google.longrunning.Operations 的方法相关联。
CancelOperation
- 方法:
google.longrunning.Operations.CancelOperation - 审核日志类型:管理员活动
 - 权限:
livestream.operations.cancel - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.CancelOperation" 
DeleteOperation
- 方法:
google.longrunning.Operations.DeleteOperation - 审核日志类型:管理员活动
 - 权限:
livestream.operations.delete - ADMIN_WRITE
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation" 
GetOperation
- 方法:
google.longrunning.Operations.GetOperation - 审核日志类型:数据访问
 - 权限:
livestream.operations.get - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.GetOperation" 
ListOperations
- 方法:
google.longrunning.Operations.ListOperations - 审核日志类型:数据访问
 - 权限:
livestream.operations.list - ADMIN_READ
 - 方法是长时间运行的操作或流式传输操作:否。
 - 此方法的过滤条件:
protoPayload.methodName="google.longrunning.Operations.ListOperations" 
不会生成审核日志的方法
由于以下一个或多个原因,方法可能不会生成审核日志:
- 这是一种高容量方法,涉及较高的日志生成和存储费用。
 - 它的审核价值较低。
 - 其他审核或平台日志已提供方法覆盖功能。
 
以下方法不会生成审核日志:
google.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.longrunning.Operations.WaitOperation