# 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.

The QueryTemplate lifecycle state.

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

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1 \\ QueryTemplate

## 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;`

### DRAFTED

    Value: 1

The QueryTemplate is in draft state.

Generated from protobuf enum `DRAFTED = 1;`

### PENDING

    Value: 2

The QueryTemplate is in pending state.

Generated from protobuf enum `PENDING = 2;`

### DELETED

    Value: 3

The QueryTemplate is in deleted state.

Generated from protobuf enum `DELETED = 3;`

### APPROVED

    Value: 4

The QueryTemplate is in approved state.

Generated from protobuf enum `APPROVED = 4;`