REST Resource: userRolePermissions

Resource: UserRolePermission

Contains properties of a user role permission.

JSON representation
{
  "id": string,
  "name": string,
  "permissionGroupId": string,
  "availability": enum (UserRolePermissionAvailability),
  "kind": string
}
Fields
id

string (int64 format)

ID of this user role permission.

name

string

Name of this user role permission.

permissionGroupId

string (int64 format)

ID of the permission group that this user role permission belongs to.

availability

enum (UserRolePermissionAvailability)

Levels of availability for a user role permission.

kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#userRolePermission"

.

UserRolePermissionAvailability

Levels of availability for a user role permission.

Enums
NOT_AVAILABLE_BY_DEFAULT Not available by default.
ACCOUNT_BY_DEFAULT Available by default to accounts only.
SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT Available by default to both accounts and subaccounts.
ACCOUNT_ALWAYS Always available to accounts.
SUBACCOUNT_AND_ACCOUNT_ALWAYS Always available to both accounts and subaccounts.
USER_PROFILE_ONLY Available for user profile permissions only.

Methods

get

Gets one user role permission by ID.

list

Gets a list of user role permissions, possibly filtered.