# Google Cloud BigQuery Analytics Hub V1 Client - Class State (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class State.

State of the subscription.

Protobuf type `google.cloud.bigquery.analyticshub.v1.Subscription.State`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1 \\ Subscription

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### STATE_ACTIVE

    Value: 1

This subscription is active and the data is accessible.

Generated from protobuf enum `STATE_ACTIVE = 1;`

### STATE_STALE

    Value: 2

The data referenced by this subscription is out of date and should be
refreshed. This can happen when a data provider adds or removes datasets.

Generated from protobuf enum `STATE_STALE = 2;`

### STATE_INACTIVE

    Value: 3

This subscription has been cancelled or revoked and the data is no longer
accessible.

Generated from protobuf enum `STATE_INACTIVE = 3;`