# Google Cloud Assured Workloads V1 Client - Class RestrictionType (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.11.5 0.10.2 0.9.1 0.8.3 0.7.3 Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class RestrictionType.

The type of restriction.

Protobuf type `google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType`

## Namespace

Google \\ Cloud \\ AssuredWorkloads \\ V1 \\ RestrictAllowedResourcesRequest

## Methods

### static::name

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

### static::value

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

## Constants

### RESTRICTION_TYPE_UNSPECIFIED

    Value: 0

Unknown restriction type.

Generated from protobuf enum `RESTRICTION_TYPE_UNSPECIFIED = 0;`

### ALLOW_ALL_GCP_RESOURCES

    Value: 1

Allow the use all of all gcp products, irrespective of the compliance
posture. This effectively removes gcp.restrictServiceUsage OrgPolicy
on the AssuredWorkloads Folder.

Generated from protobuf enum `ALLOW_ALL_GCP_RESOURCES = 1;`

### ALLOW_COMPLIANT_RESOURCES

    Value: 2

Based on Workload's compliance regime, allowed list changes.

See - <https://cloud.google.com/assured-workloads/docs/supported-products>
for the list of supported resources.

Generated from protobuf enum `ALLOW_COMPLIANT_RESOURCES = 2;`