# Google Cloud Network Security V1 Client - Class State (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class State.

The current state of a resource in the location.

Protobuf type `google.cloud.networksecurity.v1.InterceptLocation.State`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ InterceptLocation

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

State not set (this is not a valid state).

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The resource is ready and in sync in the location.

Generated from protobuf enum `ACTIVE = 1;`

### OUT_OF_SYNC

    Value: 2

The resource is out of sync in the location.

In most cases, this is a result of a transient issue within the system
(e.g. an inaccessible location) and the system is expected to recover
automatically.

Generated from protobuf enum `OUT_OF_SYNC = 2;`