Controllo dell'accesso con IAM

Panoramica

L'API Video Stitcher utilizza Identity and Access Management (IAM) per controllo dell'accesso.

Puoi configurare il controllo dell'accesso per l'API Video Stitcher a livello di progetto. Ad esempio, puoi concedere agli sviluppatori l'accesso per elencare e recuperare tutte le chiavi CDN registrate in un progetto.

Per una descrizione dettagliata di IAM e delle sue funzionalità, consulta la documentazione di IAM. in particolare la sezione sulla gestione dei criteri IAM.

Ogni metodo dell'API Video Stitcher richiede che il chiamante disponga delle autorizzazioni necessarie. Per saperne di più, consulta Autorizzazioni e Ruoli.

Autorizzazioni

Questa sezione riepiloga le autorizzazioni dell'API Video Stitcher supportate da IAM.

Autorizzazioni obbligatorie

Le tabelle riportate di seguito elencano le autorizzazioni IAM associate all'API Video Stitcher.

Metodo delle chiavi CDN Autorizzazioni obbligatorie
cdnKeys.create videostitcher.cdnKeys.create sul progetto Google Cloud padre.
cdnKeys.delete videostitcher.cdnKeys.delete sulla risorsa chiave CDN.
cdnKeys.get videostitcher.cdnKeys.get sulla risorsa chiave CDN.
cdnKeys.list videostitcher.cdnKeys.list sul progetto Google Cloud padre.
cdnKeys.update videostitcher.cdnKeys.update sulla risorsa chiave CDN.
Metodo di configurazione live Autorizzazioni obbligatorie
liveConfigs.create videostitcher.liveConfigs.create sul progetto Google Cloud padre.
liveConfigs.delete videostitcher.liveConfigs.delete nella risorsa di configurazione live.
liveConfigs.get videostitcher.liveConfigs.get nella risorsa di configurazione live.
liveConfigs.list videostitcher.liveConfigs.list sul progetto Google Cloud padre.
liveConfigs.update videostitcher.liveConfigs.update nella risorsa di configurazione live.
Metodo per le configurazioni VOD Autorizzazioni obbligatorie
vodConfigs.create videostitcher.vodConfigs.create sul progetto Google Cloud padre.
vodConfigs.delete videostitcher.vodConfigs.delete nella risorsa di configurazione VOD.
vodConfigs.get videostitcher.vodConfigs.get nella risorsa di configurazione VOD.
vodConfigs.list videostitcher.vodConfigs.list sul progetto Google Cloud padre.
vodConfigs.update videostitcher.vodConfigs.update nella risorsa di configurazione VOD.
Metodo Slates Autorizzazioni obbligatorie
slates.create videostitcher.slates.create sul progetto Google Cloud padre.
slates.delete videostitcher.slates.delete sulla risorsa lavagna.
slates.get videostitcher.slates.get sulla risorsa lavagna.
slates.list videostitcher.slates.list sul progetto Google Cloud padre.
slates.update videostitcher.slates.update sulla risorsa lavagna.
Metodo delle sessioni dal vivo Autorizzazioni obbligatorie
liveSessions.create videostitcher.liveSessions.create sul progetto Google Cloud padre.
liveSessions.get videostitcher.liveSessions.get nella risorsa della sessione live.
Metodo per i dettagli del tag annuncio live Autorizzazioni obbligatorie
liveSessions.liveAdTagDetails.get videostitcher.liveAdTagDetails.get nella risorsa dei dettagli del tag annuncio dal vivo.
liveSessions.liveAdTagDetails.list videostitcher.liveAdTagDetails.list sul progetto Google Cloud padre.
Metodo per sessioni VOD Autorizzazioni obbligatorie
vodSessions.create videostitcher.vodSessions.create sul progetto Google Cloud padre.
vodSessions.get videostitcher.vodSessions.get sulla risorsa della sessione VOD.
Metodo per i dettagli del tag annuncio VOD Autorizzazioni obbligatorie
vodSessions.vodAdTagDetails.get videostitcher.vodAdTagDetails.get nella risorsa dei dettagli del tag annuncio VOD.
vodSessions.vodAdTagDetails.list videostitcher.vodAdTagDetails.list sul progetto Google Cloud padre.
Metodo per i dettagli dello stitch VOD Autorizzazioni obbligatorie
vodSessions.vodStitchDetails.get videostitcher.vodStitchDetails.get nella risorsa dei dettagli dello stitch VOD.
vodSessions.vodStitchDetails.list videostitcher.vodStitchDetails.list sul progetto Google Cloud padre.

Ruoli

La tabella seguente elenca i ruoli IAM dell'API Video Stitcher, comprese le autorizzazioni associate a ciascun ruolo:

Ruolo IAM Autorizzazioni

(roles/videostitcher.viewer)

Accesso in sola lettura alle risorse di stitching 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)

Accesso completo alle sessioni di stitching 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)

Accesso completo a tutte le risorse di stitching video.

resourcemanager.projects.get

resourcemanager.projects.list

videostitcher.*

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

Per saperne di più sui ruoli, consulta Informazioni sui ruoli.

Consigli

Per gli account responsabili della creazione di sessioni live o VOD, il ruolo deve essere impostato su roles/videostitcher.user.

Per gli account responsabili della gestione e della modifica di chiavi CDN, configurazioni live, configurazioni VOD e slate, il ruolo deve essere impostato su roles/videostitcher.admin.

Per gli account con solo accesso in visualizzazione e non in modifica o creazione di chiavi CDN, configurazioni live, configurazioni VOD, slate o sessioni, il ruolo deve essere impostato su roles/videostitcher.viewer.