Query Testable Permissions

Lists the permissions testable on a resource

3 variables
9 variables

Lists the permissions testable on a resource. A permission is testable if it can be tested for an identity on a resource

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

Input

This building block consumes 3 input parameters

  = Parameter name
  = Format

fullResourceName STRING

Required. The full resource name to query from the list of testable permissions.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project

pageToken STRING

Optional pagination token returned in an earlier QueryTestablePermissionsRequest

pageSize INTEGER

Optional limit on the number of permissions to include in the response

Output

This building block provides 9 output parameters

  = Parameter name
  = Format

permissions[] OBJECT

A permission which can be included by a role

permissions[].onlyInPredefinedRoles BOOLEAN

This permission can ONLY be used in predefined roles

permissions[].title STRING

The title of this Permission

permissions[].description STRING

A brief description of what this Permission is used for

permissions[].customRolesSupportLevel ENUMERATION

The current custom role support level

permissions[].apiDisabled BOOLEAN

The service API associated with the permission is not enabled

permissions[].stage ENUMERATION

The current launch stage of the permission

permissions[].name STRING

The name of this Permission

nextPageToken STRING

To retrieve the next page of results, set QueryTestableRolesRequest.page_token to this value