Controle de acesso com o IAM

Visão geral

A API Video Stitcher usa o gerenciamento de identidade e acesso (IAM) para controle de acesso.

É possível configurar o controle de acesso para a API Video Stitcher no nível do projeto. Por exemplo, conceda acesso para que os desenvolvedores possam listar e receber todas as chaves de CDN registradas em um projeto.

Para uma descrição detalhada do IAM e dos recursos dele, consulte a documentação do IAM. Especificamente, consulte a seção sobre como gerenciar as políticas do IAM.

Todos os métodos da API Video Stitcher exigem que o autor da chamada tenha as permissões necessárias. Para mais informações, consulte Permissões e Papéis.

Permissões

Nesta seção, resumimos as permissões da API Video Stitcher compatíveis com o IAM.

Permissões necessárias

As tabelas a seguir listam as permissões do IAM associadas à API Video Stitcher.

Método de chaves da CDN Permissões necessárias
cdnKeys.create videostitcher.cdnKeys.create no projeto Google Cloud pai.
cdnKeys.delete videostitcher.cdnKeys.delete no recurso de chave da CDN.
cdnKeys.get videostitcher.cdnKeys.get no recurso de chave da CDN.
cdnKeys.list videostitcher.cdnKeys.list no projeto Google Cloud pai.
cdnKeys.update videostitcher.cdnKeys.update no recurso de chave da CDN.
Método de configurações ativas Permissões necessárias
liveConfigs.create videostitcher.liveConfigs.create no projeto Google Cloud pai.
liveConfigs.delete videostitcher.liveConfigs.delete no recurso de configuração ativa.
liveConfigs.get videostitcher.liveConfigs.get no recurso de configuração ativa.
liveConfigs.list videostitcher.liveConfigs.list no projeto Google Cloud pai.
liveConfigs.update videostitcher.liveConfigs.update no recurso de configuração ativa.
Método de configurações de VOD Permissões necessárias
vodConfigs.create videostitcher.vodConfigs.create no projeto Google Cloud pai.
vodConfigs.delete videostitcher.vodConfigs.delete no recurso de configuração de VOD.
vodConfigs.get videostitcher.vodConfigs.get no recurso de configuração de VOD.
vodConfigs.list videostitcher.vodConfigs.list no projeto Google Cloud pai.
vodConfigs.update videostitcher.vodConfigs.update no recurso de configuração de VOD.
Método de slates Permissões necessárias
slates.create videostitcher.slates.create no projeto Google Cloud pai.
slates.delete videostitcher.slates.delete no recurso de quadro.
slates.get videostitcher.slates.get no recurso de slate.
slates.list videostitcher.slates.list no projeto Google Cloud pai.
slates.update videostitcher.slates.update no recurso de slate.
Método "Sessões ao vivo" Permissões necessárias
liveSessions.create videostitcher.liveSessions.create no projeto Google Cloud pai.
liveSessions.get videostitcher.liveSessions.get no recurso de sessão ao vivo.
Método de detalhes da tag de anúncio em tempo real Permissões necessárias
liveSessions.liveAdTagDetails.get videostitcher.liveAdTagDetails.get no recurso de detalhes da tag de anúncio em tempo real.
liveSessions.liveAdTagDetails.list videostitcher.liveAdTagDetails.list no projeto Google Cloud pai.
Método de sessões VOD sob demanda Permissões necessárias
vodSessions.create videostitcher.vodSessions.create no projeto Google Cloud pai.
vodSessions.get videostitcher.vodSessions.get no recurso da sessão VOD sob demanda.
Método de detalhes da tag de anúncio de VOD Permissões necessárias
vodSessions.vodAdTagDetails.get videostitcher.vodAdTagDetails.get no recurso de detalhes da tag de anúncio de VOD.
vodSessions.vodAdTagDetails.list videostitcher.vodAdTagDetails.list no projeto Google Cloud pai.
Método de detalhes do VOD sob demanda Permissões necessárias
vodSessions.vodStitchDetails.get videostitcher.vodStitchDetails.get no recurso de detalhes do VOD sob demanda.
vodSessions.vodStitchDetails.list videostitcher.vodStitchDetails.list no projeto Google Cloud pai.

Papéis

A tabela a seguir lista os papéis do IAM da API Video Stitcher, incluindo as permissões associadas a cada papel:

Papel do IAM Permissões

(roles/videostitcher.viewer)

Acesso somente leitura aos recursos de editor de vídeo.

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)

Acesso completo às sessões do editor de vídeo.

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)

Acesso completo a todos os recursos de editor de vídeo.

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

Para mais informações sobre papéis, consulte Noções básicas sobre papéis.

Recomendações

Para as contas responsáveis por criar sessões ao vivo ou de VOD, o papel precisa ser definido como roles/videostitcher.user.

Para as contas responsáveis por gerenciar e editar chaves de CDN, configurações de transmissão ao vivo, configurações VOD e quadros, o papel precisa ser definido como roles/videostitcher.admin.

Para as contas que só têm acesso para visualizar e não para editar ou criar chaves de CDN, configurações ao vivo, configurações de VOD, quadros ou sessões, a função precisa ser definida como roles/videostitcher.viewer.