0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class EnforcementScope.

Defines the scope in which this policy's allowed_origins list is
enforced.

Protobuf type `google.cloud.ces.v1.EndpointControlPolicy.EnforcementScope`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ EndpointControlPolicy

## Methods

### static::name

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

### static::value

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

## Constants

### ENFORCEMENT_SCOPE_UNSPECIFIED

```php
Value: 0
```
Unspecified. This policy will be treated as VPCSC_ONLY.

Generated from protobuf enum `ENFORCEMENT_SCOPE_UNSPECIFIED = 0;`

### VPCSC_ONLY

```php
Value: 1
```
This policy applies only when VPC-SC is active.

Generated from protobuf enum `VPCSC_ONLY = 1;`

### ALWAYS

```php
Value: 2
```
This policy ALWAYS applies, regardless of VPC-SC status.

Generated from protobuf enum `ALWAYS = 2;`