# Common Protos for Google Cloud APIs Client - Class PermissionType (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class PermissionType.

The list of valid permission types that can be checked.

Protobuf type `google.cloud.audit.AuthorizationInfo.PermissionType`

## Namespace

Google \\ Cloud \\ Audit \\ AuthorizationInfo

## Methods

### static::name

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

### static::value

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

## Constants

### PERMISSION_TYPE_UNSPECIFIED

    Value: 0

Default. Should not be used.

Generated from protobuf enum `PERMISSION_TYPE_UNSPECIFIED = 0;`

### ADMIN_READ

    Value: 1

Permissions that gate reading resource configuration or metadata.

Generated from protobuf enum `ADMIN_READ = 1;`

### ADMIN_WRITE

    Value: 2

Permissions that gate modification of resource configuration or metadata.

Generated from protobuf enum `ADMIN_WRITE = 2;`

### DATA_READ

    Value: 3

Permissions that gate reading user-provided data.

Generated from protobuf enum `DATA_READ = 3;`

### DATA_WRITE

    Value: 4

Permissions that gate writing user-provided data.

Generated from protobuf enum `DATA_WRITE = 4;`