Live Stream API 稽核記錄

本文列出 Live Stream API 的稽核方法。 Google Cloud 服務會產生稽核記錄,用來記錄 Google Cloud 資源中的管理和存取活動。如要進一步瞭解 Cloud 稽核記錄,請參閱以下內容:

服務名稱

如要查看 Live Stream API 稽核記錄,請按照下列步驟操作:

  1. 前往 Google Cloud 控制台的「Logs Explorer」頁面:

    前往 Logs Explorer

  2. 複製下列查詢並貼到「Logs Explorer」的「Query」欄位,然後點選「Run query」

        protoPayload.serviceName="livestream.googleapis.com"
      

依權限類型區分的方法

每個 IAM 權限都具有 type 屬性,其值為以下四個列舉值之一:ADMIN_READADMIN_WRITEDATA_READDATA_WRITE。呼叫方法時,Live Stream API 會產生一筆稽核記錄,類別取決於執行該方法所需權限的 type 屬性。若方法需要的 IAM 權限,type 屬性值為 DATA_READDATA_WRITEADMIN_READ,就會產生資料存取稽核記錄;若所需 IAM 權限的 type 屬性值為 ADMIN_WRITE,則會產生管理員活動稽核記錄。

下表列出的 API 方法中,如標有 (LRO) 字樣,表示為長時間執行的作業。這類方法通常會產生兩個稽核記錄項目,作業開始和結束時各一個。詳情請參閱「長時間執行的作業稽核記錄」。
權限類型 方法
ADMIN_READ google.cloud.video.livestream.v1.LivestreamService.GetAsset
google.cloud.video.livestream.v1.LivestreamService.GetChannel
google.cloud.video.livestream.v1.LivestreamService.GetClip
google.cloud.video.livestream.v1.LivestreamService.GetDvrSession
google.cloud.video.livestream.v1.LivestreamService.GetEvent
google.cloud.video.livestream.v1.LivestreamService.GetInput
google.cloud.video.livestream.v1.LivestreamService.GetPool
google.cloud.video.livestream.v1.LivestreamService.ListAssets
google.cloud.video.livestream.v1.LivestreamService.ListChannels
google.cloud.video.livestream.v1.LivestreamService.ListClips
google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions
google.cloud.video.livestream.v1.LivestreamService.ListEvents
google.cloud.video.livestream.v1.LivestreamService.ListInputs
google.longrunning.Operations.GetOperation
google.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.CreateEvent
google.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.DeleteEvent
google.cloud.video.livestream.v1.LivestreamService.DeleteInput (LRO)
google.cloud.video.livestream.v1.LivestreamService.StartChannel (LRO)
google.cloud.video.livestream.v1.LivestreamService.StartDistribution (LRO)
google.cloud.video.livestream.v1.LivestreamService.StopChannel (LRO)
google.cloud.video.livestream.v1.LivestreamService.StopDistribution (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.CancelOperation
google.longrunning.Operations.DeleteOperation
DATA_READ google.cloud.video.livestream.v1.LivestreamService.PreviewInput

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"

PreviewInput

  • 方法google.cloud.video.livestream.v1.LivestreamService.PreviewInput
  • 稽核記錄類型資料存取
  • 權限
    • livestream.inputs.preview - DATA_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件 protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.PreviewInput"

StartChannel

  • 方法google.cloud.video.livestream.v1.LivestreamService.StartChannel
  • 稽核記錄類型管理員活動
  • 權限
    • livestream.channels.start - ADMIN_WRITE
  • 方法的作業種類長時間執行的作業
  • 篩選條件 protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StartChannel"

StartDistribution

  • 方法google.cloud.video.livestream.v1.LivestreamService.StartDistribution
  • 稽核記錄類型管理員活動
  • 權限
    • livestream.channels.startdistribution - ADMIN_WRITE
  • 方法的作業種類長時間執行的作業
  • 篩選條件 protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StartDistribution"

StopChannel

  • 方法google.cloud.video.livestream.v1.LivestreamService.StopChannel
  • 稽核記錄類型管理員活動
  • 權限
    • livestream.channels.stop - ADMIN_WRITE
  • 方法的作業種類長時間執行的作業
  • 篩選條件 protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StopChannel"

StopDistribution

  • 方法google.cloud.video.livestream.v1.LivestreamService.StopDistribution
  • 稽核記錄類型管理員活動
  • 權限
    • livestream.channels.stopdistribution - ADMIN_WRITE
  • 方法的作業種類長時間執行的作業
  • 篩選條件 protoPayload.methodName="google.cloud.video.livestream.v1.LivestreamService.StopDistribution"

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.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation