本文說明 Live Stream API 的稽核記錄。 Google Cloud 服務會產生稽核記錄,記錄資源中的管理和存取活動。 Google Cloud 如要進一步瞭解 Cloud 稽核記錄,請參閱下列文章:
服務名稱
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 的身分與存取權管理說明文件。
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