Test Iam Permissions
|
|||||
|
|
Tests a set of permissions on the given object 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 6 input parameters
Name | Format | Description |
---|---|---|
bucket Required |
STRING |
Name of the bucket in which the object resides |
object Required |
STRING |
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts |
permissions Required |
STRING |
Permissions to test |
generation |
INTEGER |
If present, selects a specific revision of this object (as opposed to the latest version, the default) |
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 |
= Parameter name
= Format
bucket STRING Required Name of the bucket in which the object resides |
object STRING Required Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts |
permissions STRING Required Permissions to test |
generation INTEGER If present, selects a specific revision of this object (as opposed to the latest version, the default) |
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
Name | Format | Description |
---|---|---|
kind |
STRING |
The kind of item this is |
permissions[] |
STRING |
= Parameter name
= Format
kind STRING The kind of item this is |
permissions[] STRING |