# Google Cloud BigQuery Analytics Hub V1 Client - Class PrimaryState (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 PrimaryState.

Primary state of the replica. Set only for the primary replica.

Protobuf type `google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1 \\ Listing \\ BigQueryDatasetSource \\ Replica

## Methods

### static::name

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

### static::value

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

## Constants

### PRIMARY_STATE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `PRIMARY_STATE_UNSPECIFIED = 0;`

### PRIMARY_REPLICA

    Value: 1

The replica is the primary replica.

Generated from protobuf enum `PRIMARY_REPLICA = 1;`