Test Iam Permissions

Tests a set of permissions on the given bucket to see which, if any, are held by the caller

4 variables
2 variables

Tests a set of permissions on the given bucket to see which, if any, are held by the caller

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your data across Google Cloud Platform services
  • View your data across Google Cloud Platform services
  • Manage your data and permissions in Google Cloud Storage
  • View your data in Google Cloud Storage
  • Manage your data in Google Cloud Storage

Input

This building block consumes 4 input parameters

  = Parameter name
  = Format

bucket STRING Required

Name of a bucket

permissions STRING Required

Permissions to test

provisionalUserProject STRING

The project to be billed for this request if the target bucket is requester-pays bucket

userProject STRING

The project to be billed for this request. Required for Requester Pays buckets

Output

This building block provides 2 output parameters

  = Parameter name
  = Format

kind STRING

The kind of item this is

permissions[] STRING