# Google Cloud Org Policy V2 Client - Class ActionType (1.3.3)

1.3.3 (latest) 1.3.2 1.2.2 1.1.3 1.0.0 0.7.0 0.6.5 0.5.3 0.4.2 0.3.7 Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ActionType.

Allow or deny type.

Protobuf type `google.cloud.orgpolicy.v2.CustomConstraint.ActionType`

## Namespace

Google \\ Cloud \\ OrgPolicy \\ V2 \\ CustomConstraint

## Methods

### static::name

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

### static::value

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

## Constants

### ACTION_TYPE_UNSPECIFIED

    Value: 0

This is only used for distinguishing unset values and should never be
used. Results in an error.

Generated from protobuf enum `ACTION_TYPE_UNSPECIFIED = 0;`

### ALLOW

    Value: 1

Allowed action type.

Generated from protobuf enum `ALLOW = 1;`

### DENY

    Value: 2

Deny action type.

Generated from protobuf enum `DENY = 2;`