Kontrol akses dengan IAM

Ringkasan

Video Stitcher API menggunakan Identity and Access Management (IAM) untuk kontrol akses.

Anda dapat mengonfigurasi kontrol akses untuk Video Stitcher API di level project. Misalnya, Anda dapat memberikan akses kepada developer untuk mencantumkan dan mendapatkan semua kunci CDN yang terdaftar dalam project.

Untuk mengetahui deskripsi mendetail tentang IAM dan fitur-fiturnya, lihat dokumentasi IAM. Secara khusus, lihat bagian tentang mengelola kebijakan IAM.

Setiap metode Video Stitcher API mengharuskan pemanggil memiliki izin yang diperlukan. Untuk mengetahui informasi selengkapnya, lihat Izin dan Peran.

Izin

Bagian ini merangkum izin Video Stitcher API yang didukung IAM.

Izin yang diperlukan

Tabel berikut mencantumkan izin IAM yang terkait dengan Video Stitcher API.

Metode kunci CDN Izin yang diperlukan
cdnKeys.create videostitcher.cdnKeys.create di project Google Cloud induk.
cdnKeys.delete videostitcher.cdnKeys.delete pada resource kunci CDN.
cdnKeys.get videostitcher.cdnKeys.get pada resource kunci CDN.
cdnKeys.list videostitcher.cdnKeys.list di project Google Cloud induk.
cdnKeys.update videostitcher.cdnKeys.update pada resource kunci CDN.
Metode konfigurasi live Izin yang diperlukan
liveConfigs.create videostitcher.liveConfigs.create di project Google Cloud induk.
liveConfigs.delete videostitcher.liveConfigs.delete di resource konfigurasi live.
liveConfigs.get videostitcher.liveConfigs.get pada resource konfigurasi live.
liveConfigs.list videostitcher.liveConfigs.list di project Google Cloud induk.
liveConfigs.update videostitcher.liveConfigs.update pada resource konfigurasi live.
Metode konfigurasi VOD Izin yang diperlukan
vodConfigs.create videostitcher.vodConfigs.create di project Google Cloud induk.
vodConfigs.delete videostitcher.vodConfigs.delete di resource konfigurasi VOD.
vodConfigs.get videostitcher.vodConfigs.get di resource konfigurasi VOD.
vodConfigs.list videostitcher.vodConfigs.list di project Google Cloud induk.
vodConfigs.update videostitcher.vodConfigs.update di resource konfigurasi VOD.
Metode slate Izin yang diperlukan
slates.create videostitcher.slates.create di project Google Cloud induk.
slates.delete videostitcher.slates.delete pada resource slate.
slates.get videostitcher.slates.get pada resource slate.
slates.list videostitcher.slates.list di project Google Cloud induk.
slates.update videostitcher.slates.update pada resource slate.
Metode sesi live Izin yang diperlukan
liveSessions.create videostitcher.liveSessions.create di project Google Cloud induk.
liveSessions.get videostitcher.liveSessions.get di referensi sesi live.
Metode detail tag iklan live Izin yang diperlukan
liveSessions.liveAdTagDetails.get videostitcher.liveAdTagDetails.get di resource detail tag iklan live.
liveSessions.liveAdTagDetails.list videostitcher.liveAdTagDetails.list di project Google Cloud induk.
Metode sesi VOD Izin yang diperlukan
vodSessions.create videostitcher.vodSessions.create di project Google Cloud induk.
vodSessions.get videostitcher.vodSessions.get pada resource sesi VOD.
Metode detail tag iklan VOD Izin yang diperlukan
vodSessions.vodAdTagDetails.get videostitcher.vodAdTagDetails.get di resource detail tag iklan VOD.
vodSessions.vodAdTagDetails.list videostitcher.vodAdTagDetails.list di project Google Cloud induk.
Metode detail penggabungan VOD Izin yang diperlukan
vodSessions.vodStitchDetails.get videostitcher.vodStitchDetails.get di resource detail penggabungan VOD.
vodSessions.vodStitchDetails.list videostitcher.vodStitchDetails.list di project Google Cloud induk.

Peran

Tabel berikut mencantumkan peran IAM Video Stitcher API, termasuk izin yang terkait dengan setiap peran:

Peran IAM Izin

(roles/videostitcher.viewer)

Akses baca saja ke resource penggabung video.

resourcemanager.projects.get

resourcemanager.projects.list

videostitcher.cdnKeys.get

videostitcher.cdnKeys.list

videostitcher.liveAdTagDetails.*

  • videostitcher.liveAdTagDetails.get
  • videostitcher.liveAdTagDetails.list

videostitcher.liveConfigs.get

videostitcher.liveConfigs.list

videostitcher.liveSessions.get

videostitcher.operations.get

videostitcher.operations.list

videostitcher.slates.get

videostitcher.slates.list

videostitcher.vodAdTagDetails.*

  • videostitcher.vodAdTagDetails.get
  • videostitcher.vodAdTagDetails.list

videostitcher.vodConfigs.get

videostitcher.vodConfigs.list

videostitcher.vodSessions.get

videostitcher.vodStitchDetails.*

  • videostitcher.vodStitchDetails.get
  • videostitcher.vodStitchDetails.list

(roles/videostitcher.user)

Akses penuh ke sesi penggabung video.

resourcemanager.projects.get

resourcemanager.projects.list

videostitcher.liveSessions.*

  • videostitcher.liveSessions.create
  • videostitcher.liveSessions.get

videostitcher.vodSessions.*

  • videostitcher.vodSessions.create
  • videostitcher.vodSessions.get

(roles/videostitcher.admin)

Akses penuh ke semua resource penggabung video.

resourcemanager.projects.get

resourcemanager.projects.list

videostitcher.*

  • videostitcher.cdnKeys.create
  • videostitcher.cdnKeys.delete
  • videostitcher.cdnKeys.get
  • videostitcher.cdnKeys.list
  • videostitcher.cdnKeys.update
  • videostitcher.liveAdTagDetails.get
  • videostitcher.liveAdTagDetails.list
  • videostitcher.liveConfigs.create
  • videostitcher.liveConfigs.delete
  • videostitcher.liveConfigs.get
  • videostitcher.liveConfigs.list
  • videostitcher.liveSessions.create
  • videostitcher.liveSessions.get
  • videostitcher.operations.cancel
  • videostitcher.operations.delete
  • videostitcher.operations.get
  • videostitcher.operations.list
  • videostitcher.slates.create
  • videostitcher.slates.delete
  • videostitcher.slates.get
  • videostitcher.slates.list
  • videostitcher.slates.update
  • videostitcher.vodAdTagDetails.get
  • videostitcher.vodAdTagDetails.list
  • videostitcher.vodConfigs.create
  • videostitcher.vodConfigs.delete
  • videostitcher.vodConfigs.get
  • videostitcher.vodConfigs.list
  • videostitcher.vodConfigs.update
  • videostitcher.vodSessions.create
  • videostitcher.vodSessions.get
  • videostitcher.vodStitchDetails.get
  • videostitcher.vodStitchDetails.list

Untuk mengetahui informasi selengkapnya tentang peran, lihat Memahami peran.

Rekomendasi

Untuk akun yang bertanggung jawab membuat sesi live atau VOD, peran harus ditetapkan ke roles/videostitcher.user.

Untuk akun yang bertanggung jawab mengelola dan mengedit kunci CDN, konfigurasi live, konfigurasi VOD, dan slate, peran harus ditetapkan ke roles/videostitcher.admin.

Untuk akun yang hanya memiliki akses untuk melihat, bukan mengedit atau membuat kunci CDN, konfigurasi live, konfigurasi VOD, slate, atau sesi, peran harus ditetapkan ke roles/videostitcher.viewer.