# Cloud Speech V2 Client - Class ConstraintType (2.5.1)

2.5.1 (latest) 2.5.0 2.4.0 2.3.0 2.2.1 2.1.1 2.0.1 1.20.1 1.19.2 1.18.3 1.16.0 1.15.0 1.14.3 1.13.1 1.12.0 1.11.2 1.10.0 1.9.1 1.8.0 1.7.0 Reference documentation and code samples for the Cloud Speech V2 Client class ConstraintType.

Describes the different types of constraints that can be applied on a
region.

Protobuf type `google.cloud.speech.v2.AccessMetadata.ConstraintType`

## Namespace

Google \\ Cloud \\ Speech \\ V2 \\ AccessMetadata

## Methods

### static::name

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

### static::value

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

## Constants

### CONSTRAINT_TYPE_UNSPECIFIED

    Value: 0

Unspecified constraint applied.

Generated from protobuf enum `CONSTRAINT_TYPE_UNSPECIFIED = 0;`

### RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT

    Value: 1

The project's org policy disallows the given region.

Generated from protobuf enum `RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT = 1;`