# Google Cloud Policy Simulator V1 Client - Class RolePermission (1.3.4)

1.3.4 (latest) 1.3.3 1.2.0 1.1.1 1.0.3 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class RolePermission.

Whether a role includes a specific permission.

Protobuf type `google.cloud.policysimulator.v1.BindingExplanation.RolePermission`

## Namespace

Google \\ Cloud \\ PolicySimulator \\ V1 \\ BindingExplanation

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ROLE_PERMISSION_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `ROLE_PERMISSION_UNSPECIFIED = 0;`

### ROLE_PERMISSION_INCLUDED

    Value: 1

The permission is included in the role.

Generated from protobuf enum `ROLE_PERMISSION_INCLUDED = 1;`

### ROLE_PERMISSION_NOT_INCLUDED

    Value: 2

The permission is not included in the role.

Generated from protobuf enum `ROLE_PERMISSION_NOT_INCLUDED = 2;`

### ROLE_PERMISSION_UNKNOWN_INFO_DENIED

    Value: 3

The user who created the
[Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay) is not
allowed to access the binding.

Generated from protobuf enum `ROLE_PERMISSION_UNKNOWN_INFO_DENIED = 3;`