# Google Cloud Backup Dr V1 Client - Class AccessRestriction (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class AccessRestriction.

Holds the access restriction for the backup vault.

Protobuf type `google.cloud.backupdr.v1.BackupVault.AccessRestriction`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1 \\ BackupVault

## Methods

### static::name

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

### static::value

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

## Constants

### ACCESS_RESTRICTION_UNSPECIFIED

    Value: 0

Access restriction not set. If user does not provide any value or pass
this value, it will be changed to WITHIN_ORGANIZATION.

Generated from protobuf enum `ACCESS_RESTRICTION_UNSPECIFIED = 0;`

### WITHIN_PROJECT

    Value: 1

Access to or from resources outside your current project will be denied.

Generated from protobuf enum `WITHIN_PROJECT = 1;`

### WITHIN_ORGANIZATION

    Value: 2

Access to or from resources outside your current organization will be
denied.

Generated from protobuf enum `WITHIN_ORGANIZATION = 2;`

### UNRESTRICTED

    Value: 3

No access restriction.

Generated from protobuf enum `UNRESTRICTED = 3;`

### WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA

    Value: 4

Access to or from resources outside your current organization will be
denied except for backup appliance.

Generated from protobuf enum `WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA = 4;`